cvxx Posted July 24, 2018 Share Posted July 24, 2018 Hi, I have flashed Armbian_5.35_Orangepilite_Ubuntu_xenial_default_3.4.113_desktop.img - and it works fine with my Orange Pi Lite v.1.1 But if I flash Armbian_5.38_Orangepilite_Debian_stretch_next_4.14.14.img which is aslo supported, the device does not boot. At least I get no output on HDMI, and no serial console over OTG. So I cannot check if it does not boot at all, or dies somewhere in the middle How can I check why it does not boot? Link to comment Share on other sites More sharing options...
Igor Posted July 24, 2018 Share Posted July 24, 2018 23 minutes ago, cvxx said: serial console over OTG This console is n/a at boot time. You need to attach a normal serial console to those 3 pins to get u-boot output. Link to comment Share on other sites More sharing options...
cvxx Posted July 24, 2018 Author Share Posted July 24, 2018 Oh, I forgot about the TTL onboard... Thanks, the board boots fine, I can log in through the serial connection Link to comment Share on other sites More sharing options...
cvxx Posted July 25, 2018 Author Share Posted July 25, 2018 Does 4.14 kernel support otg serial? If yes, how do I enable it? Link to comment Share on other sites More sharing options...
Igor Posted July 25, 2018 Share Posted July 25, 2018 19 minutes ago, cvxx said: Does 4.14 kernel support otg serial? If yes, how do I enable it? It is mostly enabled by default. If not, check this example: https://github.com/armbian/build/blob/1d18b1ea1b51236acba56b3f234334ed8ef062f4/patch/kernel/sunxi-next/add_otg_neoair.patch Link to comment Share on other sites More sharing options...
cvxx Posted July 25, 2018 Author Share Posted July 25, 2018 I don't have "sun8i-h3-nanopi-neo-air.dts" file, so I can't evaluate the patch. Same file from linux-sunxi repo looks far too small for the patch: https://github.com/linux-sunxi/linux-sunxi/blob/sunxi-next/arch/arm/boot/dts/sun8i-h3-nanopi-neo-air.dts Just appending same lines to my dts gives an error during compile: # dtc -I dts -O dtb test.dts > sun8i-h3-orangepi-lite-pathced.dtb Error: test.dts:1641.1-7 Label or path ehci0 not found Error: test.dts:1645.1-7 Label or path ohci0 not found Error: test.dts:1649.1-9 Label or path usb_otg not found FATAL ERROR: Syntax error parsing input tree My original dts "sun8i-h3-orangepi-lite.dts" looks like this: https://pastebin.com/6qUhWuTC Any ideas where to apply the patch? Link to comment Share on other sites More sharing options...
Recommended Posts