mirror of
https://github.com/FunKey-Project/FunKey-OS.git
synced 2025-12-12 23:58:50 +01:00
double boot and rootfs partitions
Signed-off-by: Michel Stempin <michel.stempin@wanadoo.fr>
This commit is contained in:
parent
5d825dd7bb
commit
829a1c3973
@ -1,4 +1,4 @@
|
|||||||
setenv bootargs console=ttyS0,115200 panic=5 rootwait fbcon=map:10 fbcon=font:VGA8x8 vt.global_cursor_default=0 root=/dev/mmcblk0p2 rootfstype=ext4 rootflags=commit=120,data=writeback,barrier=0,journal_async_commit rw quiet
|
setenv bootargs console=ttyS0,115200 panic=5 rootwait fbcon=map:10 fbcon=font:VGA8x8 vt.global_cursor_default=0 root=/dev/mmcblk0p3 rootfstype=ext4 rootflags=commit=120,data=writeback,barrier=0,journal_async_commit rw quiet
|
||||||
load mmc 0:1 0x41000000 uImage
|
load mmc 0:1 0x41000000 uImage
|
||||||
load mmc 0:1 0x41800000 sun8i-v3s-funkey.dtb
|
load mmc 0:1 0x41800000 sun8i-v3s-funkey.dtb
|
||||||
bootm 0x41000000 - 0x41800000
|
bootm 0x41000000 - 0x41800000
|
||||||
|
|||||||
4
FunKey/board/funkey/boot_alt.cmd
Normal file
4
FunKey/board/funkey/boot_alt.cmd
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
setenv bootargs console=ttyS0,115200 panic=5 rootwait fbcon=map:10 fbcon=font:VGA8x8 vt.global_cursor_default=0 root=/dev/mmcblk0p4 rootfstype=ext4 rootflags=commit=120,data=writeback,barrier=0,journal_async_commit rw quiet
|
||||||
|
load mmc 0:2 0x41000000 uImage
|
||||||
|
load mmc 0:2 0x41800000 sun8i-v3s-funkey.dtb
|
||||||
|
bootm 0x41000000 - 0x41800000
|
||||||
@ -28,22 +28,49 @@ image sdcard.img {
|
|||||||
size = 536K # 544KB - 8KB
|
size = 536K # 544KB - 8KB
|
||||||
}
|
}
|
||||||
|
|
||||||
# partition u-boot-env {
|
# partition u-boot-env0 {
|
||||||
# in-partition-table = "no"
|
# in-partition-table = "no"
|
||||||
# offset = 544K
|
# offset = 544K
|
||||||
# size = 128K
|
# size = 128K
|
||||||
# }
|
# }
|
||||||
|
|
||||||
partition boot {
|
# partition u-boot-env1 {
|
||||||
|
# in-partition-table = "no"
|
||||||
|
# offset = 672K
|
||||||
|
# size = 128K
|
||||||
|
# }
|
||||||
|
|
||||||
|
# partition gpt-table {
|
||||||
|
# in-partition-table = "no"
|
||||||
|
# offset = 800K
|
||||||
|
# size = 16K
|
||||||
|
# }
|
||||||
|
|
||||||
|
partition boot0 {
|
||||||
offset = 1M
|
offset = 1M
|
||||||
partition-type = 0xC
|
partition-type = 0xC
|
||||||
bootable = "true"
|
bootable = "true"
|
||||||
image = "boot.vfat"
|
image = "boot.vfat"
|
||||||
}
|
}
|
||||||
|
|
||||||
partition rootfs {
|
partition boot1 {
|
||||||
|
offset = 9M
|
||||||
|
partition-type = 0xC
|
||||||
|
bootable = "true"
|
||||||
|
image = "boot.vfat"
|
||||||
|
}
|
||||||
|
|
||||||
|
partition rootfs0 {
|
||||||
|
offset = 17M
|
||||||
partition-type = 0x83
|
partition-type = 0x83
|
||||||
image = "rootfs.ext4"
|
image = "rootfs.ext4"
|
||||||
size = 0
|
size = 111M
|
||||||
|
}
|
||||||
|
|
||||||
|
partition rootfs1 {
|
||||||
|
offset = 128M
|
||||||
|
partition-type = 0x83
|
||||||
|
image = "rootfs.ext4"
|
||||||
|
size = 128M
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user