I downloaded and compiled u-boot u-boot-2015.10-rc2. I am using kernel 
debian-wheezy-7.2-(armhf-rootfs-3.8.13-bone30) on a Beaglebone Black.

The configuration works fine until I update u-boot to the version above.

After copying in the MLO and u-boot.img files, everything goes well until 
the kernel "init". At this point, the board hangs, but will continue along 
fine as soon as I insert an SD card (which is a clone of the internal MMC, 
except it has the original u-boot. 

Any help on getting this to boot would be greatly appreciated!!

I suspect it is not finding/reading the initramFS correctly, or the fdt 
file...  and not sure how to configure this correctly in u-boot. 

Any help would be truly appreciated!







the boot proceeds as follows:

-----------------------------------------------------------------------------------------------------------
>From the updated, non working u-boot:

------------------------------------------------------------------------------------------------------------

U-Boot SPL 2015.10-rc2 (Oct 08 2015 - 04:17:11)
*** Warning - bad CRC, using default environment

reading u-boot.img
reading u-boot.img


U-Boot 2015.10-rc2 (Oct 08 2015 - 04:17:11 +0000)

       Watchdog enabled
I2C:   ready
DRAM:  512 MiB
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
*** Warning - bad CRC, using default environment

Net:   <ethaddr> not set. Validating first E-fuse MAC
cpsw, usb_ether
Card did not respond to voltage select!
Card did not respond to voltage select!
switch to partitions #0, OK
mmc1(part 0) is current device
SD/MMC found on device 1
reading boot.scr
** Unable to read file boot.scr **
reading uEnv.txt
716 bytes read in 4 ms (174.8 KiB/s)
Loaded environment from uEnv.txt
Importing environment from mmc ...
Running uenvcmd ...
Card did not respond to voltage select!
switch to partitions #0, OK
mmc1(part 0) is current device
3341744 bytes read in 212 ms (15 MiB/s)
24884 bytes read in 30 ms (809.6 KiB/s)
Kernel image @ 0x82000000 [ 0x000000 - 0x32fdb0 ]
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Loading Device Tree to 8fff6000, end 8ffff133 ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.189724] omap2_mbox_probe: platform not supported
[    0.346410] tps65217-bl tps65217-bl: no platform data provided
[    0.410607] bone-capemgr bone_capemgr.9: slot #0: No cape found
[    0.447713] bone-capemgr bone_capemgr.9: slot #1: No cape found
[    0.484820] bone-capemgr bone_capemgr.9: slot #2: No cape found
[    0.521930] bone-capemgr bone_capemgr.9: slot #3: No cape found
[    0.542007] bone-capemgr bone_capemgr.9: slot #6: BB-BONELT-HDMIN 
conflict P8.45 (#5:BB-BONELT-HDMI)
[    0.551647] bone-capemgr bone_capemgr.9: slot #6: Failed verification
[    0.558421] bone-capemgr bone_capemgr.9: loader: failed to load slot-6 
BB-BONELT-HDMIN:00A0 (prio 2)
[    0.573956] omap_hsmmc mmc.5: of_parse_phandle_with_args of 'reset' 
failed
[    0.637754] pinctrl-single 44e10800.pinmux: pin 44e10854 already 
requested by 44e10800.pinmux; cannot claim for gpio-leds.8
[    0.649524] pinctrl-single 44e10800.pinmux: pin-21 (gpio-leds.8) status 
-22
[    0.656840] pinctrl-single 44e10800.pinmux: could not request pin 21 on 
device pinctrl-single

----hangs here until SD card is inserted

----------------------------------------------------------------------------------------------------------------------------------------

my printenv from the non-working u-boot:
----------------------------------------------------------------------------------------------------------------------------------------

arch=arm
baudrate=115200
board=am335x
board_name=A335BNLT
board_rev=00C0
boot_fdt=try
bootcmd=run findfdt; run mmcboot;setenv mmcdev 1; setenv bootpart 1:2; run 
mmcboot;run nandboot;
bootcount=19
bootdelay=1
bootdir=/boot
bootenv=uEnv.txt
bootfile=zImage
bootm_size=0x10000000
bootpart=0:2
bootscript=echo Running bootscript from mmc${mmcdev} ...; source ${loadaddr}
console=ttyO0,115200n8
cpu=armv7
dfu_alt_info_emmc=rawemmc raw 0 3751936
dfu_alt_info_mmc=boot part 0 1;rootfs part 0 2;MLO fat 0 1;MLO.raw raw 
0x100 0x100;u-boot.img.raw raw 0x300 0x400;spl-os-args.raw raw 0x80 
0x80;spl-os-image.raw raw 0x900 0x2000;spl-os-args fat 0 1;spl-os-image fat 
0 1;u-boot.img fat 0 1;uEnv.txt fat 0 1
dfu_alt_info_ram=kernel ram 0x80200000 0xD80000;fdt ram 0x80F80000 
0x80000;ramdisk ram 0x81000000 0x4000000
eth1addr=6c:ec:eb:8a:f7:fa
ethact=cpsw
ethaddr=6c:ec:eb:8a:f7:f8
fdt_addr_r=0x88000000
fdtaddr=0x88000000
fdtfile=undefined
findfdt=if test $board_name = A335BONE; then setenv fdtfile 
am335x-bone.dtb; fi; if test $board_name = A335BNLT; then setenv fdtfile 
am335x-boneblack.dtb; fi; if test $board_name = A33515BB; then setenv 
fdtfile am335x-evm.dtb; fi; if test $board_name = A335X_SK; then setenv 
fdtfile am335x-evmsk.dtb; fi; if test $fdtfile = undefined; then echo 
WARNING: Could not determine device tree to use; fi;
importbootenv=echo Importing environment from mmc ...; env import -t -r 
$loadaddr $filesize
kernel_addr_r=0x82000000
loadaddr=0x82000000
loadbootenv=load mmc ${mmcdev} ${loadaddr} ${bootenv}
loadbootscript=load mmc ${mmcdev} ${loadaddr} boot.scr
loadfdt=load mmc ${bootpart} ${fdtaddr} ${bootdir}/${fdtfile}
loadimage=load mmc ${bootpart} ${loadaddr} ${bootdir}/${bootfile}
loadramdisk=load mmc ${mmcdev} ${rdaddr} ramdisk.gz
mmcargs=setenv bootargs console=${console} ${optargs} root=${mmcroot} 
rootfstype=${mmcrootfstype}
mmcboot=mmc dev ${mmcdev}; if mmc rescan; then echo SD/MMC found on device 
${mmcdev};if run loadbootscript; then run bootscript;else if run 
loadbootenv; then echo Loaded environment from ${bootenv};run 
importbootenv;fi;if test -n $uenvcmd; then echo Running uenvcmd ...;run 
uenvcmd;fi;if run loadimage; then run mmcloados;fi;fi ;fi;
mmcdev=0
mmcloados=run mmcargs; if test ${boot_fdt} = yes || test ${boot_fdt} = try; 
then if run loadfdt; then bootz ${loadaddr} - ${fdtaddr}; else if test 
${boot_fdt} = try; then bootz; else echo WARN: Cannot load the DT; fi; fi; 
else bootz; fi;
mmcroot=/dev/mmcblk0p2 ro
mmcrootfstype=ext4 rootwait
netargs=setenv bootargs console=${console} ${optargs} root=/dev/nfs 
nfsroot=${serverip}:${rootpath},${nfsopts} rw ip=dhcp
netboot=echo Booting from network ...; setenv autoload no; dhcp; run 
netloadimage; run netloadfdt; run netargs; bootz ${loadaddr} - ${fdtaddr}
netloadfdt=tftp ${fdtaddr} ${fdtfile}
netloadimage=tftp ${loadaddr} ${bootfile}
nfsopts=nolock
partitions=uuid_disk=${uuid_gpt_disk};name=rootfs,start=2MiB,size=-,uuid=${uuid_gpt_rootfs}
ramargs=setenv bootargs console=${console} ${optargs} root=${ramroot} 
rootfstype=${ramrootfstype}
ramboot=echo Booting from ramdisk ...; run ramargs; bootz ${loadaddr} 
${rdaddr} ${fdtaddr}
ramdisk_addr_r=0x88080000
ramroot=/dev/ram0 rw
ramrootfstype=ext2
rdaddr=0x88080000
rootpath=/export/rootfs
soc=am33xx
spiargs=setenv bootargs console=${console} ${optargs} root=${spiroot} 
rootfstype=${spirootfstype}
spiboot=echo Booting from spi ...; run spiargs; sf probe ${spibusno}:0; sf 
read ${loadaddr} ${spisrcaddr} ${spiimgsize}; bootz ${loadaddr}
spibusno=0
spiimgsize=0x362000
spiroot=/dev/mtdblock4 rw
spirootfstype=jffs2
spisrcaddr=0xe0000
static_ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off
stderr=serial_omap
stdin=serial_omap
stdout=serial_omap
usbnet_devaddr=6c:ec:eb:8a:f7:fa
vendor=ti
ver=U-Boot 2015.10-rc2 (Oct 08 2015 - 04:17:11 +0000)









==========================================================================================================================

If I do a printenv from the older, working u-boot, I get this:
==========================================================================================================================

arch=arm
baudrate=115200
board=am335x
board_name=A335BNLT
board_rev=00C0
boot_fdt=try
bootcmd=run findfdt; run mmcboot;setenv mmcdev 1; setenv bootpart 1:2; run 
mmcboot;run nandboot;
bootdelay=1
bootdir=/boot
bootenv=uEnv.txt
bootfile=zImage
bootpart=0:2
console=ttyO0,115200n8
cpu=armv7
dfu_alt_info_emmc=rawemmc mmc 0 3751936
dfu_alt_info_mmc=boot part 0 1;rootfs part 0 2;MLO fat 0 1;MLO.raw mmc 100 
100;u-boot.img.raw mmc 300 400;spl-os-args.raw mmc 80 80;spl-os-image.raw 
mmc 900 2000;spl-os-args fat 0 1;spl-os-image fat 0 1;u-boot.img fat 0 
1;uEnv.txt fat 0 1
dfu_alt_info_nand=SPL part 0 1;SPL.backup1 part 0 2;SPL.backup2 part 0 
3;SPL.backup3 part 0 4;u-boot part 0 5;u-boot-spl-os part 0 6;kernel part 0 
8;rootfs part 0 9
dfu_alt_info_ram=kernel ram 0x80200000 0xD80000;fdt ram 0x80F80000 
0x80000;ramdisk ram 0x81000000 0x4000000
ethact=cpsw
ethaddr=6c:ec:eb:8a:f7:f8
fdt_high=0xffffffff
fdtaddr=0x80F80000
fdtfile=undefined
findfdt=if test $board_name = A335BONE; then setenv fdtfile 
am335x-bone.dtb; fi; if test $board_name = A335BNLT; then setenv fdtfile 
am335x-boneblack.dtb; fi; if test $board_name = A33515BB; then setenv 
fdtfile am335x-evm.dtb; fi; if test $board_name = A335X_SK; then setenv 
fdtfile am335x-evmsk.dtb; fi; if test $fdtfile = undefined; then echo 
WARNING: Could not determine device tree to use; fi;
importbootenv=echo Importing environment from mmc ...; env import -t 
$loadaddr $filesize
loadaddr=0x80200000
loadbootenv=load mmc ${mmcdev} ${loadaddr} ${bootenv}
loadfdt=load mmc ${bootpart} ${fdtaddr} ${bootdir}/${fdtfile}
loadimage=load mmc ${bootpart} ${loadaddr} ${bootdir}/${bootfile}
loadramdisk=load mmc ${mmcdev} ${rdaddr} ramdisk.gz
mmcargs=setenv bootargs console=${console} ${optargs} root=${mmcroot} 
rootfstype=${mmcrootfstype}
mmcboot=mmc dev ${mmcdev}; if mmc rescan; then echo SD/MMC found on device 
${mmcdev};if run loadbootenv; then echo Loaded environment from 
${bootenv};run importbootenv;fi;if test -n $uenvcmd; then echo Running 
uenvcmd ...;run uenvcmd;fi;if run loadimage; then run mmcloados;fi;fi;
mmcdev=0
mmcloados=run mmcargs; if test ${boot_fdt} = yes || test ${boot_fdt} = try; 
then if run loadfdt; then bootz ${loadaddr} - ${fdtaddr}; else if test 
${boot_fdt} = try; then bootz; else echo WARN: Cannot load the DT; fi; fi; 
else bootz; fi;
mmcroot=/dev/mmcblk0p2 ro
mmcrootfstype=ext4 rootwait
mtdids=nand0=omap2-nand.0
mtdparts=mtdparts=omap2-nand.0:128k(SPL),128k(SPL.backup1),128k(SPL.backup2),128k(SPL.backup3),1792k(u-boot),128k(u-boot-spl-os),128k(u-boot-env),5m(kernel),-(rootfs)
nandargs=setenv bootargs console=${console} ${optargs} root=${nandroot} 
rootfstype=${nandrootfstype}
nandboot=echo Booting from nand ...; run nandargs; nand read ${loadaddr} 
${nandsrcaddr} ${nandimgsize}; bootz ${loadaddr}
nandimgsize=0x500000
nandroot=ubi0:rootfs rw ubi.mtd=7,2048
nandrootfstype=ubifs rootwait=1
nandsrcaddr=0x280000
netargs=setenv bootargs console=${console} ${optargs} root=/dev/nfs 
nfsroot=${serverip}:${rootpath},${nfsopts} rw ip=dhcp
netboot=echo Booting from network ...; setenv autoload no; dhcp; tftp 
${loadaddr} ${bootfile}; tftp ${fdtaddr} ${fdtfile}; run netargs; bootz 
${loadaddr} - ${fdtaddr}
nfsopts=nolock
ramargs=setenv bootargs console=${console} ${optargs} root=${ramroot} 
rootfstype=${ramrootfstype}
ramboot=echo Booting from ramdisk ...; run ramargs; bootz ${loadaddr} 
${rdaddr} ${fdtaddr}
ramroot=/dev/ram0 rw ramdisk_size=65536 initrd=${rdaddr},64M
ramrootfstype=ext2
rdaddr=0x81000000
rootpath=/export/rootfs
soc=am33xx
spiargs=setenv bootargs console=${console} ${optargs} root=${spiroot} 
rootfstype=${spirootfstype}
spiboot=echo Booting from spi ...; run spiargs; sf probe ${spibusno}:0; sf 
read ${loadaddr} ${spisrcaddr} ${spiimgsize}; bootz ${loadaddr}
spibusno=0
spiimgsize=0x362000
spiroot=/dev/mtdblock4 rw
spirootfstype=jffs2
spisrcaddr=0xe0000
static_ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off
stderr=serial
stdin=serial
stdout=serial
usbnet_devaddr=6c:ec:eb:8a:f7:f8
vendor=ti
ver=U-Boot 2013.10-00249-g15c5cdf (Nov 17 2013 - 16:35:11)






===========================================================================================================================

and the older, working u-boot boots like this:
===========================================================================================================================
U-Boot 2013.10-00249-g15c5cdf (Nov 17 2013 - 16:35:11)

I2C:   ready
DRAM:  512 MiB
WARNING: Caches not enabled
NAND:  0 MiB
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
*** Warning - readenv() failed, using default environment

Net:   <ethaddr> not set. Validating first E-fuse MAC
cpsw, usb_ether
Hit any key to stop autoboot:  0
Card did not respond to voltage select!
mmc0(part 0) is current device
Card did not respond to voltage select!
mmc1(part 0) is current device
SD/MMC found on device 1
reading uEnv.txt
716 bytes read in 3 ms (232.4 KiB/s)
Loaded environment from uEnv.txt
Importing environment from mmc ...
Running uenvcmd ...
Card did not respond to voltage select!
mmc0(part 0) is current device
Card did not respond to voltage select!
mmc1(part 0) is current device
3341744 bytes read in 473 ms (6.7 MiB/s)
24884 bytes read in 28 ms (867.2 KiB/s)
Kernel image @ 0x80200000 [ 0x000000 - 0x32fdb0 ]
## Flattened Device Tree blob at 80f80000
   Booting using the fdt blob at 0x80f80000
   Using Device Tree in place at 80f80000, end 80f89133

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.186740] omap2_mbox_probe: platform not supported
[    0.343436] tps65217-bl tps65217-bl: no platform data provided
[    0.407601] bone-capemgr bone_capemgr.9: slot #0: No cape found
[    0.444707] bone-capemgr bone_capemgr.9: slot #1: No cape found
[    0.481814] bone-capemgr bone_capemgr.9: slot #2: No cape found
[    0.518923] bone-capemgr bone_capemgr.9: slot #3: No cape found
[    0.539034] bone-capemgr bone_capemgr.9: slot #6: BB-BONELT-HDMIN 
conflict P8.45 (#5:BB-BONELT-HDMI)
[    0.548674] bone-capemgr bone_capemgr.9: slot #6: Failed verification
[    0.555446] bone-capemgr bone_capemgr.9: loader: failed to load slot-6 
BB-BONELT-HDMIN:00A0 (prio 2)
[    0.570938] omap_hsmmc mmc.5: of_parse_phandle_with_args of 'reset' 
failed
[    0.634741] pinctrl-single 44e10800.pinmux: pin 44e10854 already 
requested by 44e10800.pinmux; cannot claim for gpio-leds.8
[    0.646513] pinctrl-single 44e10800.pinmux: pin-21 (gpio-leds.8) status 
-22
[    0.653828] pinctrl-single 44e10800.pinmux: could not request pin 21 on 
device pinctrl-single
INIT: version 2.88 booting
[info] Using makefile-style concurrent boot in runlevel S.
[ ok ] Starting the hotplug events dispatcher: udevd.
[ ok ] Synthesizing the initial hotplug events...done.
[ ok ] Waiting for /dev to be fully populated...done.
[ ok ] Setting preliminary keymap...done.
[ ok ] Activating swap...done.
[....] Checking root file system...fsck from util-linux 2.20.1
/dev/mmcblk0p2: clean, 28972/236176 files, 221822/923136 blocks
done.
[ ok ] Cleaning up temporary files... /tmp.
[ ok ] Activating lvm and md swap...done.
[....] Checking file systems...fsck from util-linux 2.20.1
done.
[ ok ] Mounting local filesystems...done.
[ ok ] Activating swapfile swap...done.
[ ok ] Cleaning up temporary files....
[ ok ] Setting kernel variables ...done.
[....] Setting up resolvconf.../etc/resolvconf/update.d/libc: Warning: 
/etc/resolv.conf is not a symbolic link to /etc/resolvconf/run/resolv.conf
done.
[....] Configuring network interfaces...Cannot find device "eth0"
Failed to bring up eth0.
done.
[ ok ] Cleaning up temporary files....
[info] Setting console screen modes.
setterm: cannot (un)set powersave mode: Inappropriate ioctl for device
[info] Skipping font and keymap setup (handled by console-setup).
[ ok ] Setting up console font and keymap...done.
[ ok ] Setting sensors limits.
INIT: Entering runlevel: 2
[info] Using makefile-style concurrent boot in runlevel 2.
[ ok ] Starting enhanced syslogd: rsyslogd.
[ ok ] Starting periodic command scheduler: cron.
[ ok ] Starting system message bus: dbus.
[ ok ] Starting OpenBSD Secure Shell server: sshd.















-- 


*CONFIDENTIALITY NOTICE: This electronic transmission, including all 
attachments, is directed in confidence solely to the person(s) to whom it 
is addressed, or an authorized recipient, and may not otherwise be 
distributed, copied or disclosed. The contents of the transmission may also 
be subject to intellectual property rights and all such rights are 
expressly claimed and are not waived. If you have received this 
transmission in error, please notify the sender immediately by return 
electronic transmission and then immediately delete this transmission, 
including all attachments, without copying, distributing or disclosing 
same. *

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to