Hi Fernando,
2016-10-07 10:13 GMT+03:00 Fernando Cassia <
fca...@gmail.com>:
> I have read many messages from this group, and I think this is the right
> place to ask, you have the programmers, and you have the guys with hardware
> knowledge like Alexey.
> Hardware: HL PC789 R1.0 netbook It features a WM8880, 1Gig of RAM and 8GB
> Toshiba NAND for storage, shipped with Adroid Kitkat.
All of those beasts I encountered also have an SPI serial flash chip
which holds the primary bootloader (W-load, non-interactive, can only
access serial flash), secondary bootloader (U-boot, interactive over
serial console, can access serial flash, NAND, SD, sometimes Ethernet
and/or USB), as well as two copies of u-boot config with a checksum.
> To add insult to injury, there is no way to invoke the android repair menu
> as phones depend on one pressing power on + volume updown and there are no
> such keys on these netbooks (and believe me, I have tried every possible
> combination).
Sure, as there is no recovery image in those ;-)
> So here I am with a WM8880 device that boots with an animated logo until the
> point it ends with a black screen and ... nothing.
Then it's not too bad in fact. If you see the first static logo, then
your U-boot works. If you see the animated logo, then your kernel
starts up, too. So your SPI and NAND are apparently ok - the problem
is somewhere down the road.
> I ve tried installing ADB/Fastboot on a Win7 system and plugging the netbook
> with a USB male-male cable to no avail. ADB doesn t see any android device.
There is USB device (OTG) functionality in the chip, where ADB might
work. Though I haven't seen a device with a connector soldered in
place, except developer boards such as APC (only heard reports of
such).
> So by looking at the PCB I saw what looks like an unsoldered PCB header,
> with the only diffeerence that the D+ and D- pins are reversed. In other
> words, D- is next to VCC and D+ is next to GND which doesn't make sense for
> USB.
Could be an OTG port instead. Serial is most usually unmarked (and
would say Rx+Tx instead of D+ and D-, as it doesn't have anything to
do with differential signalling).
> I wonder if this is some sort of RS232 port? or SPI?
There is most likely a serial port somewhere on the board as
unsoldered unlabeled pads, but keep in mind that WM8880 seems to use
CMOS signalling, so you will need a USB to serial converter such as
FTDI to get access (my old PL2303 didn't work).
> I'm also curious if there's any affordable hardware interface allowing one
> to program the NAND storage "in place" just by affiing a reader/writer
> directly to the chip pins, without powering the whole board. Just thinking
> aloud, pershps there's an easier option.
Sounds like an overkill, and frankly I don't know any :) You can
reflash the SPI chip with relative ease if required though (either
through a proper programmer for ~60 bucks with free shipping from
China, or through something home-brew such as Arduino).
> In other words... WHAT WOULD ALEXEY DO? ;)
It's always best to get serial console access as the first step when
something fails in weird ways, as it's quite annoying to wander in the
dark.
Adrien's advice to try booting from SD is also an option, but your
problem might be related to e.g. WonderMedia's obscure u-boot
configuration variables which their stock kernel reads as a poor-man's
substitute for a proper device tree to know how to work with the
specific board. You'll never know without seeing how it fails.
Also note that I haven't yet figured out how to make WM8880 work using
an upstream kernel without crashes in USB code, but quite frankly the
last time I tried was probably two years ago (had zero time for this
stuff since then unfortunately).
Happy to help further if I can!
Cheers,
Alexey