On So, 2018-06-24 at 13:50 +0200, H. Nikolaus Schaller wrote:
Hi,
@hns: Can you boot the latest board revision that has been produced without a battery?
No. None of the boards I have can boot w/o battery, at least with my software setup. IMHO the problem is that MLO (SPL) doesn't enable high power in the bq24297. This is done in U-Boot. If I remember correctly, some very early boards without any keyboard backlight were able to boot without battery. So it might help to turn off the keyboard backlight (gpio8_230) in MLO (and maybe restart in U-Boot).
That might explain things, especially the reason it switches off as soon as they go to full brightness.
So try to change board/pandora/pyra+lc15/pyra+lc15.c line 51
#if defined(CONFIG_SPL_BUILD) {TIMER8_PWM_EVT, (PTD | IEN | M6)}, /* GPIO8_230: keyboard backlight - pulled low */ #else {TIMER8_PWM_EVT, (PTU | IEN | M6)}, /* GPIO8_230: keyboard backlight - pulled high */ #endif
Hm, it it hard to enable high power for the bq24297 in MLO? I mean, if we recompile the MLO anyways, why switch off the backlight instead of enabling high power mode (if that fixes it).
Or maybe change the brightness of the backlight to lowest?
On 06/23/2018 06:21 PM, Michael Mrozek wrote:
Hi,
I've collected all the mainboards I've got together and want to test which ones work (and what doesn't work) so I can prepare prototypes and send them out to devs.
I plan on using our Pyra OS rootfs, as that already has a setup to automatically run scripts on bootup, so I can write the testing scripts (so we can test all hardware features easily and comfortably).
However, as far as I know, the UBoot / Kernel used in our Pyra OS Setup only works if a battery is connected - which is horribly unconvenient if I just want to test bare boards.
Can someone give me a U-Boot which works fine without battery?
I've updated the one in http://packages.pyra-handheld.com/images/stretch/pyra-install.tgz to the latest gta uboot version (with the extlinux config patched in) As usual, it works on mine (booting fine without a battery), no idea if it works on the 4gb versions.
And which kernel is the best to use (where can I grab a binary)? I don't care about aufs at the moment, as that's not needed for th
testing scripts.
All kernels I've built are on the pyra repo, if you do an "apt- cache search linux-image" you'll get the full list of available kernels. The ones ending in -pyra have the aufs patches and a few config changes, the -letux ones are straight compiles from the letux repo. There are far more recent ones than the default kernel I use for the image on there, but they all have their problems (like the fbturbo driver failing on 4.16+ kernels, or not having a working tiler rotation)
-- Mit freundlichen Grüßen,
Michael Mrozek
OpenPandora GmbH Geschäftsführer: Michael Mrozek
Schäffbräustr. 11 85049 Ingolstadt Deutschland Tel.: 0841 / 990 5548 http://www.openpandora.de/ HRB 4879, Amtsgericht Ingolstadt
eMail: mrozek@openpandora.org _______________________________________________ Kernel mailing list Kernel@pyra-handheld.com http://pyra-handheld.com/cgi-bin/mailman/listinfo/kernel