Stop booting by Load Ramdisk

155 views
Skip to first unread message

Rustem Vafin

unread,
Apr 26, 2016, 4:48:56 AM4/26/16
to BeagleBoard

Hello.
I have BB rev C3, kingston mSD 8GB class 10

First, i prepared SD card

http://elinux.org/BeagleBoardDebian#Debian_.28jessie.29
sudo ./setup_sdcard.sh --mmc /dev/sdb --dtb omap3-beagle

Second, i upgraded uboot
http://elinux.org/BeagleBoardNAND#U-Boot_v2011.12_or_newer

Then i try to boot, stop booting by Load Ramdisk. No HDMI output.
 Help me with booting, please.

Console log:
U-Boot SPL 2016.03-00001-g54456ef (Mar 17 2016 - 16:31:02)
Trying to boot from NAND
SPL: Please implement spl_start_uboot() for your board
SPL: Direct Linux boot not active!


U-Boot 2016.03-00001-g54456ef (Mar 17 2016 - 16:31:02 -0500), Build: jenkins-github_Bootloader-Builder-351

OMAP3530-GP ES3.0, CPU-OPP2, L3-165MHz, Max CPU Clock 600 MHz
OMAP3 Beagle board + LPDDR/NAND
I2C:   ready
DRAM:  256 MiB
NAND:  256 MiB
MMC:   OMAP SD/MMC: 0
*** Warning - bad CRC, using default environment

Beagle Rev C1/C2/C3
Timed out in wait_for_event: status=1000
Check if pads/pull-ups of bus 1 are properly configured
No EEPROM on expansion board
Timed out in wait_for_bb: status=1000
No EEPROM on expansion board
OMAP die ID: 0400d01304013f790000000037240003
Net:   usb_ether
Error: usb_ether address not set.

Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
Checking for: /uEnv.txt ...
Checking for: /boot/uEnv.txt ...
295 bytes read in 40 ms (6.8 KiB/s)
Loaded environment from /boot/uEnv.txt
Checking if uname_r is set in /boot/uEnv.txt...
Running uname_boot ...
loading /boot/vmlinuz-4.5.0-armv7-x2 ...
5878216 bytes read in 473 ms (11.9 MiB/s)
loading /boot/dtbs/4.5.0-armv7-x2/omap3-beagle.dtb ...
107183 bytes read in 421 ms (248 KiB/s)
loading /boot/initrd.img-4.5.0-armv7-x2 ...
10403546 bytes read in 811 ms (12.2 MiB/s)
debug: [console=ttyO2,115200n8 root=UUID=26e687b2-0078-49b2-901f-5124edf835c3 ro rootfstype=ext4 rootwait musb_hdrc.fifo_mode=5 coherent_pool=1M quiet] ...
debug: [bootz 0x82000000 0x88080000:9ebeda 0x88000000] ...
Kernel image @ 0x82000000 [ 0x000000 - 0x59b1c8 ]
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Loading Ramdisk to 8f614000, end 8ffffeda ...
Environments:
arch=arm
args_mmc=run finduuid;setenv bootargs console=${console} ${optargs} root=PARTUUID=${uuid} ro rootfstype=${mmcrootfstype} ${musb} ${cmdline}
args_mmc_old=setenv bootargs console=${console} ${optargs} root=${oldroot} ro rootfstype=${mmcrootfstype} ${musb} ${cmdline}
args_mmc_uuid=setenv bootargs console=${console} ${optargs} root=UUID=${uuid} ro rootfstype=${mmcrootfstype} ${musb} ${cmdline}
args_netinstall=setenv bootargs ${netinstall_bootargs} ${optargs} ${cape_disable} ${cape_enable} root=/dev/ram rw ${musb} ${cmdline}
args_uenv_root=setenv bootargs console=${console} ${optargs} root=${uenv_root} ro rootfstype=${mmcrootfstype} ${musb} ${cmdline}
baudrate=115200
beaglerev=Cx
board=beagle
board_name=beagle
boot=${interface} dev ${mmcdev}; if ${interface} rescan; then echo SD/MMC found on device ${mmcdev};setenv bootpart ${mmcdev}:1; echo Checking for: /uEnv.txt ...;if test -e ${interface} ${bootpart} /uEnv.txt; then load ${interface} ${bootpart} ${loadaddr} /uEnv.txt;env import -t ${loadaddr} ${filesize};echo Loaded environment from /uEnv.txt;echo Checking if uenvcmd is set ...;if test -n ${uenvcmd}; then echo Running uenvcmd ...;run uenvcmd;fi;fi; echo Checking for: /boot/uEnv.txt ...;for i in 1 2 3 4 5 6 7 ; do setenv mmcpart ${i};setenv bootpart ${mmcdev}:${mmcpart};if test -e ${interface} ${bootpart} /boot/uEnv.txt; then load ${interface} ${bootpart} ${loadaddr} /boot/uEnv.txt;env import -t ${loadaddr} ${filesize};echo Loaded environment from /boot/uEnv.txt;if test -n ${dtb}; then setenv fdtfile ${dtb};echo Using: dtb=${fdtfile} ...;fi;echo Checking if uname_r is set in /boot/uEnv.txt...;if test -n ${uname_r}; then setenv oldroot /dev/mmcblk${mmcblk}p${mmcpart};echo Running uname_boot ...;run uname_boot;fi;fi;done;fi;
bootcmd=run findfdt; setenv interface mmc; setenv mmcblk 0; setenv mmcdev 0; run boot;
bootdelay=1
bootdir=/boot
bootenv=uEnv.txt
bootfile=zImage
bootm_size=0x10000000
bootpart=0:2
bootscript=echo Running bootscript from mmc${mmcdev} ...; source ${loadaddr}
buddy=none
buddy2=none
console=ttyO2,115200n8
cpu=armv7
ethact=usb_ether
fdt_addr_r=0x88000000
fdtaddr=0x88000000
fdtfile=undefined
findfdt=if test $beaglerev = AxBx; then setenv fdtfile omap3-beagle.dtb; fi; if test $beaglerev = Cx; then setenv fdtfile omap3-beagle.dtb; fi; if test $beaglerev = C4; then setenv fdtfile omap3-beagle.dtb; fi; if test $beaglerev = xMAB; then setenv fdtfile omap3-beagle-xm-ab.dtb; fi; if test $beaglerev = xMC; then setenv fdtfile omap3-beagle-xm.dtb; fi; if test $fdtfile = undefined; then echo WARNING: Could not determine device tree to use; fi;
finduuid=part uuid ${interface} ${bootpart} uuid
importbootenv=echo Importing environment from mmc${mmcdev} ...; env import -t ${loadaddr} ${filesize}
kernel_addr_r=0x82000000
loadaddr=0x82000000
loadbootenv=load ${interface} ${bootpart} ${loadaddr} ${bootenv}
loadbootscript=load ${interface} ${mmcdev} ${loadaddr} boot.scr
loadfdt=echo loading ${fdtdir}/${fdtfile} ...; load ${interface} ${bootpart} ${fdtaddr} ${fdtdir}/${fdtfile}
loadimage=load ${interface} ${bootpart} ${loadaddr} ${bootdir}/${bootfile}
loadrd=load ${interface} ${bootpart} ${rdaddr} ${bootdir}/${rdfile}; setenv rdsize ${filesize}
loaduimage=load ${interface} ${mmcdev} ${loadaddr} uImage
mmcboot=echo Booting from mmc${mmcdev} ...; run args_mmc; bootz ${loadaddr} - ${fdtaddr}
mmcdev=0
mmcrootfstype=ext4 rootwait
musb=musb_hdrc.fifo_mode=5
pxefile_addr_r=0x80100000
ramdisk_addr_r=0x88080000
rdaddr=0x88080000
scriptaddr=0x80000000
soc=omap3
stderr=ns16550_serial
stdin=ns16550_serial
stdout=ns16550_serial
uimageboot=echo Booting from mmc${mmcdev} ...; run args_mmc; bootm ${loadaddr}
uname_boot=setenv bootdir /boot; setenv bootfile vmlinuz-${uname_r}; if test -e ${interface} ${bootpart} ${bootdir}/${bootfile}; then echo loading ${bootdir}/${bootfile} ...; run loadimage;setenv fdtdir /boot/dtbs/${uname_r}; if test -e ${interface} ${bootpart} ${fdtdir}/${fdtfile}; then run loadfdt;else setenv fdtdir /usr/lib/linux-image-${uname_r}; if test -e ${interface} ${bootpart} ${fdtdir}/${fdtfile}; then run loadfdt;else setenv fdtdir /lib/firmware/${uname_r}/device-tree; if test -e ${interface} ${bootpart} ${fdtdir}/${fdtfile}; then run loadfdt;else setenv fdtdir /boot/dtb-${uname_r}; if test -e ${interface} ${bootpart} ${fdtdir}/${fdtfile}; then run loadfdt;else setenv fdtdir /boot/dtbs; if test -e ${interface} ${bootpart} ${fdtdir}/${fdtfile}; then run loadfdt;else setenv fdtdir /boot/dtb; if test -e ${interface} ${bootpart} ${fdtdir}/${fdtfile}; then run loadfdt;else setenv fdtdir /boot; if test -e ${interface} ${bootpart} ${fdtdir}/${fdtfile}; then run loadfdt;else echo; echo unable to find ${fdtfile} ...; echo booting legacy ...;run args_mmc;echo debug: [${bootargs}] ... ;echo debug: [bootz ${loadaddr}] ... ;bootz ${loadaddr}; fi;fi;fi;fi;fi;fi;fi; setenv rdfile initrd.img-${uname_r}; if test -e ${interface} ${bootpart} ${bootdir}/${rdfile}; then echo loading ${bootdir}/${rdfile} ...; run loadrd;if test -n ${netinstall_enable}; then run args_netinstall; run message;echo debug: [${bootargs}] ... ;echo debug: [bootz ${loadaddr} ${rdaddr}:${rdsize} ${fdtaddr}] ... ;bootz ${loadaddr} ${rdaddr}:${rdsize} ${fdtaddr}; fi;if test -n ${uenv_root}; then run args_uenv_root;echo debug: [${bootargs}] ... ;echo debug: [bootz ${loadaddr} ${rdaddr}:${rdsize} ${fdtaddr}] ... ;bootz ${loadaddr} ${rdaddr}:${rdsize} ${fdtaddr}; fi;if test -n ${uuid}; then run args_mmc_uuid;echo debug: [${bootargs}] ... ;echo debug: [bootz ${loadaddr} ${rdaddr}:${rdsize} ${fdtaddr}] ... ;bootz ${loadaddr} ${rdaddr}:${rdsize} ${fdtaddr}; else run args_mmc_old;echo debug: [${bootargs}] ... ;echo debug: [bootz ${loadaddr} ${rdaddr}:${rdsize} ${fdtaddr}] ... ;bootz ${loadaddr} ${rdaddr}:${rdsize} ${fdtaddr}; fi;else if test -n ${uenv_root}; then run args_uenv_root;echo debug: [${bootargs}] ... ;echo debug: [bootz ${loadaddr} - ${fdtaddr}] ... ;bootz ${loadaddr} - ${fdtaddr}; fi;run args_mmc_old;echo debug: [${bootargs}] ... ;echo debug: [bootz ${loadaddr} - ${fdtaddr}] ... ;bootz ${loadaddr} - ${fdtaddr}; fi;fi;
usbtty=cdc_acm
vendor=ti
ver=U-Boot 2016.03-00001-g54456ef (Mar 17 2016 - 16:31:02 -0500)
vram=16M

Environment size: 6302/131068 bytes

Rustem Vafin

unread,
May 3, 2016, 1:37:52 PM5/3/16
to BeagleBoard
Next, step, which i do.
I followed by https://eewiki.net/display/linuxonarm/BeagleBoard with v4.5.x kernel and debian-8.4-minimal-armhf-2016-04-22.tar.xz
My boot log changed, but stopping onto "Starting kernel ..." . I try to search resolving for this issue, but I don't know what i might do else.

My environment

loadaddr=0x82000000

fdtaddr=0x88000000

rdaddr=0x88080000


All environment

=> pri

ver=U-Boot 2016.03-dirty (May 03 2016 - 16:17:30 +0300)


vram=16M



Environment size: 6293/131068 bytes


And my boot log:


U-Boot SPL 2016.03-dirty (May 03 2016 - 16:17:30)

Trying to boot from NAND

SPL: Please implement spl_start_uboot() for your board

SPL: Direct Linux boot not active!




U-Boot 2016.03-dirty (May 03 2016 - 16:17:30 +0300)



OMAP3530-GP ES3.0, CPU-OPP2, L3-165MHz, Max CPU Clock 600 MHz


OMAP3 Beagle board + LPDDR/NAND


I2C: ready


DRAM: 256 MiB


NAND: 256 MiB


MMC: OMAP SD/MMC: 0


*** Warning - bad CRC, using default environment



Beagle Rev C1/C2/C3


Timed out in wait_for_event: status=1000


Check if pads/pull-ups of bus 1 are properly configured


No EEPROM on expansion board


Timed out in wait_for_bb: status=1000


No EEPROM on expansion board


OMAP die ID: 0400d01304013f790000000037240003


Net: usb_ether


Error: usb_ether address not set.



Hit any key to stop autoboot: 1 \0x08\0x08\0x08 0


switch to partitions #0, OK


mmc0 is current device


SD/MMC found on device 0


Checking for: /uEnv.txt ...


Checking for: /boot/uEnv.txt ...


23 bytes read in 30 ms (0 Bytes/s)


Loaded environment from /boot/uEnv.txt


Checking if uname_r is set in /boot/uEnv.txt...


Running uname_boot ...


loading /boot/vmlinuz-4.5.2-armv7-x2 ...


5782304 bytes read in 465 ms (11.9 MiB/s)


loading /boot/dtbs/4.5.2-armv7-x2/omap3-beagle.dtb ...


107183 bytes read in 273 ms (382.8 KiB/s)


debug: [console=ttyO2,115200n8 root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait musb_hdrc.fifo_mode=5] ...


debug: [bootz 0x82000000 - 0x88000000] ...


Kernel image @ 0x82000000 [ 0x000000 - 0x583b20 ]


## Flattened Device Tree blob at 88000000


Booting using the fdt blob at 0x88000000


Loading Device Tree to 8ffe2000, end 8ffff2ae ... OK



Starting kernel ...





Reply all
Reply to author
Forward
0 new messages