[ANN][MINI2440] kernel (2.6.29-rcX) & u-boot git reposit

I’ve created two new git repositories for u-boot (derived from the openembedded tree) and linux kernel (straight on linus’s)

I pushed a first set of ‘clean’ patches to both trees, so normaly you can run a distro (I use openwrt for now for speed, but moving to openembedded as I type)

I tested u-boot pretty extensively and it works just fine; the kernel also ‘boots’ but I haven’t done any string testing on it.

I’m currently trying to figure out why any userland made with ‘glibc’ fails, there is an issue with some glibc and this particular architecture it seems.

Anyway, the URLs:

http://repo.or.cz/w/u-boot-openmoko/mini2440.git

and

http://repo.or.cz/w/linux-2.6/mini2440.git

Note that you will /need/ that u-boot to boot that kernel, I used the now official machine ID for this board (1999)

I pushed support for the 3.5" LCD, usb, etc etc. Also pumped the kernel version to 2.6.29-rc4…

I pushed the touchscreen support, including the various filtering policies to compensate for ADC errors.

Updated the git tree:

  • Pulled 2.6.29-rc5

  • Fixed the X/Y touchscreen coordinate

  • Added default triggers for LEDs ; 1: heartbeat (goes quicker as the board gets busy) 2: NAND access 3: MMC access

  • Added working on/off backlight control

  • Added (placeholder) PWM backlight control

  • Also updated the default config, make sure to use “make mini2440_defconfig”

Updated the kernel:

  • 2.6.29-rc6

  • Added support for the VGA adapter board , 1024x768, 800x600, 640x480

  • Added support for the 800x480 TFT LCD

  • Fixed the 320x240 timings for better contrast

  • Added support for the ‘mini2440=’ kernel command line parameter. This allows to use the same kernel for different board/screen size.

  • Added our sponsor LOGO (http://www.andahammer.com/ ← sparkfun partner !)

  • Some other minor changes

Hey there,

I’m pretty new on the scene and am having trouble getting the u-boot source to build for the mini2440 board. I’m running Ubuntu 8.10, checked out the git repo with “git clone”, and ran the following commands.

scott@SCOTTKLEINUBUNTU:/share/git$ git clone git://repo.or.cz/u-boot-openmoko/mini2440.git openmoko

Initialized empty Git repository in /share/git/openmoko/.git/

remote: Counting objects: 57495, done.

remote: Compressing objects: 100% (12894/12894), done.

remote: Total 57495 (delta 46254), reused 55507 (delta 44274)

Receiving objects: 100% (57495/57495), 24.38 MiB | 2001 KiB/s, done.

Resolving deltas: 100% (46254/46254), done.

Checking out files: 100% (5232/5232), done.

scott@SCOTTKLEINUBUNTU:/share/git$ cd openmoko/

scott@SCOTTKLEINUBUNTU:/share/git/openmoko$ make mini2440_config

Configuring for mini2440 board…

scott@SCOTTKLEINUBUNTU:/share/git/openmoko$ make

fatal: cannot describe ‘3481782476680c19a63dbd3a10fdc78d8ebad60b’

I did some checking on google but couldn’t find a concise answer. I’m not looking to alter the source, just wanted to build and use on my board if possible.

Any help is appreciated.

–sbk

for dir in tools examples api_examples ; do make -C $dir _depend ; done

make[1]: Entering directory `/share/git/openmoko/tools’

make[1]: Nothing to be done for `_depend’.

make[1]: Leaving directory `/share/git/openmoko/tools’

make[1]: Entering directory `/share/git/openmoko/examples’

make[1]: Nothing to be done for `_depend’.

make[1]: Leaving directory `/share/git/openmoko/examples’

make[1]: Entering directory `/share/git/openmoko/api_examples’

make[1]: Nothing to be done for `_depend’.

make[1]: Leaving directory `/share/git/openmoko/api_examples’

Generating include/autoconf.mk

arm-linux-gcc: include/autoconf.mk: No such file or directory

arm-linux-gcc: unrecognized option `-MQ’

arm-linux-gcc: Compilation of header file requested

make: *** [include/autoconf.mk] Error 1

I’ve created a blog where I post announces and related stuff on the linux support for that board.

Lately I got qemu support working, so you can boot your mini2440 arm9 binaries on your workstation!

http://bliterness.blogspot.com/

The software package for the mini has grown up again. Now I got a final 2.6.29 kernel, new qemu, new u-boot etc.

Grab it from the blog mentioned in the previous post…