Message ID | 20240524023724.20109-1-twoerner@gmail.com |
---|---|
State | New |
Headers | show |
Series | [meta-rockchip,v2,1/3] rename root partition | expand |
On Thu 2024-05-23 @ 10:37:22 PM, Trevor Woerner wrote: > Rename the root partition to "rootfsA" in the off-chance the user may someday > be interested in implementing some sort of whole-partition update mechanism. > > Signed-off-by: Trevor Woerner <twoerner@gmail.com> > --- > v2 changes: > - (none) > --- > conf/machine/include/rockchip-extlinux.inc | 2 +- > wic/rockchip.wks | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) Applied to meta-rockchip, master branch.
On Thu 2024-05-23 @ 10:37:24 PM, Trevor Woerner via lists.yoctoproject.org wrote: > The dependency on pyelftools is now in upstream oe-core making this one > redundant. > > oe-core: 70eca6a5ccf4 ("u-boot: add missing dependency on pyelftools-native") > Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de> > Signed-off-by: Trevor Woerner <twoerner@gmail.com> > --- > v2 changes: > - add a git fixes-style link pointing to the upstream oe-core commit mentioned > in the commit message > - added Reviewed-by tag > --- > recipes-bsp/u-boot/u-boot_%.bbappend | 2 -- > 1 file changed, 2 deletions(-) Applied to meta-rockchip, master branch.
diff --git a/conf/machine/include/rockchip-extlinux.inc b/conf/machine/include/rockchip-extlinux.inc index ca33f4c7f42a..ab46b76d33a1 100644 --- a/conf/machine/include/rockchip-extlinux.inc +++ b/conf/machine/include/rockchip-extlinux.inc @@ -12,7 +12,7 @@ NONFITDT ?= "${@d.getVar('KERNEL_DEVICETREE').split('/')[1]}" UBOOT_EXTLINUX ?= "1" -UBOOT_EXTLINUX_ROOT ?= "root=PARTLABEL=root" +UBOOT_EXTLINUX_ROOT ?= "root=PARTLABEL=rootfsA" UBOOT_EXTLINUX_FDTDIR ?= "${@bb.utils.contains('KERNEL_IMAGETYPE', 'fitImage', '', '/boot', d)}" UBOOT_EXTLINUX_FDT ?= "${@bb.utils.contains('KERNEL_IMAGETYPE', 'fitImage', '', '${NONFITDT}', d)}" UBOOT_EXTLINUX_CONSOLE ?= "earlycon console=tty1 console=${RK_CONSOLE_DEVICE},${RK_CONSOLE_BAUD}n8" diff --git a/wic/rockchip.wks b/wic/rockchip.wks index bc65f73b0cf3..e1d74d9983ab 100644 --- a/wic/rockchip.wks +++ b/wic/rockchip.wks @@ -26,6 +26,6 @@ part uboot_env --offset 8128s --fixed-size 32K --fstype=none --part-name uboo part reserved2 --offset 8192s --fixed-size 4096K --fstype=none --part-name reserved2 part loader2 --offset 16384s --fixed-size 4096K --fstype=none --part-name loader2 --source rawcopy --sourceparams="file=u-boot.${UBOOT_SUFFIX}" part atf --offset 24576s --fixed-size 4096K --fstype=none --part-name atf -part / --label root --active --fstype=ext4 --part-name root --source rootfs +part / --label rootfsA --active --fstype=ext4 --part-name rootfsA --source rootfs bootloader --ptable gpt
Rename the root partition to "rootfsA" in the off-chance the user may someday be interested in implementing some sort of whole-partition update mechanism. Signed-off-by: Trevor Woerner <twoerner@gmail.com> --- v2 changes: - (none) --- conf/machine/include/rockchip-extlinux.inc | 2 +- wic/rockchip.wks | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)