Skip to content

Commit

Permalink
fix kernel versions to solve UART0 issue
Browse files Browse the repository at this point in the history
UART0 serial port does not work on latest kernels (neither on 5.15 not 6.1).
  • Loading branch information
redrathnure committed May 8, 2023
1 parent dc6b4df commit 2ab06c2
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions userpatches/lib.config
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#[[ $LINUXFAMILY == rockchip64 ]] && KERNELBRANCH="tag:v5.16.20" #always change to this kernel tag


# v5.15.91 and v6.1.9 are latest versions which have no isssues with UART0 serial port
[[ $LINUXFAMILY == rockchip64 && $BRANCH == current ]] && KERNELBRANCH="tag:v5.15.91"
[[ $LINUXFAMILY == rockchip64 && $BRANCH == edge ]] && KERNELBRANCH="tag:v6.1.9"
# v5.15.92 and v6.1.10 are latest versions which have no isssues with UART0 serial port
[[ $LINUXFAMILY == rockchip64 && $BRANCH == current ]] && KERNELBRANCH="tag:v5.15.92"
[[ $LINUXFAMILY == rockchip64 && $BRANCH == edge ]] && KERNELBRANCH="tag:v6.1.10"
echo KERNELBRANCH=$KERNELBRANCH

0 comments on commit 2ab06c2

Please sign in to comment.