[Balloon] Help the newbie

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Charles Manning
Date:  
To: balloon
Subject: [Balloon] Help the newbie

I still have not managed to run built code on balloon

make
make dist

# ***************************************************************
# ** Your CPLD image is out of date. You need to regenerate it **
# **      with the XILINX tools. Specify path to these in      **
# **      XILINX-TOOLS in Makefile.local to automate this      **
# ***************************************************************
# ***************************************************************
# ** Your FPGA image is out of date. You need to regenerate it **
# **      with the XILINX tools. Specify path to these in      **
# **      XILINX-TOOLS in Makefile.local to automate this      **
# ***************************************************************
make[1]: Leaving directory `/opt/balloon/trunk/vhdl'



cd ../distro/binaries

utils/bbl --installer
utils/bbl --kernel

they looked happy.

  boot flash
booting kernel from partition >kernel<
kernel partition base 50200000
kernel_magic=E1A00000
kernel_region_words[9]=016F2818
Linux ELF flash_imgstart=50200000 size=00400000 dest=A0000000 offset=00008000
MMU Control=00000079
MMU PIDVAM=00000000
copying Linux kernel ... done
A0008000: E1A00000
A0008004: E1A00000
A0008008: E1A00000
A000800C: E1A00000
A0008010: E1A00000
A0008014: E1A00000
A0008018: E1A00000
A000801C: E1A00000
A0008020: EA000002
A0008024: 016F2818
root_filesystem_name=initrd
Grabbed linuxargs, argc = 00000001
Using mach_type 00000405
setting boot parameters to
nointrd root=/dev/mtdblock1 init=/sbin/init /quiet console=ttyS2,115200
Making core tag at A0000100
Making cmdline tag at A0000114
Making mem32 tag at A00001CC
Making mem32 tag at A00001DC
command line is: nointrd root=/dev/mtdblock1 init=/sbin/init /quiet 
console=ttyS2,115200  rootfstype=yaffs2 cpufreq=59000-2 
linuxEntryPoint=A0008000
Booting Linux image
Uncompressing 
Linux.............................................................................................. 
done, boo.
Linux version 2.6.31-pxa270 (charles@qcore) (gcc version 4.3.2 (Debian 
4.3.2-1.1) ) #6 Mon May 3 14:23:04 NZST 2010
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: nointrd root=/dev/mtdblock1 init=/sbin/init /quiet 
console=ttyS2,115200  rootfstype=yaffs2 cpufreq=590 
PID hash table entries: 1024 (order: 10, 4096 bytes)
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: 256572KB available (2648K code, 203K data, 116K init, 0K highmem)
NR_IRQS:208
Console: colour dummy device 80x30
Calibrating delay loop... 519.37 BogoMIPS (lpj=2596864)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
Initialising Balloon3
bio: create slab <bio-0> at 0
Switched to NOHz mode on CPU #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)
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
Samosa device registration
Samosa bus registration
Samosa services initialised.
VHDL logic version (memread):00004F15
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"
pxa27x_udc: version 2008-04-18
mice: PS/2 mouse device common for all mice
pxa-rtc pxa-rtc: rtc core: registered pxa-rtc as rtc0
cpuidle: using governor ladder
cpuidle: using governor menu
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)
VFS: Cannot open root device "mtdblock1" or unknown-block(31,1)
Please append a correct "root=" boot option; here are the available 
partitions:
1f00            4096 mtdblock0 (driver?)
1f01         1044480 mtdblock1 (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on 
unknown-block(31,1)
Backtrace: 
[<c00298f0>] (dump_backtrace+0x0/0x108) from [<c02304b0>] 
(dump_stack+0x18/0x1c)
 r6:c02d8f90 r5:00008000 r4:d7821f5c
[<c0230498>] (dump_stack+0x0/0x1c) from [<c02304f4>] (panic+0x40/0x128)
[<c02304b4>] (panic+0x0/0x128) from [<c0008e24>] 
(mount_block_root+0x18c/0x2d0)
 r3:00000000 r2:d78540ac r1:d7821f5c r0:c0284648
[<c0008c98>] (mount_block_root+0x0/0x2d0) from [<c0008fc4>] 
(mount_root+0x5c/0x6c)
[<c0008f68>] (mount_root+0x0/0x6c) from [<c00090d8>] 
(prepare_namespace+0x104/0x19c)
 r5:c0020808 r4:c02d83f4
[<c0008fd4>] (prepare_namespace+0x0/0x19c) from [<c0008494>] 
(kernel_init+0xe8/0x11c)
 r5:c001f2d8 r4:c001f2d8
[<c00083ac>] (kernel_init+0x0/0x11c) from [<c0041ff0>] (do_exit+0x0/0x630)
 r6:00000000 r5:00000000 r4:00000000