[Balloon] Problem loading fs tarball into balloon

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Charles Manning
Date:  
To: balloon
Subject: [Balloon] Problem loading fs tarball into balloon
Ballooners..

I have successfully used bbl to load a new bootloader, fpga binary and kernel,
but things came unstuck when I tried to load the tarball off the usb flash
due to missing kernel modules.

Hints please...

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-87FFFFFC (128Mbytes), bank not full

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
Enabling MMU... OK
boot> 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
Making mem32 tag at A00001EC
command line is: nointrd root=/dev/mtdblock1 init=/sbin/init /quiet
console=ttyS2,115200 rootfstype=yaffs2 cpufreq=59000-206400 machine_id=0
linuxEntryPoint=A0008000
Booting Linux image
Uncompressing
Linux...........................................................................................................................
Linux version 2.6.29.1-pxa270 (charles@qcore) (gcc version 4.3.2 (Debian
4.3.2-1.1) ) #8 Thu Mar 11 14:15:21 NZDT 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=59000-206400 machine_
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: 254780KB available (2664K code, 196K data, 1864K 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 Mar 11 2010 13:59:14 Installing.
msgmni has been set to 498
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:12 UTC (946684812)
Freeing init memory: 1864K
mount: mounting proc on /proc failed
mount: mounting sysfs on /sys failed
insmod: /drivers/usb/core/usbcore.ko: No such file or directory
insmod: /drivers/usb/host/ohci-hcd.ko: No such file or directory
modprobe: failed to load module ohci-hcd
insmod: /drivers/net/mii.ko: No such file or directory
insmod: /drivers/usb/core/usbcore.ko: No such file or directory
insmod: /drivers/net/usb/usbnet.ko: No such file or directory
insmod: /drivers/net/usb/asix.ko: No such file or directory
modprobe: failed to load module asix
insmod: /drivers/net/mii.ko: No such file or directory
insmod: /drivers/usb/core/usbcore.ko: No such file or directory
insmod: /drivers/net/usb/usbnet.ko: No such file or directory
insmod: /drivers/net/usb/dm9601.ko: No such file or directory
modprobe: failed to load module dm9601
insmod: /drivers/net/mii.ko: No such file or directory
insmod: /drivers/usb/core/usbcore.ko: No such file or directory
insmod: /drivers/net/usb/pegasus.ko: No such file or directory
modprobe: failed to load module pegasus
insmod: /drivers/usb/core/usbcore.ko: No such file or directory
insmod: /drivers/usb/storage/libusual.ko: No such file or directory
insmod: /drivers/scsi/scsi_mod.ko: No such file or directory
insmod: /drivers/usb/storage/usb-storage.ko: No such file or directory
modprobe: failed to load module usb-storage
insmod: /drivers/scsi/scsi_mod.ko: No such file or directory
insmod: /drivers/scsi/sd_mod.ko: No such file or directory
modprobe: failed to load module sd_mod
insmod: /fs/fat/fat.ko: No such file or directory
insmod: /fs/fat/vfat.ko: No such file or directory
modprobe: failed to load module vfat
insmod: /fs/ext2/ext2.ko: No such file or directory
modprobe: failed to load module ext2
modprobe: module led_class not found
modprobe: failed to load module led_class
modprobe: module pxa2xx_cs not found
modprobe: failed to load module pxa2xx_cs
modprobe: module rtc-sa1100 not found
modprobe: failed to load module rtc-sa1100
insmod: /drivers/usb/gadget/pxa27x_udc.ko: No such file or directory
modprobe: failed to load module pxa27x_udc
insmod: /drivers/usb/gadget/pxa27x_udc.ko: No such file or directory
insmod: /drivers/usb/gadget/g_ether.ko: No such file or directory
modprobe: failed to load module g_ether
insmod: /drivers/i2c/i2c-core.ko: No such file or directory
insmod: /drivers/i2c/busses/i2c-pxa.ko: No such file or directory
modprobe: failed to load module i2c-pxa
insmod: /drivers/mmc/core/mmc_core.ko: No such file or directory
insmod: /drivers/mmc/host/pxamci.ko: No such file or directory
modprobe: failed to load module pxamci
Initializing random number generator... done.
Starting network...
ip: RTNETLINK answers: File exists
Generating RSA Key...
Will output 1024 bit rsa secret key to '/etc/dropbear/dropbear_rsa_host_key'
Generating key, this may take a while...
Public key portion is:
ssh-rsa
AAAAB3NzaC1yc2EAAAADAQABAAAAgwClmipJ3L5cXUv/eMZn+ZmHySoidUgWAB+5r6E0T66gQsYw+Q1qTRqX5iiiyrFPP3pSSCZPRabewVbgp9+SCk3GRdFyn27dIk0Js98bY@
Fingerprint: md5 78:38:82:6e:f3:58:43:fc:62:40:31:f4:5c:3c:b6:b8
Generating DSS Key...
Will output 1024 bit dss secret key to '/etc/dropbear/dropbear_dss_host_key'
Generating key, this may take a while...
Public key portion is:
ssh-dss
AAAAB3NzaC1kc3MAAACBAOydgBe/4sk6aBi10I1v8p+3izmKPF+6gLuAZ/xTQ/1/rCA+VOIylxh20pv4o/3HScRW+5kd9vVVYTKGrBcfP4u6WJFPSTOUSrhTgKei6Q4hN+F/J@
Fingerprint: md5 35:5a:e0:47:51:88:ed:97:93:6c:36:b3:05:86:16:84
Starting dropbear sshd: OK



Welcome to the Balloon3 installer/bootstrap/buildroot environment.

login: root
# setup
installing usb support
insmod: /drivers/usb/core/usbcore.ko: No such file or directory
insmod: /drivers/usb/host/ohci-hcd.ko: No such file or directory
modprobe: failed to load module ohci-hcd
adding usb storage support
insmod: /drivers/usb/core/usbcore.ko: No such file or directory
insmod: /drivers/usb/storage/libusual.ko: No such file or directory
insmod: /drivers/scsi/scsi_mod.ko: No such file or directory
insmod: /drivers/usb/storage/usb-storage.ko: No such file or directory
modprobe: failed to load module usb-storage
adding vfat and ext2 support
insmod: /fs/fat/fat.ko: No such file or directory
insmod: /fs/fat/vfat.ko: No such file or directory
modprobe: failed to load module vfat
mounting root (may take a while)
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
/dev/mtdblock1 /mnt/root yaffs2 rw 0 0
root mounted
mounting boot
yaffs: dev is 32505856 name is "mtdblock0"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.0, "mtdblock0"
yaffs: restored from checkpoint
yaffs_read_super: isCheckpointed 1
/dev/mtdblock0 /mnt/boot yaffs2 rw 0 0
boot mounted
mounting sda1
mount: mounting /dev/sda1 on /mnt/sda1 failed
partition not found
#