[meta-ti] BeagleBone Black , u-boot, and zImage
Denys Dmytriyenko
denys at ti.com
Thu Aug 14 13:04:50 PDT 2014
On Thu, Aug 14, 2014 at 09:53:34PM +0200, Carlos Rafael Giani wrote:
> Hello,
>
> after building a rootfs for the Beaglebone Black, I see the
> following files in the deploy folder for the machine:
>
> MLO
> u-boot.img
> u-boot-spl.bin
> zImage
>
> as well as other symlinks with "-beaglebone" attached to their filenames.
>
> What should I copy, the SPL bin, or the .img u-boot binary?
> Also, u-boot tries to load a uImage, even though a zImage was built.
> There is also no uEnv.txt file.
> Do I have to write one to be able to let u-boot load the zImage, or
> should it work out-of-the-box?
Depends on the rootfs image you are building. Most images that are based on
core-image-base will take care of deploying necessary pieces into the rootfs.
But core-image-minimal is special and very bare-bone, so extra manual steps
are required.
Regardless of the rootfs image, you'd need MLO and u-boot.img to be located in
the first FAT partition of your SD card or eMMC flash.
Then, if your rootfs does not already have zImage and the necessary DTB files
in the /boot directory, you have to place them there (i.e. core-image-minimal)
and you are ready to boot. All the defaults will work for out-of-the-box in
this case. No uEnv.txt is necessary, unless you need to do something extra
special...
--
Denys
More information about the meta-ti
mailing list