Quantum
b35d58df1f
Split code into generic, arch, and platform Made QEMU its own platform Added shitty uart upload script for lichee board until I can get fel to actually upload uboot payloads without hanging TODO: Move platform selection out of build script TODO: Move arch specific stuff from kernel to arch TODO: Common linker script for arch instead of having a copy in each platform
7 lines
179 B
Bash
Executable file
7 lines
179 B
Bash
Executable file
#!/bin/bash
|
|
|
|
stty -F /dev/ttyUSB0 115200 -echo -icrnl
|
|
echo "loadx" > /dev/ttyUSB0
|
|
sx -vv -X -k $1 < /dev/ttyUSB0 > /dev/ttyUSB0
|
|
echo "bootelf" > /dev/ttyUSB0
|
|
cat - < /dev/ttyUSB0
|