proper recipe to build for BBB using the meta-ti layer?
until recently, i was using the meta-beagleboard layer to build
artifacts for my beaglebone black but i just switched over to using meta-ti to sync up with a colleague and was wondering if there's a posted recipe for building a bootable SD card as i ran into trouble.
on my attempt last night, i got what looked like a good build
creating a core-image-minimal, copied just the MLO and u-boot.img files to my SD card, and booted from it to verify at least the proper creation of the bootloader, but got this:
U-Boot SPL 2013.01.01 (Jul 06 2013 - 18:41:10)
OMAP SD/MMC: 0
** Partition 1 not valid on device 0 **
spl: fat register err - -1
### ERROR ### Please RESET the board ###
this is exactly the same SD card i was using with meta-beagleboard
generated image files. everything else about the build seemed fine. can someone verify a known good recipe for this? is there something different about the creation of the SD card? i'm currently doing another build from scratch to see if i messed anything up.
rday
Signature · 7 lines
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================Quoted 11 lines · Robert P. J. Day
U-Boot SPL 2013.01.01 (Jul 06 2013 - 18:41:10)
OMAP SD/MMC: 0
** Partition 1 not valid on device 0 **
spl: fat register err - -1
### ERROR ### Please RESET the board ###this is exactly the same SD card i was using with meta-beagleboard
generated image files. everything else about the build seemed fine. can someone verify a known good recipe for this? is there something different about the creation of the SD card? i'm currently doing another build from scratch to see if i messed anything up.
Can you see if backporting
http://git.denx.de/?p=u-boot.git;a=commitdiff;h=9d956e0fefa39ba49250f61e3c7aa3dadafdb7fd
fixes the problem? It should apply cleanly. Thanks!
Signature · 1 line
Tom
Quoted 14 lines · Tom Rini
Quoted 11 lines · Robert P. J. Day
U-Boot SPL 2013.01.01 (Jul 06 2013 - 18:41:10)
OMAP SD/MMC: 0
** Partition 1 not valid on device 0 **
spl: fat register err - -1
### ERROR ### Please RESET the board ###this is exactly the same SD card i was using with meta-beagleboard
generated image files. everything else about the build seemed fine. can someone verify a known good recipe for this? is there something different about the creation of the SD card? i'm currently doing another build from scratch to see if i messed anything up.
Quoted 3 lines
Can you see if backporting
http://git.denx.de/?p=u-boot.git;a=commitdiff;h=9d956e0fefa39ba49250f61e3c7aa3dadafdb7fd
fixes the problem? It should apply cleanly. Thanks!
i'll give that a shot this evening and let you know. just to recap,
i used OE and the meta-beagleboard layer to build for my BBB and copied to the first (bootable FAT) partition nothing but the MLO and u-boot.img images, and that let me boot to u-boot, which is all i was after.
i then did an OE build using meta-ti, copied *those* generated MLO
and u-boot.img files to the same SD card, and promptly got the error above. so that would suggest that the meta-beagleboard layer has something equivalent to that patch, while meta-ti doesn't.
anyway, will report back with results ASAP.
rday
Signature · 7 lines
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================Quoted 20 lines · Robert P. J. Day
Quoted 14 lines · Tom Rini
Quoted 11 lines · Robert P. J. Day
U-Boot SPL 2013.01.01 (Jul 06 2013 - 18:41:10)
OMAP SD/MMC: 0
** Partition 1 not valid on device 0 **
spl: fat register err - -1
### ERROR ### Please RESET the board ###this is exactly the same SD card i was using with meta-beagleboard
generated image files. everything else about the build seemed fine. can someone verify a known good recipe for this? is there something different about the creation of the SD card? i'm currently doing another build from scratch to see if i messed anything up.Quoted 3 lines
Can you see if backporting
http://git.denx.de/?p=u-boot.git;a=commitdiff;h=9d956e0fefa39ba49250f61e3c7aa3dadafdb7fd
fixes the problem? It should apply cleanly. Thanks!
Quoted 5 lines
i'll give that a shot this evening and let you know. just to recap,
i used OE and the meta-beagleboard layer to build for my BBB and copied to the first (bootable FAT) partition nothing but the MLO and u-boot.img images, and that let me boot to u-boot, which is all i was after.
Strange. meta-beagleboard is on v2013.04 which doesn't have that change.
Quoted 6 lines
i then did an OE build using meta-ti, copied *those* generated MLO
and u-boot.img files to the same SD card, and promptly got the error above. so that would suggest that the meta-beagleboard layer has something equivalent to that patch, while meta-ti doesn't.anyway, will report back with results ASAP.
If it fails, can you dd off the card, compress it and share a copy with me off-list (I can provide a dropbox drop spot if needed), thanks!
Signature · 1 line
Tom
Quoted 35 lines · Tom Rini
Quoted 20 lines · Robert P. J. Day
Quoted 14 lines · Tom Rini
Quoted 11 lines · Robert P. J. Day
U-Boot SPL 2013.01.01 (Jul 06 2013 - 18:41:10)
OMAP SD/MMC: 0
** Partition 1 not valid on device 0 **
spl: fat register err - -1
### ERROR ### Please RESET the board ###this is exactly the same SD card i was using with meta-beagleboard
generated image files. everything else about the build seemed fine. can someone verify a known good recipe for this? is there something different about the creation of the SD card? i'm currently doing another build from scratch to see if i messed anything up.Quoted 3 lines
Can you see if backporting
http://git.denx.de/?p=u-boot.git;a=commitdiff;h=9d956e0fefa39ba49250f61e3c7aa3dadafdb7fd
fixes the problem? It should apply cleanly. Thanks!Quoted 5 lines
i'll give that a shot this evening and let you know. just to recap,
i used OE and the meta-beagleboard layer to build for my BBB and copied to the first (bootable FAT) partition nothing but the MLO and u-boot.img images, and that let me boot to u-boot, which is all i was after.Strange. meta-beagleboard is on v2013.04 which doesn't have that change.
Quoted 5 lines
i then did an OE build using meta-ti, copied *those* generated MLO
and u-boot.img files to the same SD card, and promptly got the error above. so that would suggest that the meta-beagleboard layer has something equivalent to that patch, while meta-ti doesn't.
Quoted 4 lines
Quoted 1 line
anyway, will report back with results ASAP.
If it fails, can you dd off the card, compress it and share a copy with me off-list (I can provide a dropbox drop spot if needed), thanks!
i had time to do the following quick test. i took my working uSD
card (with artifacts from the meta-beagleboard build), and simply flat-out replaced both the MLO and u-boot.img files in the FAT partition with the corresponding files from the meta-ti build, and got the error above.
i then copied back the original MLO and u-boot.img files and the
boot worked just fine, so that validates that the card partitioning itself seems fine.
i'll just email you the two files in question, and you can see if
you can boot to u-boot.
rday
Signature · 7 lines
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================Quoted 48 lines · Robert P. J. Day
Quoted 35 lines · Tom Rini
Quoted 20 lines · Robert P. J. Day
Quoted 14 lines · Tom Rini
Quoted 11 lines · Robert P. J. Day
U-Boot SPL 2013.01.01 (Jul 06 2013 - 18:41:10)
OMAP SD/MMC: 0
** Partition 1 not valid on device 0 **
spl: fat register err - -1
### ERROR ### Please RESET the board ###this is exactly the same SD card i was using with meta-beagleboard
generated image files. everything else about the build seemed fine. can someone verify a known good recipe for this? is there something different about the creation of the SD card? i'm currently doing another build from scratch to see if i messed anything up.Quoted 3 lines
Can you see if backporting
http://git.denx.de/?p=u-boot.git;a=commitdiff;h=9d956e0fefa39ba49250f61e3c7aa3dadafdb7fd
fixes the problem? It should apply cleanly. Thanks!Quoted 5 lines
i'll give that a shot this evening and let you know. just to recap,
i used OE and the meta-beagleboard layer to build for my BBB and copied to the first (bootable FAT) partition nothing but the MLO and u-boot.img images, and that let me boot to u-boot, which is all i was after.Strange. meta-beagleboard is on v2013.04 which doesn't have that change.
Quoted 5 lines
i then did an OE build using meta-ti, copied *those* generated MLO
and u-boot.img files to the same SD card, and promptly got the error above. so that would suggest that the meta-beagleboard layer has something equivalent to that patch, while meta-ti doesn't.Quoted 4 lines
Quoted 1 line
anyway, will report back with results ASAP.
If it fails, can you dd off the card, compress it and share a copy with me off-list (I can provide a dropbox drop spot if needed), thanks!
i had time to do the following quick test. i took my working uSD
card (with artifacts from the meta-beagleboard build), and simply flat-out replaced both the MLO and u-boot.img files in the FAT partition with the corresponding files from the meta-ti build, and got the error above.
Quoted 6 lines
i then copied back the original MLO and u-boot.img files and the
boot worked just fine, so that validates that the card partitioning itself seems fine.i'll just email you the two files in question, and you can see if
you can boot to u-boot.
The files both boot for me, on Beaglebone Black and White.
Signature · 1 line
Tom
Quoted 1 line · Tom Rini
On 07/08/2013 03:38 PM, Robert P. J. Day wrote:
... snip ...
Quoted 6 lines
Quoted 6 lines
i had time to do the following quick test. i took my working uSD
card (with artifacts from the meta-beagleboard build), and simply flat-out replaced both the MLO and u-boot.img files in the FAT partition with the corresponding files from the meta-ti build, and got the error above.
Quoted 8 lines
Quoted 6 lines
i then copied back the original MLO and u-boot.img files and the
boot worked just fine, so that validates that the card partitioning itself seems fine.i'll just email you the two files in question, and you can see if
you can boot to u-boot.The files both boot for me, on Beaglebone Black and White.
then i'm baffled ... what recipe do you use to format the uSD card?
and did you try booting with nothing but those two files on the card? no uImage, no uEnv.txt, etc?
rday
Signature · 7 lines
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================Quoted 14 lines · Robert P. J. Day
Quoted 1 line · Tom Rini
On 07/08/2013 03:38 PM, Robert P. J. Day wrote:
... snip ...
Quoted 10 lines
Quoted 10 lines
i had time to do the following quick test. i took my working uSD
card (with artifacts from the meta-beagleboard build), and simply flat-out replaced both the MLO and u-boot.img files in the FAT partition with the corresponding files from the meta-ti build, and got the error above.i then copied back the original MLO and u-boot.img files and the
boot worked just fine, so that validates that the card partitioning itself seems fine.
Quoted 8 lines
Quoted 4 lines
Quoted 2 lines
i'll just email you the two files in question, and you can see if
you can boot to u-boot.The files both boot for me, on Beaglebone Black and White.
then i'm baffled ... what recipe do you use to format the uSD card?
and did you try booting with nothing but those two files on the card? no uImage, no uEnv.txt, etc?
I'm just using a by-hand partitioned card. Can you please dd off a copy of your card (so we can reproduce later) and then just zero, and then create an MBR partition table, with the first partition table type c and with the bootable flag set, mkfs.vfat it and copy the files in?
Signature · 1 line
Tom
Quoted 5 lines · Tom Rini
I'm just using a by-hand partitioned card. Can you please dd off a copy of your card (so we can reproduce later) and then just zero, and then create an MBR partition table, with the first partition table type c and with the bootable flag set, mkfs.vfat it and copy the files in?
ok, but i'll make one more test first. i'd forgotten that the
meta-ti layer provides a sdcard_image.bbclass, so i'll let that class build the SD card image for me by ... let's see, just adding this line:
INHERIT += "sdcard_image"
and that class provides:
IMAGE_FSTYPES_append = " tar.bz2 sdimg"
so i need to add only that "INHERIT" line to my local.conf, correct?
also, what is the relationship between the meta-ti and
meta-beaglebaord layers? as i read it, meta-ti is now the "official" layer so i should use that exclusively, yes?
rday
Signature · 7 lines
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
======================================================================== i'm willing to follow some "official" recipe line by line to build a
simple bootable SD card for my BBB using the meta-ti layer, just to see where things seem to go wrong.
i just started a fresh build and the first thing i got was:
WARNING: Variable key FILES_${PN}-dev (${includedir} ${FILES_SOLIBSDEV} ${libdir}/*.la ${libdir}/*.o ${libdir}/pkgconfig ${datadir}/pkgconfig ${datadir}/aclocal ${base_libdir}/*.o ${libdir}/${BPN}/*.la ${base_libdir}/*.la) replaces original key FILES_ti-ipc-dev (${libdir}/*).
WARNING: Variable key FILES_${PN}-dev (${includedir} ${FILES_SOLIBSDEV} ${libdir}/*.la ${libdir}/*.o ${libdir}/pkgconfig ${datadir}/pkgconfig ${datadir}/aclocal ${base_libdir}/*.o ${libdir}/${BPN}/*.la ${base_libdir}/*.la) replaces original key FILES_ti-syslink-dev (${libdir}/*).
is this expected, or is this an indication of an obvious error on my part in terms of layer selection or something?
in any event, i'm going to take the build through to its conclusion
and try again. open to suggestions ...
rday
Signature · 7 lines
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================Quoted 18 lines · Robert P. J. Day
i'm willing to follow some "official" recipe line by line to build a
simple bootable SD card for my BBB using the meta-ti layer, just to see where things seem to go wrong.i just started a fresh build and the first thing i got was:
WARNING: Variable key FILES_${PN}-dev (${includedir} ${FILES_SOLIBSDEV} ${libdir}/*.la ${libdir}/*.o ${libdir}/pkgconfig ${datadir}/pkgconfig ${datadir}/aclocal ${base_libdir}/*.o ${libdir}/${BPN}/*.la ${base_libdir}/*.la) replaces original key FILES_ti-ipc-dev (${libdir}/*).
WARNING: Variable key FILES_${PN}-dev (${includedir} ${FILES_SOLIBSDEV} ${libdir}/*.la ${libdir}/*.o ${libdir}/pkgconfig ${datadir}/pkgconfig ${datadir}/aclocal ${base_libdir}/*.o ${libdir}/${BPN}/*.la ${base_libdir}/*.la) replaces original key FILES_ti-syslink-dev (${libdir}/*).
Quoted 2 lines
is this expected, or is this an indication of an obvious error on my part in terms of layer selection or something?
These 2 warnings have nothing to do with your problem.
Quoted 18 lines
in any event, i'm going to take the build through to its conclusion
and try again. open to suggestions ...rday
Signature · 11 lines
======================================================================== Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday ======================================================================== _______________________________________________ meta-ti mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-ti