Hi Denys! +Tom Rini
On July 21, 2022 thus sayeth Denys Dmytriyenko: > I don't think this is a correct solution, or maybe I'm not understanding the > problem. Can you please elaborate a bit more on the problem? > I'm fairly new to yocto so I'm sure I've found the entirely wrong way to get what I wanted :) After boot it appears /etc/fstab is setup to mount our vfat boot partition to the /boot directory currently holding the Image and dtbs. I guess because uboot has already thrown the kernel and dtb into ddr at this point only Anand was able to notice this. My change should mount the vfat partition to /boot/firmware so we can access to both our spls and kernel binaries in /boot. I'm also not sure what folder name to use here. It seem like there may be a standard to this? Would /boot/uboot be more correct? Thanks ~Bryan > > On Thu, Jul 21, 2022 at 04:01:52PM -0500, Bryan Brattlof wrote: > > Currently out boards will auto-mount the sd-card's boot partition into > > the /boot folder, effectively hiding the kernel image and dtb files that > > are already there. > > > > Move the boot partition mount point to /boot/firmware allowing access to > > both the bootloader binares and kernel images. > > > > Signed-off-by: Bryan Brattlof <[email protected]> > > --- > > wic/sdimage-2part.wks | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/wic/sdimage-2part.wks b/wic/sdimage-2part.wks > > index 77d6f7b576aef..7567c4429a2eb 100644 > > --- a/wic/sdimage-2part.wks > > +++ b/wic/sdimage-2part.wks > > @@ -2,5 +2,5 @@ > > # long-description: Creates a partitioned SD card image for TI platforms. > > # Boot files are located in the first vfat partition with extra reserved > > space. > > > > -part /boot --source bootimg-partition --ondisk mmcblk0 --fstype=vfat > > --label boot --active --align 1024 --extra-space 100M --use-uuid > > +part /boot/firmware --source bootimg-partition --ondisk mmcblk0 > > --fstype=vfat --label boot --active --align 1024 --extra-space 100M > > --use-uuid > > part / --source rootfs --ondisk mmcblk0 --fstype=ext4 --label root --align > > 1024 --use-uuid > > -- 2.17.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#14898): https://lists.yoctoproject.org/g/meta-ti/message/14898 Mute This Topic: https://lists.yoctoproject.org/mt/92535778/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
