Replying to myself an awful lot here. You're a silent crowd ;)
The sources for my lastest u-boot build are here:
http://git.foonas.org/?p=u-boot-tsppc.git;a=summary
I've figured out a couple of my problems so far, but I'm currently stuck
with two problems. The first problem is the delay for which the
bootloader waits for any button-presses, and the second is that pressing
the power button (to switch consoles) only works once. The delay issue
is rather simple, I believe it's just my maths that are off.
Does anyone here have the datasheet on the PIC? IIRC, there was a
command to reset the PIC on the second UART. If my memory serves,
resetting the PIC was necessary to get another the powerbutton to send
another event.
Another untested event is pressing the reset-button on the rear of the
device. This *should* load the default environment, and then write it to
flash. It's a basic failover in case one manages to mux up the env. so
the device won't boot or can't be contacted.
So far, the current u-boot should support this:
Boot from S-ATA (haven't tested, but it identifies the disk correctly)
Boot from TFTP (haven't tested this either, but can't see why it shouldn't)
Boot from flash (Will need a kernel+filesystem to match, this will be
provided by foonas-em soonish)
All buttons work (except the once-only powerbutton issue)
All leds work
Buzzer works (long or short beep only)
If things work out, which I hope they will do soonish, I can start
working on getting the kernel working again. At that point, patches for
u-boot (WITHOUT leds/buttons/buzzer support) and the kernel will be
pushed upstream.
If anyone wishes to help out, please notify me!
(Unfortunately, serial is a requirement, atleast at this stage)
Regards,
Øyvind Repvik
foonas founder