aboutsummaryrefslogtreecommitdiff
path: root/board/solidrun
diff options
context:
space:
mode:
authorGravatar Baruch Siach <baruch@tkos.co.il>2018-06-25 19:20:17 +0300
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2018-06-25 21:14:15 +0200
commitd9d47b20b55268e8f9897dd2f40325f6c907b2da (patch)
treea092821e52e12edde2f089b96ed0bc8554587496 /board/solidrun
parent4da82c82364c75da9d8e011ffd73aaabe91b3106 (diff)
downloadbuildroot-d9d47b20b55268e8f9897dd2f40325f6c907b2da.tar.gz
buildroot-d9d47b20b55268e8f9897dd2f40325f6c907b2da.tar.bz2
configs/solidrun_clearfog: bump kernel and bootloader
Update the kernel version to 4.17.2. Update U-Boot version to 2018.05. Migrate to U-Boot generic distro configuration which is easier than the hand written boot script. Improve the 'dd' command example in readme.txt. Cc: Jan Kundrát <jan.kundrat@cesnet.cz> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'board/solidrun')
-rw-r--r--board/solidrun/clearfog/boot.scr.txt5
-rw-r--r--board/solidrun/clearfog/extlinux.conf4
-rwxr-xr-xboard/solidrun/clearfog/post-build.sh4
-rw-r--r--board/solidrun/clearfog/readme.txt2
4 files changed, 8 insertions, 7 deletions
diff --git a/board/solidrun/clearfog/boot.scr.txt b/board/solidrun/clearfog/boot.scr.txt
deleted file mode 100644
index a2332e3960..0000000000
--- a/board/solidrun/clearfog/boot.scr.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-setenv fdtfile armada-388-clearfog-base.dtb
-setenv bootargs root=/dev/mmcblk0p1
-load ${devtype} ${devnum}:${distro_bootpart} ${fdt_addr_r} ${prefix}/${fdtfile}
-load ${devtype} ${devnum}:${distro_bootpart} ${kernel_addr_r} ${prefix}/zImage
-bootz ${kernel_addr_r} - ${fdt_addr_r}
diff --git a/board/solidrun/clearfog/extlinux.conf b/board/solidrun/clearfog/extlinux.conf
new file mode 100644
index 0000000000..f35974e3ef
--- /dev/null
+++ b/board/solidrun/clearfog/extlinux.conf
@@ -0,0 +1,4 @@
+label Clearfog Linux
+ kernel /boot/zImage
+ devicetree /boot/armada-388-clearfog-base.dtb
+ append console=ttyS0,115200n8 root=/dev/mmcblk0p1 rootwait
diff --git a/board/solidrun/clearfog/post-build.sh b/board/solidrun/clearfog/post-build.sh
index ff22ebd6e5..1f5ff6a611 100755
--- a/board/solidrun/clearfog/post-build.sh
+++ b/board/solidrun/clearfog/post-build.sh
@@ -1,3 +1,5 @@
#!/bin/sh
-install -m 0644 -D $BINARIES_DIR/boot.scr $TARGET_DIR/boot/boot.scr
+BOARD_DIR="$(dirname $0)"
+
+install -m 0644 -D $BOARD_DIR/extlinux.conf $TARGET_DIR/boot/extlinux/extlinux.conf
diff --git a/board/solidrun/clearfog/readme.txt b/board/solidrun/clearfog/readme.txt
index b56f0a9b49..6046836f01 100644
--- a/board/solidrun/clearfog/readme.txt
+++ b/board/solidrun/clearfog/readme.txt
@@ -47,7 +47,7 @@ Buildroot prepares a bootable "sdcard.img" image in the output/images/
directory, ready to be dumped on a microSD card. Launch the following
command as root:
- dd if=./output/images/sdcard.img of=/dev/<your-microsd-device>
+ dd if=output/images/sdcard.img of=/dev/<your-microsd-device> conv=fdatasync
*** WARNING! The script will destroy all the card content. Use with care! ***