Skip to content
Snippets Groups Projects
Commit ac5defc8 authored by Bob Mottram's avatar Bob Mottram
Browse files

Console parameter for usb boot

parent 71c4a04a
No related branches found
No related tags found
No related merge requests found
...@@ -160,6 +160,7 @@ arm_setup_boot() { ...@@ -160,6 +160,7 @@ arm_setup_boot() {
arm_boot_device="mmc \${mmcdev}:\${mmcpart}" arm_boot_device="mmc \${mmcdev}:\${mmcpart}"
arm_boot_start= arm_boot_start=
arm_boot_dev= arm_boot_dev=
arm_boot_console=
case "$dtb" in case "$dtb" in
"am"*) arm_loadaddr='0x82000000' "am"*) arm_loadaddr='0x82000000'
...@@ -173,6 +174,7 @@ arm_setup_boot() { ...@@ -173,6 +174,7 @@ arm_setup_boot() {
arm_initrd_addr='0x81600000' arm_initrd_addr='0x81600000'
arm_fdtaddr='0x815f0000' arm_fdtaddr='0x815f0000'
arm_boot_start='usb start; ' arm_boot_start='usb start; '
arm_boot_console=';usb'
fi fi
;; ;;
esac esac
...@@ -184,7 +186,7 @@ mmcrootfstype=$fstype rootwait fixrtc ...@@ -184,7 +186,7 @@ mmcrootfstype=$fstype rootwait fixrtc
mmcrootflags=subvol=@ mmcrootflags=subvol=@
${arm_boot_dev} ${arm_boot_dev}
console=ttyO0,115200n8 console=ttyO0,115200n8${arm_boot_console}
kernel_file=$vmlinuz kernel_file=$vmlinuz
initrd_file=$initRd initrd_file=$initRd
...@@ -215,7 +217,7 @@ setenv mmcrootfstype $fstype rootwait fixrtc ...@@ -215,7 +217,7 @@ setenv mmcrootfstype $fstype rootwait fixrtc
setenv mmcrootflags subvol=@ setenv mmcrootflags subvol=@
${arm_boot_dev} ${arm_boot_dev}
setenv console ttyS0,115200n8 setenv console ttyS0,115200n8${arm_boot_console}
setenv kernel_file $vmlinuz setenv kernel_file $vmlinuz
setenv initrd_file $initRd setenv initrd_file $initRd
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment