brightsm 最近的时间轴更新
brightsm

brightsm

V2EX 第 81459 号会员,加入于 2014-11-13 22:27:22 +08:00
brightsm 最近回复了
2014-12-25 23:23:03 +08:00
回复了 xiaofami 创建的主题 问与答 无法下载 polarssl-1.3.9-gpl.tgz 导致 openwrt 编译失败
[ 0.400000] serial8250: ttyS0 at MMIO 0x10000500 (irq = 37) is a 16550A
[ 0.410000] serial8250: ttyS1 at MMIO 0x10000c00 (irq = 12) is a 16550A
[ 0.410000] Enable Ralink GDMA Controller Module
[ 0.420000] GDMA IP Version=3
[ 0.430000] loop: module loaded
[ 0.440000] Ralink SPI flash Driver for PandoraBox.
[ 0.440000] deice id : c2 20 17 c2 20 (2017c220)
[ 0.450000] MX25L6405D(c2 2017c220) (8192 Kbytes)
[ 0.450000] mtd .name = raspi, .size = 0x00800000 (0M) .erasesize = 0x00000008 (0K) .numeraseregions = 65536
[ 0.460000] Creating 5 MTD partitions on "raspi":
[ 0.470000] 0x000000000000-0x000000030000 : "u-boot"
[ 0.470000] 0x000000030000-0x000000040000 : "u-boot-env"
[ 0.480000] 0x000000040000-0x000000050000 : "Factory"
[ 0.490000] 0x000000000000-0x000000800000 : "fullflash"
[ 0.500000] 0x000000050000-0x000001000000 : "firmware"
[ 0.500000] mtd: partition "firmware" extends beyond the end of device "raspi" -- size truncated to 0x7b0000
[ 0.520000] Creating 2 MTD partitions on "raspi":
[ 0.520000] 0x000000050000-0x000000140000 : "kernel"
[ 0.530000] 0x000000140000-0x000001000000 : "rootfs"
[ 0.530000] mtd: partition "rootfs" extends beyond the end of device "raspi" -- size truncated to 0x6c0000
[ 0.550000] mtd: partition "rootfs" set to be root filesystem
[ 0.550000] mtd: partition "rootfs_data" created automatically, ofs=6B0000, len=150000
[ 0.560000] 0x0000006b0000-0x000000800000 : "rootfs_data"
[ 0.570000] rdm_major = 253
[ 0.570000] EEPROM:Read from [Factory] offset 0x28,length 0x6.
[ 0.580000] SMACCR1 -- : 0x0000000c
[ 0.580000] SMACCR0 -- : 0x43762077
[ 0.580000] Ralink APSoC Ethernet Driver Initilization. v3.0 64 rx/tx descriptors allocated, mtu = 1500!
[ 0.590000] EEPROM:Read from [Factory] offset 0x28,length 0x6.
[ 0.600000] SMACCR1 -- : 0x0000000c
[ 0.600000] SMACCR0 -- : 0x43762077
[ 0.610000] PROC INIT OK!
[ 0.610000] Ralink APSoC Hardware Watchdog Timer
[ 0.620000] sdhci: Secure Digital Host Controller Interface driver
[ 0.620000] sdhci: Copyright(c) Pierre Ossman
[ 0.630000] SDHC Interface init.
[ 0.630000] mtk-sd: MediaTek MT76xx MSDC Driver
[ 0.640000] sdhci-pltfm: SDHCI platform and OF driver helper
[ 0.650000] TCP: cubic registered
[ 0.650000] NET: Registered protocol family 17
[ 0.650000] 8021q: 802.1Q VLAN Support v1.8
[ 0.670000] VFS: Mounted root (squashfs filesystem) readonly on device 31:6.
[ 0.680000] Freeing unused kernel memory: 160k freed
##### MediaTek MT76xx ESW VLAN Partition(12345) #####
switch reg write offset=2004, value=ff0003
switch reg write offset=2104, value=ff0003
switch reg write offset=2204, value=ff0003
switch reg write offset=2304, value=ff0003
switch reg write offset=2404, value=ff0003
switch reg write offset=2504, value=ff0003
switch reg write offset=2010, value=810000c0
switch reg write offset=2110, value=810000c0
switch reg write offset=2210, value=810000c0
switch reg write offset=2310, value=810000c0
switch reg write offset=2410, value=810000c0
switch reg write offset=2510, value=810000c0
switch reg write offset=2610, value=81000000
switch reg write offset=2710, value=81000000
switch reg write offset=2604, value=20ff0003
switch reg write offset=2704, value=20ff0003
Special Tag Disabled
switch reg write offset=2610, value=81000000
12345
switch reg write offset=2014, value=10001
switch reg write offset=2114, value=10002
switch reg write offset=2214, value=10003
switch reg write offset=2314, value=10004
switch reg write offset=2414, value=10005
switch reg write offset=2514, value=10006
REG_ESW_WT_MAC_ATC is 0x7ff0002
done.
[ 2.950000] Button Hotplug driver version 0.4.1
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
[ 6.340000] jffs2: notice: (442) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 51 of xref (0 dead, 32 orphan) found.
[ 6.930000] SCSI subsystem initialized
[ 7.090000] usbcore: registered new interface driver usbfs
[ 7.090000] usbcore: registered new interface driver hub
[ 7.100000] usbcore: registered new device driver usb
[ 7.660000] xfs: Unknown symbol exportfs_decode_fh (err 0)
[ 7.760000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 7.780000] rt3xxx-ehci rt3xxx-ehci: Ralink EHCI Host Controller
[ 7.790000] rt3xxx-ehci rt3xxx-ehci: new USB bus registered, assigned bus number 1
[ 7.830000] rt3xxx-ehci rt3xxx-ehci: irq 18, io mem 0x101c0000
[ 7.850000] rt3xxx-ehci rt3xxx-ehci: USB 0.0 started, EHCI 1.00
[ 7.85
2014-12-25 23:22:48 +08:00
回复了 xiaofami 创建的主题 问与答 无法下载 polarssl-1.3.9-gpl.tgz 导致 openwrt 编译失败
我的兔兔飞路由器用的是mt7620n的cpu 32M sdr 我改的8M spiflash ,刷openwrt-ramips-mt7620n-rt-n14u-squashfs-sysupgrade.bin
openwrt-ramips-mt7620n-wrtnode-squashfs-sysupgrade.bin
openwrt-ramips-mt7620n-mlw221-squashfs-sysupgrade.bin
openwrt-ramips-mt7620n-wr8305rt-squashfs-sysupgrade.bin
都启动不了,都是显示start kenel就完了。
刷pandurao BOX MW305R的固件可以启动,我就想自己编译一个固件,可是就是得不到正确的固件。大侠分析一下。
失败的UBOOT信息
*** Warning - bad CRC, using default environment

Clocks: CPU:600MHz, Bus:120MHz
In: serial
Out: serial
Err: serial
Net: rt2880_eth_initialize...
VLAN: None
Fetching MAC Address from 0xbc040028
eth0: 34:bd:f9:8a:7f:94
eth0 up
eth0
Hit any key to stop autoboot: 0
## Booting image at 9c050000 ...
Image Name: MIPS OpenWrt Linux-3.10.49
Created: 2014-10-01 14:48:27 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 1080184 Bytes = 1 MB
Load Address: 80000000
Entry Point: 80000000
Verifying Checksum at 0x9c050040 ... OK
Uncompressing Kernel Image ... OK

Starting kernel ...

panduora box启动信息:
PandoraBox For Ralink SoC. Copyright 2005-2013 Lintel<[email protected]>


Linux Kernel started...

THIS IS ASIC
[ 0.000000] Linux version 3.4.54 (lintel@lintel-ThinkPad-T430) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #11 Sat Aug 3 03:53:37 CST 2013
[ 0.000000] MediaTek MT7620N CPU:600MHz, Bus:150MHz Uart:40MHz
[ 0.000000] Boot form:SPI FLASH
[ 0.000000] MIPS CPU sleep mode enabled.
[ 0.000000] Detecting memory...32 MB!
[ 0.000000] PCIE: bypass PCIe DLL.
[ 0.000000] PCIE: Elastic buffer control: Addr:0x68 -> 0xB4
[ 0.000000] disable all power about PCIe
[ 0.000000] PCIE: PLL power down for MT7620N
[ 0.000000] CPU revision is: 00019650 (MIPS 24KEc)
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 02000000 @ 00000000 (usable)
[ 0.000000] Zone PFN ranges:
[ 0.000000] Normal 0x00000000 -> 0x00002000
[ 0.000000] Movable zone start PFN for each node
[ 0.000000] Early memory PFN ranges
[ 0.000000] 0: 0x00000000 -> 0x00002000
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128
[ 0.000000] Kernel command line: console=ttyS1,115200n8 board=MW305R rootfstype=squashfs
[ 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] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[ 0.000000] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] Memory: 29324k/32768k available (2353k kernel code, 3444k reserved, 389k data, 160k init, 0k highmem)
[ 0.000000] SLUB: Genslabs=9, HWalign=16, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:128
[ 0.000000] MTK/Ralink System Tick Counter init... cd:8029f170, m:214748, s:32
[ 0.000000] console [ttyS1] enabled
[ 0.010000] Calibrating delay loop... 398.13 BogoMIPS (lpj=1990656)
[ 0.070000] pid_max: default: 32768 minimum: 301
[ 0.070000] Mount-cache hash table entries: 512
[ 0.080000] NET: Registered protocol family 16
[ 0.090000] MIPS: machine is Mercury MW305R
[ 0.090000] Ralink Board GPIO_MODE init:
[ 0.090000] I2C:GPIO
[ 0.100000] SPI_REFCLK:GPIO
[ 0.100000] UART_F:GPIO
[ 0.100000] GPIO_MODE_REGs: 0xa311d
[ 0.100000] ralink_register_flash:SPI Flash.
[ 0.110000] General GPIO Driver for MediaTek MT7620N Board. Copyright lintel<[email protected]> 2005-2013
[ 0.120000] gpiochip_add: registered GPIOs 0 to 23 on device: MT7620-GPIO0
[ 0.120000] gpiochip_add: registered GPIOs 24 to 39 on device: MT7620-GPIO1
[ 0.130000] gpiochip_add: registered GPIOs 40 to 71 on device: MT7620-GPIO2
[ 0.130000] gpiochip_add: registered GPIOs 72 to 95 on device: MT7620-GPIO3
[ 0.230000] MT7620 PPLL unlock
[ 0.250000] bio: create slab <bio-0> at 0
[ 0.260000] Switching to clocksource Ralink external timer
[ 0.270000] NET: Registered protocol family 2
[ 0.270000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.270000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.280000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.290000] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.290000] TCP: reno registered
[ 0.300000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.300000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.310000] NET: Registered protocol family 1
[ 0.310000] Ralink SoC clocks api init.
[ 0.320000] Ralink GPIODEV resource maped.
[ 0.320000] RT3xxx EHCI/OHCI init.
[ 0.350000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.360000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) © 2001-2006 Red Hat, Inc.
[ 0.370000] msgmni has been set to 57
[ 0.370000] io scheduler noop registered
[ 0.380000] io scheduler deadline registered (default)
[ 0.380000] io scheduler cfq registered
[ 0.390000] Ralink DMA Engine API Enable .
[ 0.390000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
2014-12-16 14:05:19 +08:00
回复了 windhunter 创建的主题 Linux 遇到一个 openwrt 上古怪的时间同步的问题,请各位帮忙看看。
vmebeh说的没错。
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1539 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 11ms · UTC 16:53 · PVG 00:53 · LAX 08:53 · JFK 11:53
Developed with CodeLauncher
♥ Do have faith in what you're doing.