New IT forum
27 June 2022, 12:06:35 pm *
Welcome, %1$s. Please login or register.

: CubieBoard 2 and Cubietruck both now in stock.
 
Pages: [1]

Author Topic: OpenWRT for Dreamplug  (Read 4130 times)

guy

  • Newbie
  • *
  • Posts: 1
OpenWRT for Dreamplug
« on: 05 June 2015, 01:48:01 pm »

Hi all,

I'm trying to get openWRT to work on my dream plug.. I can get the kernel to start but I'm struggling to get the kernel to locate the root partition.

I'm compiling openWRT TRUNK, and selecting "guruplug-server-plus" which does get me a kernel which is happy to load.

I've already upgraded u-boot:

Marvell>> version

U-Boot 2014.10+dfsg1-5 (Apr 07 2015 - 21:53:14)
Marvell-DreamPlug
gcc (Debian 4.9.2-10) 4.9.2
GNU ld (GNU Binutils for Debian) 2.25
Marvell>>

download_fdt=tftp 0x18000000 openwrt-kirkwood-guruplug-server-plus.dtb
download_kernel=tftp 0x12000000 $(kernel_name)


Marvell>> bootm 0x12000000 - 0x18000000
## Booting kernel from Legacy Image at 12000000 ...
   Image Name:   ARM OpenWrt Linux-3.18.14
   Created:      2015-06-05  12:54:40 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1707836 Bytes = 1.6 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 18000000
   Booting using the fdt blob at 0x18000000
   Loading Kernel Image ... OK
   Loading Device Tree to 0fffa000, end 0ffff82b ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 3.18.14 ([email protected]) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r45885) ) #13 Fri Jun 5 13:52:38 BST 2015
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine model: Globalscale Technologies Guruplug Server Plus
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
[    0.000000] Kernel command line: console=ttyS0,115200n8 earlyprintk
[    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: 514864K/524288K available (3382K kernel code, 148K rwdata, 956K rodata, 140K init, 186K bss, 9424K reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xffe00000   (2048 kB)
[    0.000000]     vmalloc : 0xe0800000 - 0xff000000   ( 488 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0444d54   (4340 kB)
[    0.000000]       .init : 0xc0445000 - 0xc0468000   ( 140 kB)
[    0.000000]       .data : 0xc0468000 - 0xc048d234   ( 149 kB)
[    0.000000]        .bss : 0xc048d234 - 0xc04bbcd0   ( 187 kB)
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000016] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 21474836475ns
[    0.000153] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[    0.090098] pid_max: default: 32768 minimum: 301
[    0.090244] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.090264] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.090738] CPU: Testing write buffer coherency: ok
[    0.091047] Setting up static identity map for 0x10838 - 0x10874
[    0.091323] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3
[    0.092944] pinctrl core: initialized pinctrl subsystem
[    0.093331] regulator-dummy: no parameters
[    0.096546] NET: Registered protocol family 16
[    0.096915] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.097732] cpuidle: using governor ladder
[    0.098052] Feroceon L2: Enabling L2
[    0.098095] Feroceon L2: Cache support initialised.
[    0.098371] [Firmware Info]: /[email protected]/[email protected]/[email protected]: local-mac-address is not set
[    0.098464] [Firmware Info]: /[email protected]/[email protected]/[email protected]: local-mac-address is not set
[    0.106218] SCSI subsystem initialized
[    0.106560] usbcore: registered new interface driver usbfs
[    0.106636] usbcore: registered new interface driver hub
[    0.106702] usbcore: registered new device driver usb
[    0.107553] Switched to clocksource orion_clocksource
[    0.108553] NET: Registered protocol family 2
[    0.109193] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.109250] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[    0.109302] TCP: Hash tables configured (established 4096 bind 4096)
[    0.109359] TCP: reno registered
[    0.109380] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.109402] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.109574] NET: Registered protocol family 1
[    0.110423] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.111470] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.111489] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.111740] msgmni has been set to 1005
[    0.112570] io scheduler noop registered
[    0.112587] io scheduler deadline registered (default)
[    0.113670] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    0.114212] irq: Cannot allocate irq_descs @ IRQ34, assuming pre-allocated
[    0.114528] irq: Cannot allocate irq_descs @ IRQ66, assuming pre-allocated
[    0.146217] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.147167] console [ttyS0] disabled
[    0.147232] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A
[    0.540701] console [ttyS0] enabled




Has anyone managed to make openwrt boot and run on a dream plug?  Any help would be very gratefully received.
Logged
Pages: [1]
 
 

Powered by MySQL Powered by PHP SMF 2.0.10 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!