* [Buildroot] Using UUID to specify the root file system location. Orange pi zero
@ 2021-11-13 18:10 Sergey Kuzminov
0 siblings, 0 replies; only message in thread
From: Sergey Kuzminov @ 2021-11-13 18:10 UTC (permalink / raw)
To: buildroot
diff -u -r -N a/board/orangepi/orangepi-zero/boot.cmd
b/board/orangepi/orangepi-zero/boot.cmd
--- a/board/orangepi/orangepi-zero/boot.cmd 2021-11-10
15:17:38.000000000 +0300
+++ b/board/orangepi/orangepi-zero/boot.cmd 2021-11-13
20:56:18.045075778 +0300
@@ -1,8 +1,12 @@
setenv fdt_high ffffffff
-setenv bootargs console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2
rootwait
+part uuid mmc 0:2 uuid
+setenv bootargs console=ttyS0,115200 root=PARTUUID=${uuid} rootwait
fatload mmc 0 $kernel_addr_r zImage
fatload mmc 0 $fdt_addr_r sun8i-h2-plus-orangepi-zero.dtb
bootz $kernel_addr_r - $fdt_addr_r
+
+# Recompile with:
+# mkimage -C none -A arm -T script -d boot.cmd boot.scr
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-11-13 18:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-13 18:10 [Buildroot] Using UUID to specify the root file system location. Orange pi zero Sergey Kuzminov
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.