Skip to content

Commit 4b1805d

Browse files
committed
Fix for serial console on 4.19 and hikey
1 parent 089944c commit 4b1805d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

hikey-kernel-builder.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,8 @@ elif [ "$ANDROID_VERSION" = "O-MR1" ]; then
118118

119119
elif [ "$ANDROID_VERSION" = "P" ]; then
120120
CMD="androidboot.console=ttyFIQ0 androidboot.hardware=hikey firmware_class.path=/vendor/firmware efi=noruntime printk.devkmsg=on buildvariant=userdebug overlay_mgr.overlay_dt_entry=hardware_cfg_enable_android_fstab initrd=0x11000000,0x17E28A"
121+
elif [ "$VERSION" = "4.19" ]; then
122+
CMD="console=ttyAMA3,115200 androidboot.console=ttyAMA3 androidboot.hardware=hikey firmware_class.path=/vendor/firmware efi=noruntime printk.devkmsg=on buildvariant=userdebug overlay_mgr.overlay_dt_entry=hardware_cfg_enable_android_fstab initrd=0x11000000,0x17E28A"
121123

122124
else
123125
echo "What Andoid Version are you running?"

0 commit comments

Comments
 (0)