主题 : tiny6410移植Openwrt-Pandorabox好多问题。。。。 复制链接 | 浏览器收藏 | 打印
学习Openwrt的。。。
级别: 侠客
UID: 107017
精华: 0
发帖: 64
金钱: 320 两
威望: 64 点
贡献值: 0 点
综合积分: 128 分
注册时间: 2014-08-11
最后登录: 2015-07-10
楼主  发表于: 2015-01-14 10:17

 tiny6410移植Openwrt-Pandorabox好多问题。。。。

U-Boot 1.1.6 (Jan  4 2015 - 09:27:38) for FriendlyARM MINI6410




CPU:     S3C6410@532MHz
         Fclk = 532MHz, Hclk = 133MHz, Pclk = 66MHz, Serial = CLKUART (SYNC Mode)
Board:   MINI6410
DRAM:    256 MB
Flash:   0 kB
NAND:    256 MB
In:      serial
Out:     serial
Err:     serial
MAC: 08:90:90:90:90:90
Hit any key to stop autoboot:  0


NAND read: device 0 offset 0x80000, size 0x500000
........................................ 5242880 bytes read: OK
Boot with zImage


Starting kernel ...


[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 3.10.56 (hades@PandoraBox-Server) (gcc version 4.8.3 (PandoraBox/Linaro GCC 4.8-2014.04 svn-r206) ) #1 Tue Nov 18 17:32:45 CST 2014
[    0.000000] CPU: ARMv6-compatible processor [410fb766] revision 6 (ARMv7), cr=00c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[    0.000000] Machine: MINI6410
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] CPU S3C6410 (id 0x36410101)
[    0.000000] S3C24XX Clocks, Copyright 2004 Simtec Electronics
[    0.000000] S3C64XX: PLL settings, A=532000000, M=532000000, E=24000000
[    0.000000] S3C64XX: HCLK2=266000000, HCLK=133000000, PCLK=66500000
[    0.000000] mout_apll: source is fout_apll (1), rate is 532000000
[    0.000000] mout_epll: source is epll (1), rate is 24000000
[    0.000000] mout_mpll: source is mpll (1), rate is 532000000
[    0.000000] usb-bus-host: source is clk_48m (0), rate is 48000000
[    0.000000] irda-bus: source is mout_epll (0), rate is 24000000
[    0.000000] CPU: found DTCM0 8k @ 00000000, not enabled
[    0.000000] CPU: moved DTCM0 8k to fffe8000, enabled
[    0.000000] CPU: found DTCM1 8k @ 00000000, not enabled
[    0.000000] CPU: moved DTCM1 8k to fffea000, enabled
[    0.000000] CPU: found ITCM0 8k @ 00000000, not enabled
[    0.000000] CPU: moved ITCM0 8k to fffe0000, enabled
[    0.000000] CPU: found ITCM1 8k @ 00000000, not enabled
[    0.000000] CPU: moved ITCM1 8k to fffe2000, enabled
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: root=/dev/mtdblock2 rootfstype=yaffs2 init=/linuxrc console=ttySAC0,115200 lcd=S70
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 256MB = 256MB total
[    0.000000] Memory: 255592k/255592k available, 6552k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     DTCM    : 0xfffe8000 - 0xfffec000   (  16 kB)
[    0.000000]     ITCM    : 0xfffe0000 - 0xfffe4000   (  16 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xd0800000 - 0xff000000   ( 744 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0382744   (3562 kB)
[    0.000000]       .init : 0xc0383000 - 0xc03a9124   ( 153 kB)
[    0.000000]       .data : 0xc03aa000 - 0xc03e9848   ( 255 kB)
[    0.000000]        .bss : 0xc03ea000 - 0xc0422ab8   ( 227 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:390
[    0.000000] VIC @f6000000: id 0x00041192, vendor 0x41
[    0.000000] VIC @f6010000: id 0x00041192, vendor 0x41
[    0.000000] sched_clock: 32 bits at 33MHz, resolution 30ns, wraps every 129171ms
[    0.000000] Console: colour dummy device 80x30
[    0.000546] Calibrating delay loop... 353.89 BogoMIPS (lpj=1769472)
[    0.050039] pid_max: default: 32768 minimum: 301
[    0.050557] Mount-cache hash table entries: 512
[    0.051986] CPU: Testing write buffer coherency: ok
[    0.052594] Setting up static identity map for 0xc00100a0 - 0xc00100fc
[    0.059348] NET: Registered protocol family 16
[    0.060711] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.066807] MINI6410: Option string mini6410=0
[    0.066849] MINI6410: selected LCD display is 480x272
[    0.072762] s3c64xx_dma_init: Registering DMA channels
[    0.074211] PL080: IRQ 73, at d0846000, channels 0..8
[    0.074947] PL080: IRQ 74, at d0848000, channels 8..16
[    0.074983] S3C6410: Initialising architecture
[    0.146960] bio: create slab <bio-0> at 0
[    0.151732] usbcore: registered new interface driver usbfs
[    0.152417] usbcore: registered new interface driver hub
[    0.153205] usbcore: registered new device driver usb
[    0.161776] Switching to clocksource samsung_clocksource_timer
[    0.217704] NET: Registered protocol family 2
[    0.219682] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    0.220050] TCP bind hash table entries: 2048 (order: 3, 40960 bytes)
[    0.220551] TCP: Hash tables configured (established 2048 bind 2048)
[    0.220755] TCP: reno registered
[    0.220815] UDP hash table entries: 256 (order: 1, 12288 bytes)
[    0.220997] UDP-Lite hash table entries: 256 (order: 1, 12288 bytes)
[    0.223756] s3c-adc s3c64xx-adc: attached adc driver
[    0.270364] ROMFS MTD (C) 2007 Red Hat, Inc.
[    0.272056] io scheduler noop registered
[    0.272099] io scheduler deadline registered
[    0.273956] io scheduler cfq registered (default)
[    0.300831] s3c-fb s3c-fb: window 0: fb
[    0.658894] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    0.664325] s3c6400-uart.0: ttySAC0 at MMIO 0x7f005000 (irq = 69) is a S3C6400/10
[    1.112395] console [ttySAC0] enabled
[    1.117101] s3c6400-uart.1: ttySAC1 at MMIO 0x7f005400 (irq = 70) is a S3C6400/10
[    1.124614] s3c6400-uart.2: ttySAC2 at MMIO 0x7f005800 (irq = 71) is a S3C6400/10
[    1.132098] s3c6400-uart.3: ttySAC3 at MMIO 0x7f005c00 (irq = 72) is a S3C6400/10
[    1.169371] brd: module loaded
[    1.185321] loop: module loaded
[    1.189118] s3c24xx-nand s3c6400-nand: Tacls=4, 30ns Twrph0=8 60ns, Twrph1=6 45ns
[    1.191074] s3c24xx-nand s3c6400-nand: System booted from NAND
[    1.196802] s3c24xx-nand s3c6400-nand: NAND soft ECC
[    1.201832] NAND device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3,3V 8-bit), 256MiB, page size: 2048, OOB size: 64
[    1.213787] Scanning device for bad blocks
[    1.409890] Creating 3 MTD partitions on "nand":
[    1.410029] 0x000000000000-0x000000100000 : "Bootloader"
[    1.415712] 0x000000100000-0x000000600000 : "kernel"
[    1.420693] 0x000000300000-0x000010000000 : "rootfs"
[    1.425986] mtd: device 2 (rootfs) set to be root filesystem
[    1.429833] mtdsplit: no squashfs found in "nand"
[    1.434484] s3c24xx-nand s3c6400-nand: clock idle support enabled
[    1.441173] [nandsim] warning: read_byte: unexpected data output cycle, state is STATE_READY return 0x0
[    1.449846] [nandsim] warning: read_byte: unexpected data output cycle, state is STATE_READY return 0x0
[    1.459276] [nandsim] warning: read_byte: unexpected data output cycle, state is STATE_READY return 0x0
[    1.468622] [nandsim] warning: read_byte: unexpected data output cycle, state is STATE_READY return 0x0
[    1.477989] [nandsim] warning: read_byte: unexpected data output cycle, state is STATE_READY return 0x0
[    1.487357] [nandsim] warning: read_byte: unexpected data output cycle, state is STATE_READY return 0x0
[    1.496746] NAND device: Manufacturer ID: 0x98, Chip ID: 0x39 (Toshiba NAND 128MiB 1,8V 8-bit), 128MiB, page size: 512, OOB size: 16
[    1.508911] flash size: 128 MiB
[    1.511750] page size: 512 bytes
[    1.514913] OOB area size: 16 bytes
[    1.518381] sector size: 16 KiB
[    1.521544] pages number: 262144
[    1.524717] pages per sector: 32
[    1.527925] bus width: 8
[    1.530473] bits in sector size: 14
[    1.533915] bits in page size: 9
[    1.537124] bits in OOB size: 4
[    1.540275] flash size with OOB: 135168 KiB
[    1.544413] page address bytes: 4
[    1.547709] sector address bytes: 3
[    1.551207] options: 0x42
[    1.567600] Scanning device for bad blocks
[    1.700088] Creating 1 MTD partitions on "NAND 128MiB 1,8V 8-bit":
[    1.700671] 0x000000000000-0x000008000000 : "NAND simulator partition 0"
[    1.710739] cs89x0: cs89x0_probe(0x0)
[    1.711001] Unable to handle kernel NULL pointer dereference at virtual address 0000030a
[    1.719044] pgd = c0004000
[    1.721796] [0000030a] *pgd=00000000
[    1.725301] Internal error: Oops: 5 [#1] ARM
[    1.729539] Modules linked in:
[    1.732589] CPU: 0 PID: 1 Comm: swapper Not tainted 3.10.56 #1
[    1.738396] task: cf838000 ti: cf83a000 task.ti: cf83a000
[    1.743792] PC is at cs89x0_ioport_probe.constprop.4+0xe8/0x8f8
[    1.749680] LR is at cs89x0_ioport_probe.constprop.4+0xd8/0x8f8
[    1.755578] pc : [<c0398d3c>]    lr : [<c0398d2c>]    psr: 40000153
[    1.755578] sp : cf83be80  ip : 00000000  fp : cf83a028
[    1.767024] r10: 00000080  r9 : 00000000  r8 : c03989c4
[    1.772231] r7 : cfba0c40  r6 : 00000300  r5 : cfba0800  r4 : 00000300
[    1.778738] r3 : 00000000  r2 : 0000030a  r1 : 00000001  r0 : cfba0c70
[    1.785249] Flags: nZcv  IRQs on  FIQs off  Mode SVC_32  ISA ARM  Segment kernel
[    1.792625] Control: 00c5387d  Table: 50004008  DAC: 00000015
[    1.798350] Process swapper (pid: 1, stack limit = 0xcf83a1b0)
[    1.804161] Stack: (0xcf83be80 to 0xcf83c000)
[    1.808515] be80: 00000000 00000000 00000000 00000000 c04214c6 00000019 c04214c6 0000000a
[    1.816669] bea0: 00000000 00000000 3045f7ff cfba0800 00000000 00000000 c0383484 c03989c4
[    1.824826] bec0: 00000000 00000080 cf83a028 c0026758 c0335ba4 cf83beec cf83a028 cf83beec
[    1.832982] bee0: cfba0800 c03a7e98 00000000 c0383484 c03989c4 c03995cc c03a7e34 00000000
[    1.841137] bf00: 00000001 c0398990 00000000 00000001 c03a0bcc c0398a10 cf83a000 c03a8e48
[    1.849294] bf20: 00000006 c0010c64 c0368f74 00000006 c06248f2 00000006 00000000 c03a8e48
[    1.857450] bf40: 00000006 c03a0bcc c0383484 c04204dc c0420be0 00000080 c03a0bd8 c0383af0
[    1.865605] bf60: 00000006 00000006 c0383484 10011020 00020000 00000000 c03c0b18 00000000
[    1.873761] bf80: c000ca8c 00000000 00000000 00000000 00000000 00000000 00000000 c000ca94
[    1.881917] bfa0: cf83a000 00000000 c000ca8c c0008f78 00000000 00000000 00000000 00000000
[    1.890073] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    1.898229] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000 02010400 00000400
[    1.906415] [<c0398d3c>] (cs89x0_ioport_probe.constprop.4+0xe8/0x8f8) from [<c03995cc>] (cs89x0_probe+0x80/0xf8)
[    1.916546] [<c03995cc>] (cs89x0_probe+0x80/0xf8) from [<c0398990>] (probe_list2+0x2c/0x60)
[    1.924874] [<c0398990>] (probe_list2+0x2c/0x60) from [<c0398a10>] (net_olddevs_init+0x4c/0x6c)
[    1.933558] [<c0398a10>] (net_olddevs_init+0x4c/0x6c) from [<c0010c64>] (do_one_initcall+0x90/0x148)
[    1.942666] [<c0010c64>] (do_one_initcall+0x90/0x148) from [<c0383af0>] (kernel_init_freeable+0xec/0x1c0)
[    1.952217] [<c0383af0>] (kernel_init_freeable+0xec/0x1c0) from [<c000ca94>] (kernel_init+0x8/0x17c)
[    1.961320] [<c000ca94>] (kernel_init+0x8/0x17c) from [<c0008f78>] (ret_from_fork+0x14/0x3c)
[    1.969725] Code: e59f37a0 e284200a e5933000 e585346c (e1d230b0)
[    1.975912] ---[ end trace 3a22ec675f1b734c ]---
[    1.980464] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[    1.980464]