Skip to contentSkip to conversation

BB-Black setup fails to boot using Buildroot Training Lab Book [December 26, 2016]

Buildroot Ashish_Kumar_Mishra 2 participants 4 messages Dec 27, 2016

lore
Share & tools
lore
#0 lore raw

Hi All ,

This in my first post here & i am not sure weather such support / problem queries are allowed here or not.
Would request to please let me know the correct forum so that i can continue there.

This is my first attempt to learn the Buildroot (and BB Black) .

I am following the procedure mentioned in Buildroot Training Lab Book from free electrons dated December 26, 2016.
After following all the steps i created an SD card setup but the board booting fails with below mentioned log:-

U-Boot SPL 2016.03 (Dec 27 2016 - 12:45:34)
Trying to boot from MMC
Card doesn't support part_switch
MMC partition switch failed
*** Warning - MMC partition switch failed, using default environment

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

U-Boot 2016.03 (Dec 27 2016 - 12:45:34 +0530)

Watchdog enabled

I2C:   ready
DRAM:  512 MiB
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
Net:   Could not get PHY for cpsw: addr 0

cpsw, usb_ether
Press SPACE to abort autoboot in 1 seconds reading uImage-dtb.am335x-boneblack
** Unable to read file uImage-dtb.am335x-boneblack ** Wrong Image Format for bootm command
ERROR: can't get kernel image!
=>

Could group members please provide few pointers to get the proper board booting .

Thanks
Ashish Kumar Mishra.

--
View this message in context: http://buildroot-busybox.2317881.n4.nabble.com/BB-Black-setup-fails-to-boot-using-Buildroot-Training-Lab-Book-December-26-2016-tp153506.html
Sent from the Buildroot (busybox) mailing list archive at Nabble.com.

#1 lore raw

Hello,

Quoted 16 lines · Ashish_Kumar_Mishra

U-Boot 2016.03 (Dec 27 2016 - 12:45:34 +0530)

Watchdog enabled

I2C:   ready
DRAM:  512 MiB
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
Net:   Could not get PHY for cpsw: addr 0

cpsw, usb_ether
Press SPACE to abort autoboot in 1 seconds reading uImage-dtb.am335x-boneblack
** Unable to read file uImage-dtb.am335x-boneblack ** Wrong Image Format for bootm command
ERROR: can't get kernel image!
=>

Quoted 2 lines

Could group members please provide few pointers to get the proper board booting .

I suspect you forgot to put the uEnv.txt file on the SD card. Please read again the "Flash the system" section of the "Basic Buildroot usage" lab.

Best regards,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
#2 lore raw

Dear Thomas Sir ,
Thanks for replying.

I had uEnv.txt in the boot partition in the /boot directory. Attached is the snap of the contents (just in case if required) .

sdcard_snap.png
<http://buildroot-busybox.2317881.n4.nabble.com/file/n153520/sdcard_snap.png>

--
View this message in context: http://buildroot-busybox.2317881.n4.nabble.com/BB-Black-setup-fails-to-boot-using-Buildroot-Training-Lab-Book-December-26-2016-tp153506p153520.html
Sent from the Buildroot (busybox) mailing list archive at Nabble.com.

#3 lore raw

Hi Sir / All ,

The created setup *works properly on BeagleBone "A6"* but same sd card fails to boot with BeagleBone "A6A" .
Will check the behaviour on Beaglebone "C" & share .

I am not much clear as what effects the same image to behave differently on two different version.

Will update the thread as in case some additional info .

Thanks
Ashish Kumar Mishra.

--
View this message in context: http://buildroot-busybox.2317881.n4.nabble.com/BB-Black-setup-fails-to-boot-using-Buildroot-Training-Lab-Book-December-26-2016-tp153506p153522.html
Sent from the Buildroot (busybox) mailing list archive at Nabble.com.