beaglebone: mlo u-boot now load the kernel uimage and uinitrd, kernel still a bust

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/8/head
Robert Nelson 13 years ago
parent 36d83d0bb6
commit 0d02c01757

@ -36,6 +36,7 @@ unset SMSC95XX_MOREMEM
unset DO_UBOOT_DD
unset KERNEL_DEB
unset HAS_BEAGLE_ULCD
unset USE_UENV
SCRIPT_VERSION="1.11"
IN_VALID_UBOOT=1
@ -698,7 +699,13 @@ sudo mkimage -A arm -O linux -T kernel -C none -a ${ZRELADD} -e ${ZRELADD} -n ${
echo "debian netinstall.cmd"
cat ${TEMPDIR}/boot.scr/netinstall.cmd
sudo mkimage -A arm -O linux -T script -C none -a 0 -e 0 -n "Debian Installer" -d ${TEMPDIR}/boot.scr/netinstall.cmd ${TEMPDIR}/disk/boot.scr
if [ "${USE_UENV}" ] ; then
sudo cp -v ${DIR}/scripts/uEnv.txt/beaglebone.cmd ${TEMPDIR}/disk/uEnv.txt
cat ${TEMPDIR}/disk/uEnv.txt
else
sudo cp -v ${DIR}/scripts/uEnv.txt/uEnv.cmd ${TEMPDIR}/disk/uEnv.txt
fi
echo "boot.cmd"
cat ${TEMPDIR}/boot.scr/boot.cmd
@ -941,10 +948,14 @@ case "$UBOOT_TYPE" in
unset IN_VALID_UBOOT
DO_UBOOT=1
ABI_VER=10
SERIAL="ttyO2"
SERIAL="ttyO0"
is_omap
UIMAGE_ADDR="0x80007fc0"
UINITRD_ADDR="0x80807fc0"
USE_UENV=1
SERIAL_MODE=1
EXPERIMENTAL_KERNEL=1
;;
igepv2)

@ -0,0 +1,7 @@
bootfile=uImage.net
address_uimage=0x80007fc0
address_uinitrd=0x80807fc0
bootargs=earlyprintk console=ttyO0,115200n8 root=/dev/ram0 rw
mmc_load_uimage_deb=fatload mmc ${mmc_dev} ${address_uimage} ${bootfile}
mmc_load_uinitrd_deb=fatload mmc ${mmc_dev} ${address_uinitrd} uInitrd.net
mmc_load_uimage=run mmc_load_uimage_deb; run mmc_load_uinitrd_deb; run mmc_args; bootm ${address_uimage} ${address_uinitrd}
Loading…
Cancel
Save