Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [Freitag, 23. November 2018] [21:50:06 CET] <z3ntu> Anybody have an idea why my Pine A64-LTS isn't booting (shutting off somewhere in the u-boot stage) when I have the DSI screen connected?
- [Freitag, 23. November 2018] [21:51:45 CET] <anarsoul|2> z3ntu: yep
- [Freitag, 23. November 2018] [21:52:08 CET] <anarsoul|2> you need to enable avdd and dvdd in ATF
- [Freitag, 23. November 2018] [21:52:17 CET] <anarsoul|2> with recent ATF all you need is to specify it in dts
- [Freitag, 23. November 2018] [21:52:43 CET] <anarsoul|2> i.e. panel supplies
- [Freitag, 23. November 2018] [21:52:56 CET] <z3ntu> we have github.com/apritzel/arm-trusted-firmware commit c9f55c023164a6c8c49f70f7ac6c68c626839d6f
- [Freitag, 23. November 2018] [21:53:10 CET] <anarsoul|2> use mainline ATF?
- [Freitag, 23. November 2018] [21:53:12 CET] <z3ntu> and I've changed the u-boot source to newest commit u-boot-sunxi
- [Freitag, 23. November 2018] [21:53:28 CET] <z3ntu> that repo says "OBSOLETE/OUTDATED" so probably not haha
- [Freitag, 23. November 2018] [21:55:05 CET] <z3ntu> anarsoul|2: so latest commit github.com/ARM-software/arm-trusted-firmware should work on the pine?
- [Freitag, 23. November 2018] [21:55:27 CET] <anarsoul|2> without LCD connected - yes. I haven't tested it with DSI display yet
- [Freitag, 23. November 2018] [21:55:34 CET] <anarsoul|2> but it picks regulators from dts
- [Freitag, 23. November 2018] [21:55:45 CET] <anarsoul|2> so if you have LCD in dts it should work
- [Freitag, 23. November 2018] [21:55:49 CET] <anarsoul|2> (in u-boot dts!)
- [Freitag, 23. November 2018] [21:56:03 CET] <z3ntu> is it in the u-boot-sunxi repo?
- [Freitag, 23. November 2018] [21:56:21 CET] <anarsoul|2> pine64-lts comes without LCD, so no
- [Freitag, 23. November 2018] [21:56:27 CET] <z3ntu> okay
- [Freitag, 23. November 2018] [21:56:40 CET] <z3ntu> does it hurt to put it in when no lcd is connected?
- [Freitag, 23. November 2018] [22:01:19 CET] <z3ntu> anarsoul|2: better question: where do I get these dts bits from? ^^
- [Freitag, 23. November 2018] [22:01:34 CET] <anarsoul|2> write them?
- [Freitag, 23. November 2018] [22:01:39 CET] <z3ntu> :(
- [Freitag, 23. November 2018] [22:01:40 CET] <anarsoul|2> pick them from my 4.17-dsi branch?
- [Freitag, 23. November 2018] [22:01:50 CET] <anarsoul|2> (i.e. port them from linux)
- [Freitag, 23. November 2018] [22:02:03 CET] <anarsoul|2> or from Jagan's branch
- [snip]
- [Freitag, 23. November 2018] [23:19:11 CET] <z3ntu> anarsoul|2: I'm assuming other distros can boot with the DSI display connected, what do they do differently?
- [Freitag, 23. November 2018] [23:19:55 CET] <anarsoul|2> z3ntu: if you're talking about BSP kernel/u-boot it just enables necessary regulators in u-boot or in ATF. I'm not sure where
- [Freitag, 23. November 2018] [23:21:10 CET] <anarsoul|2> basically you have to enable both avdd and dvdd, if either is not enabled LCD panel starts to draw too much power on other rail
- [Freitag, 23. November 2018] [23:21:58 CET] <anarsoul|2> that overloads axp and it shuts down
- [Freitag, 23. November 2018] [23:23:04 CET] <z3ntu> ah ok
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement