[U-Boot] top of tree build fails for beagleboard

Jaya Kumar jayakumar.lkml at gmail.com
Fri Aug 26 13:50:47 CEST 2011


On Wed, Aug 24, 2011 at 8:16 PM, Aneesh V <aneesh at ti.com> wrote:
>
> There is already a fix in u-boot-arm for this.
>
> http://git.denx.de/?p=u-boot/u-boot-arm.git;a=commit;h=9ec6b678e7c17684cbe5cc0e521cad9ce7a2c281
>

Thanks Aneesh.

btw, in case anyone else is interested in making top of tree
u-boot-arm work with beagleboard/-xm, I should mention that it doesn't
work properly with bbtoys-wifi. Also, the default config provided in
the tree still uses ttyS2 whereas the newer omap kernels all use ttyO2
so the serial console goes quiet with top of tree u-boot.

Details:
echo makeubootarm_for_beaglexm ; git clone
git://git.denx.de/u-boot-arm.git u-boot-arm/ ;  make
CROSS_COMPILE=arm-eabi- distclean && make CROSS_COMPILE=arm-eabi-
omap3_beagle_config && make CROSS_COMPILE=arm-eabi-

with Linux 2.6.39 built via OE gives:

U-Boot 2011.06-07676-g5557e86 (Aug 25 2011 - 00:32:36)

OMAP3630/3730-GP ES2.0, CPU-OPP2, L3-165MHz, Max CPU Clock 1 Ghz
OMAP3 Beagle board + LPDDR/NAND
I2C:   ready
DRAM:  512 MiB
NAND:  0 MiB
MMC:   OMAP SD/MMC: 0
*** Warning - readenv() failed, using default environment

In:    serial
Out:   serial
Err:   serial
Beagle xM Rev A
Recognized BeagleBoardToys WiFi board
Die ID #298600019ff80000015eeaa10100301f
Hit any key to stop autoboot:  0
SD/MMC found on device 0
reading uEnv.txt

** Unable to read "uEnv.txt" from mmc 0:1 **
reading uImage

3331756 bytes read
Booting from mmc ...
## Booting kernel from Legacy Image at 82000000 ...
   Image Name:   Linux-2.6.39
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3331692 Bytes = 3.2 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

(goes quiet with this)

If I manually modify bootargs and set console=ttyO2, then boots
normally. But there seems to be a difference between u-boot-arm.git
and OE's u-boot since wifi doesn't work when using u-boot-arm.git.

Taking a quick look at OE's u-boot recipe shows:
$ ls /home/test/oe/sources/openembedded/recipes/u-boot/u-boot-git/beagleboard/
0001-OMAP3-Beagle-Pin-Mux-initialization-glitch-fix.patch
0007-OMAP3-Add-DSS-driver-for-OMAP3.patch
0013-OMAP3-BeagleBoard-updated-default-configuration.patch
0002-OMAP-Remove-omapfb.debug-y-from-Beagle-and-Overo-env.patch
0008-BeagleBoard-Added-userbutton-command.patch
0014-Corrected-LED-name-match-finding-avoiding-extraneous.patch
0003-omap3_beagle-enable-the-use-of-a-plain-text-file-nam.patch
0009-OMAP3-beagle-pass-expansionboard-name-in-bootargs.patch
0015-omap3_beagle-Switch-default-console-from-ttyS2-to-tt.patch
0004-OMAP3-BeagleBoard-Enable-pullups-on-i2c2.patch
0010-Enable-DSS-driver-for-Beagle.patch
0016-BeagleBoard-Load-kernel-via-MMC-ext2-not-fat.patch
0005-ARMV7-OMAP3-BeagleBoard-add-xM-rev-B-to-ID-table.patch
0011-Add-led-command.patch
0017-BeagleBoard-add-xM-rev-C-to-ID-table.patch
0006-OMAP3-BeagleBoard-add-more-expansionboard-IDs.patch
0012-BeagleBoard-Added-LED-driver.patch

Most of these patches seem to already be in u-boot-arm but clearly
something isn't merged yet. I'll try to figure it out if I have some
time. Let me know if this is also a solved issue and I missed
something.

Thanks,
jaya


More information about the U-Boot mailing list