Skip to content

Commit

Permalink
fix rockchip uart bug
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelscholle committed Aug 1, 2024
1 parent 3297a92 commit 5c83757
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 0 additions & 1 deletion stages/02-Packages/00-run-chroot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

set -e

cat /boot/extlinux/extlinux*
# X20 specific code
function install_x20_packages {
#sudo apt install -y firmware-realtek NEEDS FIXING
Expand Down
8 changes: 5 additions & 3 deletions stages/03-Preconfiguration/00-run-chroot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@ rm /etc/motd
cp /usr/local/share/openhd_misc/motd /etc/motd

if [[ "${OS}" == "radxa-debian-rock5a" ]] || [[ "${OS}" == "radxa-debian-rock5b" ]] || [[ "${OS}" == "radxa-debian-rock-cm3" ]]; then
cat /etc/fstab
tree /conf
#rm /conf/before.txt
#fix uart bug
sudo sed -i -E 's/console=[^ ]*//g' /boot/extlinux/extlinux.txt
sudo sed -i -E 's/\s+/ /g' /boot/extlinux/extlinux.txt


cp /usr/local/share/openhd_misc/before.txt /conf/before.txt
#allow offline auto detection of image format
cp /usr/local/share/openhd_misc/issue.txt /conf/issue.txt
Expand Down

0 comments on commit 5c83757

Please sign in to comment.