diff --git a/rules/rpi4cfs/5uart.bash b/rules/rpi4cfs/5uart.bash new file mode 100644 index 0000000..20943f7 --- /dev/null +++ b/rules/rpi4cfs/5uart.bash @@ -0,0 +1,10 @@ +maintainer=\ +( + 'Pedro Gonçalves ' +) + + +target_install() +{ + $cmd_cp $pkg_dir/cfs/5uart/* ${cfg_dir_rootfs}/boot/ +} diff --git a/rules/rpi4cfs/cfs/5uart/cmdline.txt b/rules/rpi4cfs/cfs/5uart/cmdline.txt new file mode 100644 index 0000000..ce7baf9 --- /dev/null +++ b/rules/rpi4cfs/cfs/5uart/cmdline.txt @@ -0,0 +1 @@ +dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 elevator=deadline rootwait quiet diff --git a/rules/rpi4cfs/cfs/5uart/config.txt b/rules/rpi4cfs/cfs/5uart/config.txt new file mode 100644 index 0000000..65044e9 --- /dev/null +++ b/rules/rpi4cfs/cfs/5uart/config.txt @@ -0,0 +1,6 @@ +dtoverlay=disable-bt +enable_uart=1 +dtoverlay=uart2 +dtoverlay=uart3 +dtoverlay=uart4 +dtoverlay=uart5 diff --git a/rules/rpi4cfs/cfs/5uart/ssh b/rules/rpi4cfs/cfs/5uart/ssh new file mode 100644 index 0000000..e69de29 diff --git a/rules/rpi4cfs/cfs/default/cmdline.txt b/rules/rpi4cfs/cfs/default/cmdline.txt new file mode 100644 index 0000000..edabbdd --- /dev/null +++ b/rules/rpi4cfs/cfs/default/cmdline.txt @@ -0,0 +1 @@ +dwc_otg.lpm_enable=0 console=ttyAMA0 root=/dev/mmcblk0p2 elevator=deadline rootwait quiet diff --git a/rules/rpi4cfs/cfs/default/config.txt b/rules/rpi4cfs/cfs/default/config.txt new file mode 100644 index 0000000..cf14427 --- /dev/null +++ b/rules/rpi4cfs/cfs/default/config.txt @@ -0,0 +1,2 @@ +dtoverlay=disable-bt +enable_uart=1 diff --git a/rules/rpi4cfs/cfs/default/ssh b/rules/rpi4cfs/cfs/default/ssh new file mode 100644 index 0000000..e69de29 diff --git a/rules/rpi4cfs/default.bash b/rules/rpi4cfs/default.bash new file mode 100644 index 0000000..974067a --- /dev/null +++ b/rules/rpi4cfs/default.bash @@ -0,0 +1,10 @@ +maintainer=\ +( + 'Pedro Gonçalves ' +) + + +target_install() +{ + $cmd_cp $pkg_dir/cfs/default/* ${cfg_dir_rootfs}/boot/ +}