#14938: Kernel 3.10.28 doesn't work - kirkwood
------------------------+----------------------------------
  Reporter:  anonymous  |      Owner:  developers
      Type:  defect     |     Status:  new
  Priority:  high       |  Milestone:  Chaos Calmer (trunk)
 Component:  kernel     |    Version:  Trunk
Resolution:             |   Keywords:  kernel freez
------------------------+----------------------------------

Comment (by bittorf@…):

 it boots!
 hmmm, dont know what i have done - at least upgrade to kernel 3.14.17
 and flashed bin/kirkwood/openwrt-kirkwood-goflexnet-uImage
 (this is a goflex home - but it seems to work)

 {{{
 NAND read: device 0 offset 0x200000, size 0x300000
  3145728 bytes read: OK
 ## Booting kernel from Legacy Image at 06400000 ...
    Image Name:   ARM OpenWrt Linux-3.14.17
    Created:      2014-08-20   9:04:51 UTC
    Image Type:   ARM Linux Kernel Image (uncompressed)
    Data Size:    1602835 Bytes = 1.5 MiB
    Load Address: 00008000
    Entry Point:  00008000
    Verifying Checksum ... OK
    Loading Kernel Image ... OK
 Using machid 0xd0a from environment

 Starting kernel ...

 Uncompressing Linux... done, booting the kernel.
 [    0.000000] Booting Linux on physical CPU 0x0
 [    0.000000] Linux version 3.14.17 ([email protected]) (gcc
 version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r42220) ) #2 Wed Aug 20
 05:04:41 EDT 2014
 [    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE),
 cr=00053977
 [    0.000000] CPU: VIVT data cache, VIVT instruction cache
 [    0.000000] Machine model: Seagate GoFlex Net
 [    0.000000] Memory policy: Data cache writeback
 [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.
 Total pages: 32512
 [    0.000000] Kernel command line: console=ttyS0,115200
 mtdparts=orion_nand:1M(u-boot),1M@1M(second_stage_u-
 boot),3M@2M(kernel),251M@5M(rootfs) rw root=/dev/mtdblock3 rw
 rootfstype=jffs2
 [    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
 [    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536
 bytes)
 [    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768
 bytes)
 [    0.000000] Memory: 125240K/131072K available (3218K kernel code, 150K
 rwdata, 912K rodata, 132K init, 181K bss, 5832K reserved)
 [    0.000000] Virtual kernel memory layout:
 [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
 [    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
 [    0.000000]     vmalloc : 0xc8800000 - 0xff000000   ( 872 MB)
 [    0.000000]     lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
 [    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
 [    0.000000]       .text : 0xc0008000 - 0xc0410d5c   (4132 kB)
 [    0.000000]       .init : 0xc0411000 - 0xc04323a4   ( 133 kB)
 [    0.000000]       .data : 0xc0434000 - 0xc045992c   ( 151 kB)
 [    0.000000]        .bss : 0xc045992c - 0xc0486d78   ( 182 kB)
 [    0.000000] NR_IRQS:114
 [    0.000016] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every
 21474836475ns
 [    0.000149] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
 [    0.090096] pid_max: default: 32768 minimum: 301
 [    0.090212] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
 [    0.090231] Mountpoint-cache hash table entries: 1024 (order: 0, 4096
 bytes)
 [    0.092439] CPU: Testing write buffer coherency: ok
 [    0.092763] Setting up static identity map for 0x11168 - 0x111a4
 [    0.094546] pinctrl core: initialized pinctrl subsystem
 [    0.095508] regulator-dummy: no parameters
 [    0.096000] NET: Registered protocol family 16
 [    0.096379] DMA: preallocated 256 KiB pool for atomic coherent
 allocations
 [    0.098952] cpuidle: using governor ladder
 [    0.099025] Kirkwood: MV88F6281-A1.
 [    0.099175] Feroceon L2: Enabling L2
 [    0.099215] Feroceon L2: Cache support initialised.
 [    0.099684] [Firmware Info]: /ocp@f1000000/ethernet-
 controller@72000/ethernet0-port@0: local-mac-address is not set
 [    0.112445] bio: create slab <bio-0> at 0
 [    0.113043] USB Power: Failed to request enable GPIO29: -517
 [    0.113197] reg-fixed-voltage 1.regulator: Failed to register
 regulator: -517
 [    0.113216] platform 1.regulator: Driver reg-fixed-voltage requests
 probe deferral
 [    0.114029] SCSI subsystem initialized
 [    0.114813] usbcore: registered new interface driver usbfs
 [    0.114968] usbcore: registered new interface driver hub
 [    0.115141] usbcore: registered new device driver usb
 [    0.116617] Switched to clocksource orion_clocksource
 [    0.118463] NET: Registered protocol family 2
 [    0.119183] TCP established hash table entries: 1024 (order: 0, 4096
 bytes)
 [    0.119207] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
 [    0.119226] TCP: Hash tables configured (established 1024 bind 1024)
 [    0.119282] TCP: reno registered
 [    0.119294] UDP hash table entries: 256 (order: 0, 4096 bytes)
 [    0.119315] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
 [    0.119481] NET: Registered protocol family 1
 [    0.120833] futex hash table entries: 256 (order: -1, 3072 bytes)
 [    0.121323] squashfs: version 4.0 (2009/01/31) Phillip Lougher
 [    0.121334] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME)
 (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
 [    0.121546] msgmni has been set to 244
 [    0.122196] io scheduler noop registered
 [    0.122207] io scheduler deadline registered (default)
 [    0.123589] kirkwood-pinctrl f1010000.pinctrl: registered pinctrl
 driver
 [    0.198211] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
 [    0.199590] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 33,
 base_baud = 12500000) is a 16550A
 [    0.594193] console [ttyS0] enabled
 [    0.599603] nand: device found, Manufacturer ID: 0x98, Chip ID: 0xda
 [    0.605986] nand: Toshiba NAND 256MiB 3,3V 8-bit
 [    0.610644] nand: 256MiB, SLC, page size: 2048, OOB size: 64
 [    0.616336] Scanning device for bad blocks
 [    0.834816] 4 cmdlinepart partitions found on MTD device orion_nand
 [    0.841126] Creating 4 MTD partitions on "orion_nand":
 [    0.846289] 0x000000000000-0x000000100000 : "u-boot"
 [    0.852366] 0x000000100000-0x000000200000 : "second_stage_u-boot"
 [    0.859431] 0x000000200000-0x000000500000 : "kernel"
 [    0.865321] 0x000000500000-0x000010000000 : "rootfs"
 [    0.871530] mtd: device 3 (rootfs) set to be root filesystem
 [    0.877334] mtdsplit: no squashfs found in "orion_nand"
 [    0.883208] libphy: orion_mdio_bus: probed
 [    0.888035] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version
 1.4
 [    0.967579] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC
 address 00:10:75:26:28:7d
 [    0.976457] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
 [    0.983035] ehci-pci: EHCI PCI platform driver
 [    0.987653] ehci-platform: EHCI generic platform driver
 [    0.993086] ehci-orion: EHCI orion driver
 [    0.997233] orion-ehci f1050000.ehci: EHCI Host Controller
 [    1.002760] orion-ehci f1050000.ehci: new USB bus registered, assigned
 bus number 1
 [    1.010563] orion-ehci f1050000.ehci: irq 24, io mem 0xf1050000
 [    1.026633] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
 [    1.033405] hub 1-0:1.0: USB hub found
 [    1.037224] hub 1-0:1.0: 1 port detected
 [    1.041740] usbcore: registered new interface driver usb-storage
 [    1.051175] TCP: cubic registered
 [    1.054510] NET: Registered protocol family 17
 [    1.059258] 8021q: 802.1Q VLAN Support v1.8
 [    1.064475] regulator-dummy: disabling
 [    1.068699] USB Power: 5000 mV
 [    1.072287] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
 [    1.079710] UBIFS error (pid 1): ubifs_mount: cannot open
 "ubi0:rootfs", error -19
 [    1.570215] jffs2: Empty flash at 0x002001f8 ends at 0x00200800
 [    3.096834] jffs2: notice: (1) jffs2_build_xattr_subsystem: complete
 building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of
 xref (0 dead, 0 orphan) found.
 [    3.116661] VFS: Mounted root (jffs2 filesystem) on device 31:3.
 [    3.123090] Freeing unused kernel memory: 132K (c0411000 - c0432000)
 procd: Console is alive
 procd: - preinit -
 [    3.857298] random: mktemp urandom read with 2 bits of entropy
 available
 Press the [f] key and hit [enter] to enter failsafe mode
 Press the [1], [2], [3] or [4] key and hit [enter] to select the debug
 level
 mounting /dev/root
 procd: - early -
 procd: - ubus -
 procd: - init -
 Please press Enter to activate this console.
 [   12.399260] device eth0 entered promiscuous mode
 procd: - init complete -
 [   15.048092] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000
 Mb/s, full duplex, flow control disabled
 [   15.058663] br-lan: port 1(eth0) entered forwarding state
 [   15.064114] br-lan: port 1(eth0) entered forwarding state
 [   17.056633] br-lan: port 1(eth0) entered forwarding state
 ^_procd: Instance odhcpd::instance1 s in a crash loop 6 crashes, 0 seconds
 since last crash

 BusyBox v1.22.1 (2014-08-19 09:57:00 EDT) built-in shell (ash)
 Enter 'help' for a list of built-in commands.

   _______                     ________        __
  |       |.-----.-----.-----.|  |  |  |.----.|  |_
  |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
  |_______||   __|_____|__|__||________||__|  |____|
           |__| W I R E L E S S   F R E E D O M
  -----------------------------------------------------
  CHAOS CALMER (Bleeding Edge, r42220)
  -----------------------------------------------------
   * 1 1/2 oz Gin            Shake with a glassful
   * 1/4 oz Triple Sec       of broken ice and pour
   * 3/4 oz Lime Juice       unstrained into a goblet.
   * 1 1/2 oz Orange Juice
   * 1 tsp. Grenadine Syrup
  -----------------------------------------------------
 root@OpenWrt:/#
 }}}

 here is my (working) uboot-env:

 {{{
 GoFlexHome> printenv
 baudrate=115200
 bootcmd=${x_bootcmd_kernel}; setenv bootargs ${x_bootargs}
 ${x_bootargs_root}; ${x_bootcmd_usb}; bootm 0x6400000;
 bootdelay=3
 ethact=egiga0
 ethaddr=00:10:75:2d:81:be
 ipaddr=192.168.1.1
 machid=0xd0a
 serverip=192.168.1.2
 stderr=serial
 stdin=serial
 stdout=serial
 x_bootargs=console=ttyS0,115200 mtdparts=orion_nand:1M(u-boot),1M@1M
 (second_stage_u-boot),3M@2M(kernel),251M@5M(rootfs) rw
 x_bootargs_root=root=/dev/mtdblock3 rw rootfstype=jffs2
 x_bootcmd_kernel=nand read 0x6400000 0x200000 0x300000

 Environment size: 539/131068 bytes
 }}}

--
Ticket URL: <https://dev.openwrt.org/ticket/14938#comment:5>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to