diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2022-10-31 12:44:09 +0000 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2022-10-31 12:44:09 +0000 |
commit | 8b5714139bb0d965eb626f87115964d8dcad04af (patch) | |
tree | 89adc3a525d83f30c3773e8c2614609120c54405 /sys/lib | |
parent | 297c6d8c490ea934a4cd968d9edc5656ecd209a4 (diff) |
reform: only override console=0 when no plan9.ini is passed
The kernel used to always set console=0, which as
usefull during bring-up, but makes it impossible
to use the uart for other purposes.
We now have the ability to pass plan9.ini using
the u-boot script, so add the console=0 line there.
To make debugging easy, we still apply
console=0 if no plan9.ini has been passed.
Diffstat (limited to 'sys/lib')
-rw-r--r-- | sys/lib/dist/mkfile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/lib/dist/mkfile b/sys/lib/dist/mkfile index 703602846..045f4560c 100644 --- a/sys/lib/dist/mkfile +++ b/sys/lib/dist/mkfile @@ -92,7 +92,9 @@ cd:V: /tmp/9front.386.iso.gz @{ objtype=arm64 kernel=/n/src9/$objtype/9reform.u - echo 'bootargs=local!/dev/sdM0/fs' > /env/plan9.ini + > /env/plan9.ini { + echo 'console=0' + } fatfiles=(/n/src9/sys/src/boot/reform/boot.scr /env/plan9.ini $kernel) mb=1885 # storage vendors idea of 2GB mk $target.$pid.disk |