Hi,
Can someone please point me to a repository for u-boot and x-loader
(MLO) which is supposed to work with a beagle-xm Rev. C.
I mean I would like to have networking up and running in u-boot
(booting kernel over tftp and getting rootfs over nfs) and also be
able to load a kernel+rootfs from an SD card.
I'm using a 3.1 mainline kernel.
Maybe "known to work" tags would also be useful.
So far I tried various Angstrom/Narcissus images (and the MLO,u-boot
in there),
http://www.angstrom-distribution.org/demo/beagleboard/MLO
http://www.angstrom-distribution.org/demo/beagleboard/u-boot.bin
http://www.angstrom-distribution.org/demo/beagleboard/
Angstrom-Beagleboard-demo-image-glibc-ipk-2011.1-
beagleboard.rootfs.tar.bz2
git://gitorious.org/x-loader/x-loader.git commit
ce2dc2f1edf152d681c732f378e2bd464d78050f
git://github.com/koenkooi/u-boot.git commit
cf806e40bbd10cee3353cdcb4fb7b1723ca4ef76
git://git.denx.de/u-boot.git commit
f1f441afc41083e54775e6efe21b2c059e80b8f7
In many cases that's all I see:
Texas Instruments X-Loader 1.5.1 (Oct 24 2011 - 23:55:51)
Beagle xM
Reading boot sector
Loading u-boot.bin from mmc
(stuck here)
When I use git://github.com/koenkooi/u-boot.git I get:
U-Boot 2011.06-not-mainline-student-00000-gcf806e4 (Jan 10 2012 -
18:59:11)
OMAP3630/3730-GP ES2.1, 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 C
No EEPROM on expansion board
Die ID #1c0400229ff800000163810c0f033025
Net: Net Initialization Skipped
No ethernet found.
Hit any key to stop autoboot: 0
OMAP3 beagleboard.org # usb start
(Re)start USB...
USB: Register 1313 NbrPorts 3
USB EHCI 1.00
scanning bus for devices...
(stuck here)
Please advise.
Regards,
Robert
Why not check the angstrom buildsystem?
Hi,
> Maybe "known to work" tags would also be useful.
Why not check the angstrom buildsystem?
Because the MLO/u-boot I get from various narcissus images produces
this:
Texas Instruments X-Loader 1.5.1 (Oct 24 2011 - 23:55:51)
Beagle xM
Reading boot sector
Loading u-boot.bin from mmc
(stuck here)
Regards,
Robert
Hi,
> > Maybe "known to work" tags would also be useful.
> Why not check the angstrom buildsystem?
I tried the following:
require u-boot-ti.inc
SPL_BINARY = "MLO"
PR = "r8"
COMPATIBLE_MACHINE = "(beagleboard|pandaboard|am3517-evm|am37x-evm|omap3evm)"
# Non-omap4 platforms need outer cache turned on
CACHEFIX = "file://2011.12/0008-Revert-armv7-disable-L2-cache-in-cleanup_before_linu.patch"
CACHEFIX_omap4 = ""
# File is board-specific, only copy when it will be correct.
FWENV_beagleboard = "file://fw_env.config"
FWENV = ""
SRC_URI = "git://git.denx.de/u-boot.git;protocol=git \
file://2011.12/0001-beagleboard-mount-rootfs-RO-instead-of-RW-at-boot.patch \
file://2011.12/0002-beagleboard-add-support-for-TCT-Beacon-board.patch \
file://2011.12/0003-beagleboard-add-support-for-scanning-loop-through-ex.patch \
This file has been truncated. show original
SRC_URI = "git://www.denx.de/git/u-boot.git;protocol=git \
file://2011.12/0001-beagleboard-mount-rootfs-RO-instead-of-RW-at-boot.patch
\
file://2011.12/0002-beagleboard-add-support-for-TCT-Beacon-board.patch
\
file://2011.12/0003-beagleboard-add-support-for-scanning-loop-through-ex.patch
\
file://2011.12/0004-omap4-common-mount-root-RO.patch \
file://2011.12/0005-omap4-common-use-ext4-by-default.patch
\
file://2011.12/U-Boot-OMAP-MMC-Add-delay-before-waiting-for-status.patch
\
"
# v2011.12 tag
No luck, did not work.
So I tried this:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/recipes-bsp/u-boot/u-boot_2011.06.bb?id=3994ad0c34b773b4887f1e6396ef86218a0e5c60
v2011.06
with
http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/recipes-bsp/u-boot/u-boot.inc?id=3994ad0c34b773b4887f1e6396ef86218a0e5c60
# GCC 4.5.1 builds unusable binaries using -Os, remove it from
OPTFLAGS
EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} OPTFLAGS='-O2'"
and at least I got a u-boot which is able to load a kernel.
All the network stuff from u-boot, which used to work some months ago
with git://github.com/koenkooi/u-boot.git seems to be bit rotten.
Regards,
Robert
Hi,
Maybe "known to work" tags would also be useful.
Why not check the angstrom buildsystem?
I tried the following:
meta-ti/recipes-bsp/u-boot/u-boot_2011.12.bb at master · Angstrom-distribution/meta-ti · GitHub
SRC_URI = "git://www.denx.de/git/u-boot.git;protocol=git \
file://2011.12/0001-beagleboard-mount-rootfs-RO-instead-of-RW-at-boot.patch
\
file://2011.12/0002-beagleboard-add-support-for-TCT-Beacon-board.patch
\
file://2011.12/0003-beagleboard-add-support-for-scanning-loop-through-ex.patch
\
file://2011.12/0004-omap4-common-mount-root-RO.patch \
file://2011.12/0005-omap4-common-use-ext4-by-default.patch
\
file://2011.12/U-Boot-OMAP-MMC-Add-delay-before-waiting-for-status.patch
\
"
# v2011.12 tag
No luck, did not work.
That works great on all my beagleboard when built with the angstrom toolchain. Maybe your toolchain is broken?
So I tried this:
u-boot_2011.06.bb « u-boot « recipes-bsp « meta - poky - Poky Build Tool and Metadata
v2011.06
with
u-boot.inc « u-boot « recipes-bsp « meta - poky - Poky Build Tool and Metadata
# GCC 4.5.1 builds unusable binaries using -Os, remove it from
OPTFLAGS
EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} OPTFLAGS='-O2'"
and at least I got a u-boot which is able to load a kernel.
All the network stuff from u-boot, which used to work some months ago
with git://github.com/koenkooi/u-boot.git seems to be bit rotten.
Networks works fine as well with the angstrom uboot binaries.
I figured in the meantime, that you can use u-boot mainline v2011.12
without and patched for the Beagle-xm rev C and compile __WITHOUT__
any special compiler tricks like replacing -Os with -O2.
Just copy MLO and u-boot.img, which are built from u-boot mainline
v2011.12, to the SD card and give it a try.
As Koen says even networking from u-boot is working out of the box
with it.
Regards,
Robert