Commit 3239971b authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Odroid HC2 does not have a console, use debug UART instead as the console

parent 5d6a41a2
...@@ -226,7 +226,7 @@ odroidhc2-boot-cmd: ...@@ -226,7 +226,7 @@ odroidhc2-boot-cmd:
define BOOTCMD_ODROIDHC2 define BOOTCMD_ODROIDHC2
load mmc 0:2 $${kernel_addr_r} boot/zImage load mmc 0:2 $${kernel_addr_r} boot/zImage
load mmc 0:2 $${fdt_addr_r} boot/machine.dtb load mmc 0:2 $${fdt_addr_r} boot/machine.dtb
setenv bootargs console=tty1 root=/dev/$(DISK)2 rootfstype=ext4 rootflags=discard rw rootwait elevator=noop quiet loglevel=3 systemd.show_status=1 setenv bootargs console=ttySAC2,115200n8 root=/dev/$(DISK)2 rootfstype=ext4 rootflags=discard rw rootwait elevator=noop quiet loglevel=3 systemd.show_status=1
bootz $${kernel_addr_r} - $${fdt_addr_r} bootz $${kernel_addr_r} - $${fdt_addr_r}
endef endef
export BOOTCMD_ODROIDHC2 export BOOTCMD_ODROIDHC2
...@@ -273,7 +273,7 @@ define BOOTCMD_ODROIDHC2_MENDER ...@@ -273,7 +273,7 @@ define BOOTCMD_ODROIDHC2_MENDER
run mender_setup run mender_setup
load $${mender_uboot_root} $${kernel_addr_r} boot/zImage load $${mender_uboot_root} $${kernel_addr_r} boot/zImage
load $${mender_uboot_root} $${fdt_addr_r} boot/machine.dtb load $${mender_uboot_root} $${fdt_addr_r} boot/machine.dtb
setenv bootargs console=tty1 panic=10 panic_on_oops=1 root=$${mender_kernel_root} rootfstype=ext4 ro rootwait elevator=noop quiet loglevel=3 systemd.show_status=1 setenv bootargs console=ttySAC2,115200n8 panic=10 panic_on_oops=1 root=$${mender_kernel_root} rootfstype=ext4 ro rootwait elevator=noop quiet loglevel=3 systemd.show_status=1
bootz $${kernel_addr_r} - $${fdt_addr_r} bootz $${kernel_addr_r} - $${fdt_addr_r}
run mender_try_to_recover run mender_try_to_recover
endef endef
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment