linux-3.6.0 running on nanonote

Xiangfu Liu xiangfu at sharism.cc
Tue Oct 9 22:49:36 EDT 2012


Hi

Many thanks to mth, lars for maintain nanonote linux support.
attachment is the boot log of linxu-3.6 on nanonote. for fully
support OpenWrt rootfs, it needs those OpenWrt linux/generic
patches.

Commands for compile/reflash:
  make ARCH=mips CROSS_COMPILE=mipsel-openwrt-linux- vmlinux.bin
  gzip -9 -f $1/arch/mips/boot/vmlinux.bin
  mkimage \
    -A mips -O linux -T kernel -a 0x80010000 \
    -C gzip \
    -e 0x`mipsel-openwrt-linux-nm vmlinux | grep " kernel_entry" | cut -f1 -d ' '` \
    -n 'Ben NanoNote Linux Kernel' \
    -d arch/mips/boot/vmlinux.bin.gz uImage
  usbboot -c "boot;nprog 1024 uImage 0 0 -n;reset"

(the linux-3.6 source code is here: http://projects.qi-hardware.com/p/qi-kernel/)

Xiangfu
-------------- next part --------------
[    0.000000] Linux version 3.6.0+ (xiangfu at macbook) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #2 PREEMPT Wed Oct 10 10:18:41 CST 2012
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0ad0024f (Ingenic JZRISC)
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] User-defined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x01ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x01ffffff]
[    0.000000] Primary instruction cache 16kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line: mem=32M console=tty0 console=ttyS0,57600n8 ubi.mtd=2 rootfstype=ubifs root=ubi0:rootfs rw rootwait
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] __ex_table already sorted, skipping sort
[    0.000000] Memory: 27644k/32768k available (3368k kernel code, 5124k reserved, 1112k data, 160k init, 0k highmem)
[    0.000000] NR_IRQS:190
[    0.000000] Console: colour dummy device 80x25
[    0.000000] console [tty0] enabled
[    0.010000] Calibrating delay loop... 334.23 BogoMIPS (lpj=1671168)
[    0.080000] pid_max: default: 32768 minimum: 301
[    0.090000] Mount-cache hash table entries: 512
[    0.110000] NET: Registered protocol family 16
[    0.130000] JZ4740 GPIO initialized
[    0.140000] Qi Hardware JZ4740 QI LB60 setup
[    0.210000] bio: create slab <bio-0> at 0
[    0.230000] Advanced Linux Sound Architecture Driver Version 1.0.25.
[    0.250000] Switching to clocksource jz4740-timer
[    0.350000] NET: Registered protocol family 2
[    0.360000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    0.370000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.380000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.390000] TCP: reno registered
[    0.390000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.400000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.410000] NET: Registered protocol family 1
[    0.430000] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.440000] msgmni has been set to 53
[    0.450000] io scheduler noop registered
[    0.460000] io scheduler deadline registered (default)
[    0.490000] Console: switching to colour frame buffer device 40x15
[    0.520000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.540000] serial8250.0: ttyS0 at MMIO 0x10030000 (irq = 17) is a 16550
[    0.550000] console [ttyS0] enabled, bootconsole disabled
[    0.550000] console [ttyS0] enabled, bootconsole disabled
[    0.560000] serial8250.0: ttyS1 at MMIO 0x10031000 (irq = 16) is a 16550
[    0.580000] NAND device: Manufacturer ID: 0xec, Chip ID: 0xd5 (Samsung NAND 2GiB 3,3V 8-bit), page size: 4096, OOB size: 128
[    0.590000] jz4740-nand jz4740-nand.0: Found chip 0 on bank 1
[    0.600000] Scanning device for bad blocks
[    0.890000] Creating 4 MTD partitions on "jz4740-nand":
[    0.900000] 0x000000000000-0x000000400000 : "NAND BOOT partition"
[    0.920000] 0x000000400000-0x000000800000 : "NAND KERNEL partition"
[    0.940000] 0x000000800000-0x000020800000 : "NAND ROOTFS partition"
[    0.960000] 0x000020800000-0x000080000000 : "NAND DATA partition"
[    0.980000] jz4740-nand jz4740-nand.0: Successfully registered JZ4740 NAND driver
[    1.000000] UBI: attaching mtd2 to ubi0
[    1.010000] UBI: physical eraseblock size:   524288 bytes (512 KiB)
[    1.020000] UBI: logical eraseblock size:    516096 bytes
[    1.030000] UBI: smallest flash I/O unit:    4096
[    1.040000] UBI: VID header offset:          4096 (aligned 4096)
[    1.050000] UBI: data offset:                8192
[    1.480000] UBI: max. sequence number:       134
[    1.510000] UBI: attached mtd2 to ubi0
[    1.520000] UBI: MTD device name:            "NAND ROOTFS partition"
[    1.530000] UBI: MTD device size:            512 MiB
[    1.540000] UBI: number of good PEBs:        1024
[    1.550000] UBI: number of bad PEBs:         0
[    1.570000] UBI: number of corrupted PEBs:   0
[    1.580000] UBI: max. allowed volumes:       128
[    1.590000] UBI: wear-leveling threshold:    4096
[    1.600000] UBI: number of internal volumes: 1
[    1.610000] UBI: number of user volumes:     1
[    1.620000] UBI: available PEBs:             0
[    1.630000] UBI: total number of reserved PEBs: 1024
[    1.640000] UBI: number of PEBs reserved for bad PEB handling: 10
[    1.650000] UBI: max/mean erase counter: 2/1
[    1.660000] UBI: image sequence number:  931563639
[    1.670000] UBI: background thread "ubi_bgt0d" started, PID 246
[    1.680000] spi_gpio spi_gpio.1: master is unqueued, this is deprecated
[    1.720000] g_ether gadget: using random self ethernet address
[    1.730000] g_ether gadget: using random host ethernet address
[    1.750000] usb0: MAC ce:42:b7:29:a3:66
[    1.760000] usb0: HOST MAC 9a:af:19:c9:54:1a
[    1.770000] g_ether gadget: controller 'jz4740-udc' not recognized; trying CDC Ethernet (ECM)
[    1.780000] g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
[    1.790000] g_ether gadget: g_ether ready
[    1.800000] input: matrix-keypad as /devices/platform/matrix-keypad/input/input0
[    1.810000] jz4740-rtc jz4740-rtc: rtc core: registered jz4740-rtc as rtc0
[    1.880000] jz4740-mmc jz4740-mmc.0: JZ SD/MMC card driver registered
[    1.950000] qi-lb60-audio qi-lb60-audio:  jz4740-hifi <-> jz4740-i2s mapping ok
[    1.970000] TCP: westwood registered
[    1.980000] NET: Registered protocol family 17
[    2.000000] input: gpio-keys as /devices/platform/gpio-keys/input/input1
[    2.020000] jz4740-rtc jz4740-rtc: setting system clock to 1970-01-01 00:04:31 UTC (271)
[    2.030000] ALSA device list:
[    2.040000]   #0: QI LB60
[    2.130000] g_ether gadget: high-speed config #1: CDC Ethernet (ECM)
[    2.150000] mmc0: host does not support reading read-only switch. assuming write-enable.
[    2.170000] mmc0: new SD card at address 0003
[    2.200000] mmcblk0: mmc0:0003 SD 1.83 GiB 
[    2.220000]  mmcblk0: p1
[    2.420000] UBIFS: recovery needed
[    3.250000] UBIFS: recovery completed
[    3.260000] UBIFS: mounted UBI device 0, volume 0, name "rootfs"
[    3.270000] UBIFS: file system size:   516096000 bytes (504000 KiB, 492 MiB, 1000 LEBs)
[    3.280000] UBIFS: journal size:       10452992 bytes (10208 KiB, 9 MiB, 21 LEBs)
[    3.290000] UBIFS: media format:       w4/r0 (latest is w4/r0)
[    3.300000] UBIFS: default compressor: lzo
[    3.310000] UBIFS: reserved for root:  0 bytes (0 KiB)
[    3.330000] VFS: Mounted root (ubifs filesystem) on device 0:10.
[    3.340000] Freeing unused kernel memory: 160k freed


More information about the discussion mailing list


interactive