> FPGA now shown to be working in novlio branch. I've copied the fix back
> to HEAD but not yet fought the Xilinx tools to generate corresponding
> fpga.bin and test it.
>
> Note that if upgrading existing boards it's very important to update
> the FPGA image first, then the bootloader. If you do it the other way
> round over this particular transition then the bootloader hangs
> looking for NAND forever, before you can upload anything new. That
> then becomes a 'JTAG moment'.
In order that I don't burst the hamster, I'd like to run things past you
before I do anything.
I build latest
cd /opt/ballon/trunk
make
make dist
Squinting at
http://www.balloonboard.org/balloonwiki/BalloonSoftwareLoading.... but
skipping the
I need to use the bbl tool and do the following, in this order:
check file names etc in bblrc
cd /opt/balloon/distro/binaries
utils/bbl --fpga
utils/bbl --bootldr
utils/bbl --kernel
And what's the login userid/passwd?
Attached is a log in case that is at all informative.
Thanks
Charles
UST
&_start=00000000
FLASH_BASE=00000000
Large memory model selected, bank size 256Mbytes
Bank 0: A0000000-A7FFFFFC (128Mbytes), bank not full
Bank 1: B0000000-B7FFFFFC (128Mbytes), bank not full
Bank 2: 90000000: no RAM found
Bank 3: 80000000: no RAM found
enabling mmu
FLASH_BASE=00000000
PXA: Evacuating 1MB of Flash to DRAM at: A3E00000
done
Map Flash virtual section to DRAM at: A3E00000
MMU table entries
00000000 A3E00C0A
00000040 04000C02
00000080 08000C02
00000100 10000C02
00000140 14000C02
00000000 A3E00C0A
00000500 00000C02
00000A00 A0000C0A
00000A40 A4000C0A
00000E00 E0000C02
If we crash here, it's probably because the wrong type of SDRAM
chip has been selected. Check SDRAM test above.
Uncompressing Linux.............................................................................................. done, booting the kernel.
Linux version 2.6.29.1-pxa270 (wookey@eisluft) (gcc version 4.3.3 (Debian 4.3.3-3) ) #1 Mon May 11 15:12:34 BST 2009
CPU: XScale-PXA270 [69054117] revision 7 (ARMv5TE), cr=0000397f
CPU: VIVT data cache, VIVT instruction cache
Machine: Balloon3
Memory policy: ECC disabled, Data cache writeback
Run Mode clock: 208.00MHz (*16)
Turbo Mode clock: 520.00MHz (*2.5, active)
Memory clock: 104.00MHz (/2)
System bus clock: 104.00MHz
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 64768
Kernel command line: noinitrd root=/dev/mtdblock1 init=/linuxrc console=ttyS2,115200 rootfstype=yaffs2 cpufreq=59000-206400 machine_id=00000
PID hash table entries: 1024 (order: 10, 4096 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 128MB 128MB = 256MB total
Memory: 256512KB available (2668K code, 197K data, 120K init)
Calibrating delay loop... 519.37 BogoMIPS (lpj=2596864)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 884 bytes
NET: Registered protocol family 16
Initialising Balloon3
bio: create slab <bio-0> at 0
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
NET: Registered protocol family 1
PXA CPU 27x max frequency not defined (pxa27x_maxfreq), assuming pxa271 with 416000kHz maxfreq
PXA CPU frequency change support initialized
NetWinder Floating Point Emulator V0.97 (double precision)
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
yaffs May 11 2009 15:09:46 Installing.
msgmni has been set to 501
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
Console: switching to colour frame buffer device 60x40
pxa2xx-uart.0: ttyS0 at MMIO 0x40100000 (irq = 22) is a FFUART
pxa2xx-uart.1: ttyS1 at MMIO 0x40200000 (irq = 21) is a BTUART
pxa2xx-uart.2: ttyS2 at MMIO 0x40700000 (irq = 20) is a STUART
console [ttyS2] enabled
NAND device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3,3V 8-bit)
4 NAND chips detected
Scanning device for bad blocks
Bad eraseblock 45 at 0x0000005a0000
Bad eraseblock 3091 at 0x000018260000
Bad eraseblock 4926 at 0x0000267c0000
Bad eraseblock 5598 at 0x00002bbc0000
Bad eraseblock 6734 at 0x0000349c0000
cmdlinepart partition parsing not available
Creating 2 MTD partitions on "balloon3-nand":
0x000000000000-0x000000400000 : "Boot"
0x000000400000-0x000040000000 : "Root fs"
mice: PS/2 mouse device common for all mice
pxa-rtc pxa-rtc: rtc core: registered pxa-rtc as rtc0
cpuidle: using governor ladder
Registered led device: balloon3:green:idle
Registered led device: balloon3:green:nand
TCP cubic registered
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
XScale iWMMXt coprocessor detected.
pxa-rtc pxa-rtc: setting system clock to 2000-01-01 00:00:11 UTC (946684811)
yaffs: dev is 32505857 name is "mtdblock1"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.1, "mtdblock1"
block 14 is bad
block 3060 is bad
block 4895 is bad
block 5567 is bad
block 6703 is bad
yaffs_read_super: isCheckpointed 0
VFS: Mounted root (yaffs2 filesystem) on device 31:1.
Freeing init memory: 120K
Failed to execute /linuxrc. Attempting defaults...
INIT: version 2.86 booting
.udev/ already exists on the static /dev! (warning).
Starting the hotplug events dispatcher: udevd.
Synthesizing the initial hotplug events...done.
Waiting for /dev to be fully populated...pxa27x_udc: version 2008-04-18
I2C: i2c-0: PXA I2C adapter
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
pxa27x-ohci pxa27x-ohci: PXA27x OHCI
pxa27x-ohci pxa27x-ohci: new USB bus registered, assigned bus number 1
pxa27x-ohci pxa27x-ohci: irq 3, io mem 0x4c000000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 3 ports detected
pxa2xx_ac97_try_cold_reset: cold reset timeout (GSR=0x0)
done.
Setting the system clock.
Activating swap...done.
save exit: isCheckpointed 1
Checking root file system...fsck 1.41.3 (12-Oct-2008)
fsck: fsck.auto: not found
fsck: Error 2 while executing fsck.auto for /lib/init/rw/rootdev
done.
Setting the system clock.
Cleaning up ifupdown....
Loading kernel modules...g_ether gadget: using random self ethernet address
g_ether gadget: using random host ethernet address
usb0: MAC ca:d8:b9:d9:bb:25
usb0: HOST MAC 92:fb:24:c1:c1:65
g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
g_ether gadget: g_ether ready
pxa27x-udc pxa27x-udc: UDC connecting
done.
Checking file systems...fsck 1.41.3 (12-Oct-2008)
done.
Setting kernel variables (/etc/sysctl.conf)...done.
Mounting local filesystems...mount: /sys already mounted or /sys busy
mount: according to mtab, sysfs is already mounted on /sys
failed.
Activating swapfile swap...done.
Setting up networking....
Configuring network interfaces...Internet Systems Consortium DHCP Client V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
SIOCSIFADDR: No such device
SIOCSIFADDR: No such device
eth0: ERROR while getting interface flags: No such device
eth0: ERROR while getting interface flags: No such device
Bind socket to interface: No such device
Failed to bring up eth0.
Internet Systems Consortium DHCP Client V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit
http://www.isc.org/sw/dhcp/
SIOCSIFADDR: No such device
SIOCSIFADDR: No such device
eth1: ERROR while getting interface flags: No such device
eth1: ERROR while getting interface flags: No such device
Bind socket to interface: No such device
Failed to bring up eth1.
done.
INIT: Entering runlevel: 2
Debian GNU/Linux 5.0 balloon ttyS2
balloon login:
usb 1-1: new full speed USB device using pxa27x-ohci and address 2
usb 1-1: configuration #1 chosen from 1 choice
eth0 (dm9601): not using net_device_ops yet
eth0: register 'dm9601' at usb-pxa27x-1, Davicom DM9601 USB Ethernet, 00:10:13:50:a3:66
usbcore: registered new interface driver dm9601
udev: renamed network interface eth0 to eth1
eth1: link down
NET: Registered protocol family 10
ADDRCONF(NETDEV_UP): eth1: link is not ready