Hi,
Am 24.06.2018 um 13:20 schrieb Michael Mrozek EvilDragon@openpandora.org:
On Sa, 2018-06-23 at 22:59 +0200, aTc wrote:
Hi,
thanks, I just installed it and tried it.
Unfortunately, without a battery, it still behaves the same like last time I tried (about a year ago):
The keyboard LEDs flash up brightly for a split second, and that's it.
On serial out, I get nothing except for: U-Boot SPL 2016.11-01334-g2b143578a0-dirty (Jun 23 2018 - 22:23:08) OMAP5432-GP ES2.0
This happens both with 2GB and 4GB RAM boards.
If your PCB boots (you've got one of the very mainboards, AFAIR), then something clearly is different.
@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).
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
On the other hand the keyboard backlight is the only visual indication of "MLO is starting" if you have no console message for whatever reasons.
Which helps to distinguish between an SD card with broken MLO and starting MLO. Well, if you boot from eMMC and the console works fine, this isn't important.
BR, Nikolaus
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