Snowball Board
David Eden (452) 14 posts |
@Simon, I wonder how you got on with first boot. In my case I get nothing displayed using CVBS or HDMI other than a message (from the monitor) indicating 1280×720/60p. My DVI monitors show the usual ‘running rabbits’ of an unsynched display. I’ve yet to find gender benders to allow me to connect a hub/keyboard. @ Matthias, |
Simon Willcocks (1499) 522 posts |
@David Plugging in a network cable seems to have some effect; the leds on the connector flicker realistically, but ssh/telnet/ftp/http/rpcinfo connections all fail. |
David Eden (452) 14 posts |
@Simon, I’m so glad I’m not alone! |
Simon Willcocks (1499) 522 posts |
I’m using the 10-pin connector. It’s keyed, but I should probably check the my cable is compatible. It looks like it should be OK, pin 1 is connected to pin 1, etc. |
David Eden (452) 14 posts |
@Simon, A quick update on my earlier post on network connection. While I could ping the snowball I could only manage 2 or 3 pings. I have tried to use both telnet and SSH via PuTTY. Neither worked but got a “connection refused”. I think its on port 23. |
Simon Willcocks (1499) 522 posts |
The link seems to be there (labelled EN_RS232). However, the pinout is very different to the BeagleBoard (and, since the BB’s link is working, it’s probably wrong for the snowball. BB: Tx: 3, Rx: 2, Gnd: 5 Looks like the odd wires are going to have to come out again. |
Steve Pampling (1551) 8172 posts |
It seems the snowball is using an old style IDC connector pinning see the table in the URL: |
Jan Rinze (235) 368 posts |
Just use a mini-B to USB cable in the serial port and hook it up to a PC. |
Simon Willcocks (1499) 522 posts |
So it does.
Removed J24, and I’m getting something! On both cables…? 115200 8N2 has got me a console!
Lets me cat /dev/ttyUSB0
|
David Eden (452) 14 posts |
Yikes! 115KBaud, it would have taken me ages to cycle through to this. Thanks for the heads-up. Well, I can see the various boot and loader messages and it does terminate in a # —But the snowball won’t listen to me. Perhaps I should take it to the London show tomorrow, someone might be able to shine some light on it. |
Jan Rinze (235) 368 posts |
try ‘minicom -D /dev/ttyUSB0’ to get to the serial port setup: ‘ctrl-a’ ‘o’ the hw flow control is most likely causing the lack of response. |
David Eden (452) 14 posts |
Resolved! It was a hardware flow control problem, but not in the way Jan meant. I had removed the link (J24) to enable the ten pin RS232 port, thus disabling the MiniB port. The voyage begins, |
Simon Willcocks (1499) 522 posts |
Bother, now I have to find the link again to put it back on! They should make them bigger. The MiniB – A connectors I had a link to earlier don’t seem to work, but I’m not sure yet… I cut one up, and it’s got four cables going to the A socket connector, but I can’t tell what’s up with the fifth pin. The OS doesn’t manage apt-get update, the version, Natty, is too old (and the networking seems to be rather flaky). I’m working on sorting out/finding something newer that can be installed from micro-sd card. |
David Eden (452) 14 posts |
I await with bated breath, or something. |
David Eden (452) 14 posts |
FWIW there appears to be a version of Ubunto ‘Precise’ on the Linaro web site. Would this not be a useful intermediary? |
Jan Rinze (235) 368 posts |
Glad you sorted out the serial port. |
Simon Willcocks (1499) 522 posts |
I got a micro-sd card yesterday, but u-boot doesn’t seem to like it, or possibly just its formatting.
Strangely, the uImage, above, is the one on the my card, so why can’t it read boot.scr in the same directory? Is this the version you were talking about? I can’t see a kernel image in the archive…? It should probably be here: http://releases.linaro.org/12.11/ubuntu/precise-hwpacks |
Steve Pampling (1551) 8172 posts |
Don’t know whether this helps: Specifically references to where the snowball build u-boot etc expect files to be placed. |
Simon Willcocks (1499) 522 posts |
This is the latest version I can find with snowball support appears to be |
Jan Rinze (235) 368 posts |
@Simon: if you stop u-boot can you do ‘fatls mmc 1:1’ |
Simon Willcocks (1499) 522 posts |
** Can't read from device 1 ** ** Unable to use mmc 1:1 for fatls ** Also: U8500 $ mmc rescan 1 U8500 $ fat info mmc ** Invalid boot device, use `dev[:part]' ** U8500 $ fat info mmc 1:1 Partition info retrieved Interface: MMC Device 1: Vendor: Man 02544d Snr 1dcf0235 Rev: 1.1 Prod: SA04G Type: Removable Hard Disk Capacity: 3724.0 MB = 3.6 GB (7626752 x 512) No valid FAT fs found U8500 $ fat ls mmc 1:1 Partition info retrieved 529 Nov 10 2013 15:56:00 [file] boot.txt 545 Oct 10 2013 13:41:09 [file] flash.scr 601 Oct 11 2013 12:20:06 [file] uImage 601 Oct 10 2013 17:28:28 [file] boot.scr 0 Oct 11 2013 10:10:17 [dir ] boot 5 files, 1 dir uImage is just a copy of boot.scr so that I can tell if it has been loaded from the sd card (fails) or emmc (works). |
Simon Willcocks (1499) 522 posts |
Progress update: I downloaded http://releases.linaro.org/12.06/ubuntu/leb-snowball/lt-snowball-x11-base_20120626-156-ubuntu-desktop.img.bz2 and installed it to a micro sd card. (There is one later version; it didn’t work, so I thought the one before support was suspended might work better. It turned out that it didn’t work for the same reasons as this one.) The default u-boot system does not result in a working system*, so I use the following minicom script to start up the snowball: print Running uboot script I provide power to the board, then connect the USB cable for the serial port and run minicom. Start the script and press the power on button on the snowball. The system should boot up to a command prompt. For some reason my ethernet port seemed to be a bit flaky, at first, but after a while it settled down and I’m now running an apt-get update/upgrade. I’ve noticed it seems to get a new IP address every reboot, perhaps it randomises its MAC address? *Symptoms available on request, and when the upgrade is done. |
David Eden (452) 14 posts |
I can confirm that the boards get new IP addresses each boot and that the reason for that is that is the presentation of a new MAC address on each boot. |
Steve Pampling (1551) 8172 posts |
As I recall u-boot has a command to specify the MAC. ethaddr: Ethernet MAC address for first/only ethernet interface (= eth0 in Linux). eth1addr: Ethernet MAC address for second ethernet interface (= eth1 in Linux). 0000A4FF50xy should be fine (where x is 0-F and y is also 0-F) |
David Eden (452) 14 posts |
Progress — Backwards! |