From 519d4cf7f03910f23e6752066c85222b0bd87ce4 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 18 Jan 2019 21:17:39 -0800 Subject: [PATCH] serial kernel output still doesn't work Signed-off-by: Jeff Carr --- boot-script/Makefile | 5 +++++ boot-script/sdcard.cmd | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/boot-script/Makefile b/boot-script/Makefile index 8becb80..0c4c1d3 100644 --- a/boot-script/Makefile +++ b/boot-script/Makefile @@ -7,3 +7,8 @@ all: mkimage -C none -A arm -T script -d sid.cmd sid.scr mkimage -C none -A arm -T script -d jcarr.cmd jcarr.scr + +sdcard: + mkimage -C none -A arm -T script -d sdcard.cmd sdcard.scr + cp -a sdcard.* /boot/ + sync diff --git a/boot-script/sdcard.cmd b/boot-script/sdcard.cmd index 70d1261..fa5e237 100644 --- a/boot-script/sdcard.cmd +++ b/boot-script/sdcard.cmd @@ -15,7 +15,7 @@ ext4load mmc 1:1 ${ramdisk_addr_r} /boot/uInitrd-4.19.2-sunxi64 ext4load mmc 1:1 ${kernel_addr_r} /boot/vmlinuz-4.19.2-sunxi64 ext4load mmc 1:1 ${fdt_addr_r} /boot/dtb/allwinner/sun50i-a64-pinebook.dtb -setenv bootargs 'root=/dev/mmcblk0p1 console=tty1 console=ttyS0,115200 3' +setenv bootargs 'root=/dev/mmcblk0p1 console=ttyS0,115200 3' booti ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr_r}