basic working buildroot - rauc example
This commit is contained in:
2
board/beacon-cm4/rootfs-overlay/etc/fw_env.config
Normal file
2
board/beacon-cm4/rootfs-overlay/etc/fw_env.config
Normal file
@@ -0,0 +1,2 @@
|
||||
/dev/mmcblk0 0x100000 0x8000
|
||||
/dev/mmcblk0 0x200000 0x8000
|
||||
31
board/beacon-cm4/rootfs-overlay/etc/rauc/system.conf
Normal file
31
board/beacon-cm4/rootfs-overlay/etc/rauc/system.conf
Normal file
@@ -0,0 +1,31 @@
|
||||
[system]
|
||||
compatible=beacon-cm4
|
||||
mountprefix=/run/rauc
|
||||
statusfile=/data/rauc.status
|
||||
bootloader=uboot
|
||||
bundle-formats=-plain
|
||||
|
||||
[keyring]
|
||||
path=/etc/rauc/keyring.pem
|
||||
use-bundle-signing-time=true
|
||||
|
||||
[slot.bootloader.0]
|
||||
device=/dev/mmcblk0
|
||||
type=boot-mbr-switch
|
||||
region-start=4M
|
||||
region-size=512M
|
||||
|
||||
[slot.rescue.0]
|
||||
device=/dev/mmcblk0p2
|
||||
type=raw
|
||||
|
||||
[slot.rootfs.0]
|
||||
device=/dev/mmcblk0p5
|
||||
type=ext4
|
||||
bootname=A
|
||||
|
||||
[slot.rootfs.1]
|
||||
device=/dev/mmcblk0p6
|
||||
type=ext4
|
||||
bootname=B
|
||||
|
||||
1
board/beacon-cm4/rootfs-overlay/etc/sudoers.d/user
Normal file
1
board/beacon-cm4/rootfs-overlay/etc/sudoers.d/user
Normal file
@@ -0,0 +1 @@
|
||||
user ALL=(ALL) NOPASSWD: ALL
|
||||
@@ -0,0 +1,6 @@
|
||||
[Manager]
|
||||
RuntimeWatchdogSec=10
|
||||
#RebootWatchdogSec=10min
|
||||
#KExecWatchdogSec=off
|
||||
#WatchdogDevice=
|
||||
|
||||
Reference in New Issue
Block a user