summaryrefslogtreecommitdiff
path: root/package/u-boot/files
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2022-12-20 14:30:18 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2022-12-25 07:27:26 +0100
commit2f4941496c737543a12a0b6fc279081ef13b9a80 (patch)
tree083835e0116524f2edaafe528222d3c37c0cf8c1 /package/u-boot/files
parent13cca63887cce9a73379d19029128fa60c36fc52 (diff)
use rockpi4 b plus dtb instead of c, fixes bootup.
A lot of drivers where moved from mini.config to target/linux/config. WLAN works, ethernet works, i2c works, RTC works.
Diffstat (limited to 'package/u-boot/files')
-rw-r--r--package/u-boot/files/boot.script.rockpi44
1 files changed, 4 insertions, 0 deletions
diff --git a/package/u-boot/files/boot.script.rockpi4 b/package/u-boot/files/boot.script.rockpi4
new file mode 100644
index 000000000..1aca0bddb
--- /dev/null
+++ b/package/u-boot/files/boot.script.rockpi4
@@ -0,0 +1,4 @@
+setenv bootargs console=ttyS2,115200 root=/dev/mmcblk0p1 rootwait
+ext4load mmc 1:1 $kernel_addr_r boot/kernel
+ext4load mmc 1:1 $fdt_addr_r boot/rk3399-rock-pi-4b.dtb
+booti $kernel_addr_r - $fdt_addr_r