I am trying to bring up BBB with yocto. fallowed this document 
https://bootlin.com/doc/training/yocto/yocto-labs.pdf 

to generate images and  load these to SD card.

u-boot was unable to load kernel with data abort error.  With same SD Card 
everything was working fine with beaglebone green board.

U-Boot SPL 2018.01-gefdd6cd5ab (Dec 09 2019 - 15:02:18)
Trying to boot from MMC1
reading u-boot.img
reading u-boot.img


U-Boot 2018.01-gefdd6cd5ab (Dec 09 2019 - 15:02:18 +0000)

CPU  : AM335X-GP rev 2.1
I2C:   ready
DRAM:  512 MiB
No match for driver 'omap_hsmmc'
No match for driver 'omap_hsmmc'
Some drivers were not found
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
Net:   cpsw, usb_ether
Press SPACE to abort autoboot in 2 seconds
reading zImage
data abort
pc : [<9ff6672c>]          lr : [<9ff4e9f9>]
reloc pc : [<8081972c>]    lr : [<808019f9>]
sp : 9df2cb40  ip : 00000000     fp : 00000ab2
r10: 00000200  r9 : 9df2ced8     r8 : 08020000
r7 : 00000200  r6 : 00000020     r5 : 003d0200  r4 : 48060000
r3 : 08020200  r2 : 13105a4d     r1 : 00200000  r0 : 00000001
Flags: Nzcv  IRQs off  FIQs on  Mode SVC_32
Resetting CPU ...

resetting ...

U-Boot SPL 2018.01-gefdd6cd5ab (Dec 09 2019 - 15:02:18)
Trying to boot from MMC1
reading u-boot.img
reading u-boot.img

Added uEnv.txt file with below commands.
bootdir=/boot
bootfile=zImage
console=ttyO0,115200n8
fdtaddr=0x88000000
fdtfile=bbb-4dcape70t.dtb
loadaddr=0x82000000
mmcroot=/dev/mmcblk0p2 ro
mmcrootfstype=ext4 rootwait
optargs=consoleblank=0
nohdmi=bbb-nohdmi.dtb
mmcargs=setenv bootargs console=${console} ${optargs} root=${mmcroot} 
rootfstype=${mmcrootfstype}
findfdtfile=if test -e mmc ${bootpart} ${bootdir}/nohdmi; then setenv 
fdtfile ${nohdmi}; fi;
loadfdt=run findfdtfile; load mmc ${bootpart} ${fdtaddr} 
${bootdir}/${fdtfile}
loadimage=load mmc ${bootpart} ${loadaddr} ${bootdir}/${bootfile}
uenvcmd=if run loadfdt; then echo Loaded ${fdtfile}; if run loadimage; then 
run mmcargs; bootz ${loadaddr} - ${fdtaddr}; fi; fi;

here is the snapshot of boot partition and  rootfs/boot/ on sd card. 
am335x-boneblack.dtb  MLO  u-boot.img  uEnv.txt  uEnv.txt~  zImage

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/28cb42e4-e2a8-43d3-9f41-26822f07f24b%40googlegroups.com.

Reply via email to