|
极壹S(老版,hc5661)的DRAM识别有问题,breed状态下可识别128mb,但正常启动的话就只有32mb了
启动代码如下:
- Boot and Recovery Environment for Embedded Devices
- Copyright (C) 2015 HackPascal <hackpascal@gmail.com>
- Build date 2015-11-03 [git-0fd8ec8]
- Version 1.0 (r791)
- DRAM: 32MB
- Platform: MediaTek MT7620A ver 2, eco 6
- Board: HiWiFi HC5661/HC5761
- Clocks: CPU: 580MHz, Bus: 193MHz
- Flash: Winbond W25Q128 (16MB) on rt2880-spi
- rt2880-eth: Using MAC address d4:ee:07:1a:19:d1
- eth0: MediaTek MT7620A built-in 5-port 10/100M switch
- Network started on eth0, inet addr 192.168.1.1, netmask 255.255.255.0
- Press any key to interrupt autoboot ... 0
- Trying to boot firmware from 0x00050000 in flash bank 0 ...
- Reading data into memory ...
- U-Boot firmware image header detected.
- Image Name: j1s Linux-3.3.8
- Data Size: 943232 Bytes
- Load Address: 80000000
- Entry Point: 80000000
- Uncompressing data (LZMA) ... done.
- Flushing cache ... done.
- Starting kernel at 0x80000000...
- 怘▒f▒▒▒`▒f▒▒枀`▒▒▒f~▒▒▒▒▒▒▒▒f▒▒f▒~▒`x▒昞x▒▒x▒▒▒▒`fx▒▒▒▒▒▒`fx▒▒ff▒▒~▒x▒f▒▒▒▒▒▒▒▒▒怘▒怘▒▒▒▒f▒▒fx▒▒f▒▒▒~▒▒~fx▒▒▒怘▒怘▒ f▒▒▒▒f▒▒▒▒f▒f▒▒▒Linux version 3.3.8 (cd@cd-desktop) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.0 2) ) #1 Wed Mar 4 12:21:20 CST 2015
- CPU Running in Little-Endian Mode !
- MediaTek MT7620 CPU:580MHz, Bus:145MHz Uart:40MHz
- Boot form:SPI FLASH
- MIPS CPU sleep mode enabled.
- Detecting memory...32 MB!
- PCIE: bypass PCIe DLL.
- PCIE: Elastic buffer control: Addr:0x68 -> 0xB4
- disable all power about PCIe
- CPU revision is: 00019650 (MIPS 24KEc)
- Determined physical RAM map:
- memory: 02000000 @ 00000000 (usable)
- Initrd not found or empty - disabling initrd
- Zone PFN ranges:
- Normal 0x00000000 -> 0x00002000
- Movable zone start PFN for each node
- Early memory PFN ranges
- 0: 0x00000000 -> 0x00002000
- Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128
- Kernel command line: console=ttyS1,115200n8 board=MW305R rootfstype=squashfs,jffs2
- PID hash table entries: 128 (order: -3, 512 bytes)
- Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
- Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
- Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
- Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
- Writing ErrCtl register=0007b2d0
- Readback ErrCtl register=0007b2d0
- Memory: 29444k/32768k available (2241k kernel code, 3324k reserved, 371k data, 172k init, 0k highmem)
- SLUB: Genslabs=9, HWalign=16, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
- NR_IRQS:128
- MTK/Ralink System Tick Counter init... cd:8027e210, m:214748, s:32
- console [ttyS1] enabled
- Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
- pid_max: default: 32768 minimum: 301
- Mount-cache hash table entries: 512
- NET: Registered protocol family 16
- MIPS: machine is Mercury MW305R
- Ralink Board GPIO_MODE init:
- I2C:GPIO
- SPI_REFCLK:GPIO
- UART_F:GPIO
- GPIO_MODE_REGs: 0x5a371d
- General GPIO Driver for MediaTek MT7620 Board . © 2005-2012 lintel<lintel.huang@gmail.com>
- GPIO maped at address:0xb0000600.
- gpiochip_add: registered GPIOs 0 to 23 on device: MT7620-GPIO0
- GPIO maped at address:0xb0000600.
- gpiochip_add: registered GPIOs 24 to 39 on device: MT7620-GPIO1
- GPIO maped at address:0xb0000600.
- gpiochip_add: registered GPIOs 40 to 71 on device: MT7620-GPIO2
- GPIO maped at address:0xb0000600.
- gpiochip_add: registered GPIOs 72 to 95 on device: MT7620-GPIO3
- RALINK_GPIOMODE = 5a371d
- RALINK_GPIOMODE = 58371d
- PPLL_CFG1=0xe78000
- MT7620 PPLL lock
- PPLL_DRV =0x80080504
- start PCIe register access
- *************** MT7620 PCIe RC mode *************
- PCIE0 no card, disable it(RST&CLK)
- bio: create slab <bio-0> at 0
- PCI host bridge to bus 0000:00
- pci_bus 0000:00: root bus resource [mem 0x20000000-0x2fffffff]
- pci_bus 0000:00: root bus resource [io 0x10160000-0x1016ffff]
- Switching to clocksource Ralink external timer
- NET: Registered protocol family 2
- IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
- TCP established hash table entries: 1024 (order: 1, 8192 bytes)
- TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
- TCP: Hash tables configured (established 1024 bind 1024)
- TCP reno registered
- UDP hash table entries: 256 (order: 0, 4096 bytes)
- UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
- NET: Registered protocol family 1
- Ralink GPIODEV resource maped.
- RT3xxx EHCI/OHCI init.
- squashfs: version 4.0 (2009/01/31) Phillip Lougher
- JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
- msgmni has been set to 57
- io scheduler noop registered
- io scheduler deadline registered (default)
- Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
- serial8250: ttyS0 at MMIO 0x10000500 (irq = 37) is a 16550A
- serial8250: ttyS1 at MMIO 0x10000c00 (irq = 12) is a 16550A
- Enable Ralink GDMA Controller Module
- GDMA IP Version=3
- spidrv_major = 217
- brd: module loaded
- deice id : ef 40 18 0 0 (40180000)
- W25Q128BV(ef 40180000) (16384 Kbytes)
- mtd .name = raspi, .size = 0x01000000 (0M) .erasesize = 0x00000010 (0K) .numeraseregions = 65536
- Squashfs filesystem found at offset 0x150000,adjustment mtd partition.
- Creating 9 MTD partitions on "raspi":
- 0x000000000000-0x000000030000 : "u-boot"
- 0x000000030000-0x000000040000 : "hw_panic"
- 0x000000040000-0x000000050000 : "Factory"
- 0x000000050000-0x000000150000 : "kernel"
- 0x000000150000-0x000000fd0000 : "rootfs"
- mtd: partition "rootfs" set to be root filesystem
- mtd: partition "rootfs_data" created automatically, ofs=510000, len=AC0000
- 0x000000510000-0x000000fd0000 : "rootfs_data"
- 0x000000fd0000-0x000000fe0000 : "hwf_config"
- 0x000000fe0000-0x000000ff0000 : "bdinfo"
- 0x000000ff0000-0x000001000000 : "backup"
- 0x000000050000-0x000000fd0000 : "firmware"
- rdm_major = 253
- EEPROM:Read from [Factory] offset 0x28,length 0x6.
- SMACCR1 -- : 0x0000d4ee
- SMACCR0 -- : 0x071a19d1
- Ralink APSoC Ethernet Driver Initilization. v3.0 64 rx/tx descriptors allocated, mtu = 1500!
- EEPROM:Read from [Factory] offset 0x28,length 0x6.
- SMACCR1 -- : 0x0000d4ee
- SMACCR0 -- : 0x071a19d1
- PROC INIT OK!
复制代码
下面的是启动breed后的代码:
- Boot and Recovery Environment for Embedded Devices
- Copyright (C) 2015 HackPascal <hackpascal@gmail.com>
- Build date 2015-11-03 [git-0fd8ec8]
- Version 1.0 (r791)
- DRAM: 128MB
- Platform: MediaTek MT7620A ver 2, eco 6
- Board: HiWiFi HC5661/HC5761
- Clocks: CPU: 580MHz, Bus: 193MHz
- Flash: Winbond W25Q128 (16MB) on rt2880-spi
- rt2880-eth: Using MAC address d4:ee:07:1a:19:d1
- eth0: MediaTek MT7620A built-in 5-port 10/100M switch
- Network started on eth0, inet addr 192.168.1.1, netmask 255.255.255.0
- Press any key to interrupt autoboot ... 2
- Autoboot aborted due to button press.
- Starting breed built-in shell
- breed>
复制代码 |
|