[ARMedslack] DreamPlug hang
Innes Read
armedslack at innes.veryspeedy.net
Sun Aug 21 17:22:03 UTC 2011
Dave,
Thanks for the quick response. I understand your point for the current
U-Boot stuff and will deal with that (ext2load is not available with the
Dreamplug it seems, so I'm stuck with a FAT16 option only but hey, same
difference).
In the meantime, the hang occurs even when I follow the similar
instructions for GA Slackware 13.37, ie. see the following output from
the U-Boot prompt:
tftpboot 0x01100000 armedslack-13.37/uinitrd-kirkwood.img
No link on egiga0
Using egiga1 device
TFTP from server 192.168.1.13; our IP address is 192.168.1.14
Filename 'armedslack-13.37/uinitrd-kirkwood.img'.
Load address: 0x1100000
Loading: *#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
###################
done
Bytes transferred = 17397761 (1097801 hex)
Marvell>> tftpboot 0x00800000 armedslack-13.37/uImage-kirkwood
Using egiga1 device
TFTP from server 192.168.1.13; our IP address is 192.168.1.14
Filename 'armedslack-13.37/uImage-kirkwood'.
Load address: 0x800000
Loading: *#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
########
done
Bytes transferred = 2033192 (1f0628 hex)
Marvell>> setenv bootargs console=ttyS0,115200 nodhcp kbd=uk
root=/dev/ram rw
Marvell>> bootm 0x00800000 0x01100000
## Booting kernel from Legacy Image at 00800000 ...
Image Name: Linux-2.6.38.4-kirkwood
Created: 2011-04-22 11:50:56 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2033128 Bytes = 1.9 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
Image Name: Slackware ARM Installer
Created: 2011-04-25 6:21:47 UTC
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 17397697 Bytes = 16.6 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
[ 0.000000] Linux version 2.6.38.4-kirkwood (root at wizbit) (gcc
version 4.5.2 (GCC) ) #2 PREEMPT Fri Apr 22 12:50:29 BST 2011
[ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE),
cr=00053977
[ 0.000000] CPU: VIVT data cache, VIVT instruction cache
[ 0.000000] Machine: Marvell GuruPlug Reference Board
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on.
Total pages: 130048
[ 0.000000] Kernel command line: console=ttyS0,115200 nodhcp kbd=uk
root=/dev/ram rw
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144
bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072
bytes)
[ 0.000000] Memory: 512MB = 512MB total
[ 0.000000] Memory: 498308k/498308k available, 25980k reserved, 0K
highmem
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] DMA : 0xffc00000 - 0xffe00000 ( 2 MB)
[ 0.000000] vmalloc : 0xe0800000 - 0xfe800000 ( 480 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .init : 0xc0008000 - 0xc0029000 ( 132 kB)
[ 0.000000] .text : 0xc0029000 - 0xc03d1a5c (3747 kB)
[ 0.000000] .data : 0xc03d2000 - 0xc03f9c38 ( 160 kB)
[ 0.000000] Preemptable hierarchical RCU implementation.
[ 0.000000] RCU-based detection of stalled CPUs is disabled.
[ 0.000000] Verbose stalled-CPUs detection is disabled.
[ 0.000000] NR_IRQS:114
[ 0.000000] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps
every 21474ms
[ 0.000000] Console: colour dummy device 80x30
[ 12.464411] Calibrating delay loop... 1192.75 BogoMIPS (lpj=5963776)
[ 12.704289] pid_max: default: 32768 minimum: 301
[ 12.704424] Security Framework initialized
[ 12.704496] Mount-cache hash table entries: 512
[ 12.704793] Initializing cgroup subsys ns
[ 12.704804] ns_cgroup deprecated: consider using the 'clone_children'
flag without the ns_cgroup.
[ 12.704818] Initializing cgroup subsys cpuacct
[ 12.704833] Initializing cgroup subsys devices
[ 12.704842] Initializing cgroup subsys freezer
[ 12.704851] Initializing cgroup subsys net_cls
[ 12.704915] CPU: Testing write buffer coherency: ok
[ 12.707457] print_constraints: dummy:
[ 12.707634] NET: Registered protocol family 16
[ 12.708861] Kirkwood: MV88F6281-A1, TCLK=200000000.
[ 12.708875] Feroceon L2: Cache support initialised.
[ 12.718412] bio: create slab <bio-0> at 0
[ 12.719203] vgaarb: loaded
[ 12.720747] Switching to clocksource orion_clocksource
[ 12.724286] Switched to NOHz mode on CPU #0
[ 12.739818] NET: Registered protocol family 2
[ 12.740028] IP route cache hash table entries: 4096 (order: 2, 16384
bytes)
[ 12.740754] TCP established hash table entries: 16384 (order: 5,
131072 bytes)
[ 12.741649] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
[ 12.741830] TCP: Hash tables configured (established 16384 bind 16384)
[ 12.741840] TCP reno registered
[ 12.741851] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 12.741874] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 12.742171] NET: Registered protocol family 1
[ 12.742381] Trying to unpack rootfs image as initramfs...
[ 13.846239] Freeing initrd memory: 16988K
[ 13.847383] audit: initializing netlink socket (disabled)
[ 13.847434] type=2000 audit(1.370:1): initialized
[ 13.906528] VFS: Disk quotas dquot_6.5.2
[ 13.906636] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 13.906750] JFFS2 version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat,
Inc.
[ 13.907145] msgmni has been set to 1006
[ 13.908019] Block layer SCSI generic (bsg) driver version 0.4 loaded
(major 253)
[ 13.908034] io scheduler noop registered
[ 13.908042] io scheduler deadline registered
[ 13.908105] io scheduler cfq registered (default)
[ 14.082907] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 14.104668] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
[ 14.487504] console [ttyS0] enabled
[ 14.499610] brd: module loaded
And solid hang again, same place. So this is still going to be a
problem even if I fix the current U-Boot commands to deal with the
slightly different way of loading. Or am I missing something?
Cheers, Innes.
On 21/08/2011 17:47, Dave Dowell wrote:
> Hi Innes,
>
> You need to go back over the Kirkwood install instructions, specifically
> the bit about setting up the uboot environment after completing the
> install.
>
> Your Dreamplug seems to be using a combined image (kernel+initrd rolled
> into one file), hence uboot is only set to load one file from sda.
> ARMedslack uses seperate kernel and initrd images, so uboot needs to be
> setup to load both images before calling the kernel to boot.
>
> Work through section 5.0 of the Kirkwood install instuctions.
> Specifically this bit.
>
> setenv bootcmd_slk 'usb start;ext2load usb 0:1 0x01100000
> /uinitrd-kirkwood;ext2load usb 0:1 0x00800000 /uImage-kirkwood;bootm
> 0x00800000 0x01100000'
>
>
> The first ext2load command of that line loads the initrd.
> The second ext2load command of that line loads the kernel.
> The bootm command uses the load addresses of both of the loaded files.
>
> Thanks
> Dave
More information about the ARMedslack
mailing list