vak: (Улыбка)
[personal profile] vak
Получил новую платку, с пылу, с жару.
Документация здесь: Ci40 Hardware User Guide (PDF).


Вот такой протокол загрузки получается.
U-Boot SPL 2015.07-rc2 (Jul 14 2016 - 12:16:30)

U-Boot 2015.07-rc2 (Jul 14 2016 - 12:16:30 +0000)

MIPS(interAptiv): IMG Pistachio 546MHz.
Model: IMG Marduk
DRAM:  256 MiB
NAND:  512 MiB
MMC:   Synopsys Mobile storage: 0
SF: Detected W25Q16CL with page size 256 Bytes, erase size 4 KiB, total 2 MiB
*** Warning - bad CRC, using default environment

In:    uart@18101500
Out:   uart@18101500
Err:   uart@18101500
Net:   No valid Mac-addr found from dtb

Error: ethernet@18140000 address not set.
No ethernet found.
Hit any key to stop autoboot:  0 
SF: Detected W25Q16CL with page size 256 Bytes, erase size 4 KiB, total 2 MiB
UBI: attaching mtd2 to ubi0
UBI: scanning is finished
UBI: attached mtd2 (name "mtd=0", size 256 MiB) to ubi0
UBI: PEB size: 262144 bytes (256 KiB), LEB size: 253952 bytes
UBI: min./max. I/O unit sizes: 4096/4096, sub-page size 4096
UBI: VID header offset: 4096 (aligned 4096), data offset: 8192
UBI: good PEBs: 1018, bad PEBs: 6, corrupted PEBs: 0
UBI: user volume: 2, internal volumes: 1, max. volumes count: 128
UBI: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 741106112
UBI: available PEBs: 0, total reserved PEBs: 1018, PEBs reserved for bad PEB handling: 34
Loading file '/uImage' to addr 0x0e000000 with size 3404533 (0x0033f2f5)...
Done
Loading file '/pistachio_marduk.dtb' to addr 0x0d000000 with size 22618 (0x0000585a)...
Done
## Booting kernel from Legacy Image at 0e000000 ...
   Image Name:   MIPS OpenWrt Linux-4.1.13
   Image Type:   MIPS Linux Kernel Image (gzip compressed)
   Data Size:    3404469 Bytes = 3.2 MiB
   Load Address: 84000000
   Entry Point:  84000000
## Flattened Device Tree blob at 0d000000
   Booting using the fdt blob at 0xd000000
   Uncompressing Kernel Image ... OK
[    0.078685] console [ttyS1] enabled
[    0.082655] bootconsole [early0] disabled
[    0.102740] loop: module loaded
[    0.106341] lkdtm: No crash points registered, enable through debugfs
[    0.114176] ATU Clock Module Loaded
[    0.127652] m25p80 spi1.0: s25fl016k (2048 Kbytes)
[    0.133240] 4 cmdlinepart partitions found on MTD device spi-nor
[    0.139934] Creating 4 MTD partitions on "spi-nor":
[    0.145424] 0x000000000000-0x000000180000 : "uboot"
[    0.153194] 0x000000180000-0x000000182000 : "data-ro"
[    0.161200] 0x000000182000-0x000000184000 : "uEnv"
[    0.168645] 0x000000184000-0x000000200000 : "data-rw"
[    0.177323] nand: device found, Manufacturer ID: 0xc8, Chip ID: 0xb4
[    0.184446] nand: Gigadevice SPI NAND 512MiB 3,3V
[    0.189691] nand: 512 MiB, SLC, erase size: 256 KiB, page size: 4096, OOB size: 256
[    0.200133] Bad block table found at page 130944, version 0x01
[    0.208701] Bad block table found at page 130880, version 0x01
[    0.215970] nand_read_bbt: bad block at 0x00000e940000
[    0.221723] nand_read_bbt: bad block at 0x00000f300000
[    0.227445] nand_read_bbt: bad block at 0x00000fb00000
[    0.233193] nand_read_bbt: bad block at 0x00000fc00000
[    0.238913] nand_read_bbt: bad block at 0x00000fc80000
[    0.244657] nand_read_bbt: bad block at 0x00000fd00000
[    0.250425] nand_read_bbt: bad block at 0x000018000000
[    0.256145] nand_read_bbt: bad block at 0x000018040000
[    0.261913] nand_read_bbt: bad block at 0x00001ffc0000
[    0.267737] 2 cmdlinepart partitions found on MTD device spi-nand
[    0.274545] Creating 2 MTD partitions on "spi-nand":
[    0.280121] 0x000000000000-0x000010000000 : "firmware0"
[    0.288487] 0x000010000000-0x000020000000 : "firmware1"
[    0.298763] stmmaceth 18140000.ethernet: no reset control found
[    0.305414] stmmac - user ID: 0x10, Synopsys ID: 0x37
[    0.311061]  Ring mode enabled
[    0.314465]  DMA HW capability register supported
[    0.319510]  Normal descriptors
[    0.323227]  RX Checksum Offload Engine supported (type 2)
[    0.329334]  TX Checksum insertion supported
[    0.334107]  Wake-Up On Lan supported
[    0.338270]  Enable RX Mitigation via HW Watchdog Timer
[    0.347682] libphy: stmmac: probed
[    0.351522] eth0: PHY ID 00221561 at 0 IRQ POLL (stmmac-0:00) active
[    0.659876] 18120000.usb supply vusb_d not found, using dummy regulator
[    0.667410] 18120000.usb supply vusb_a not found, using dummy regulator
[    0.710130] dwc2 18120000.usb: EPs: 9, dedicated fifos, 4664 entries in SPRAM
[    1.279413] dwc2 18120000.usb: DWC OTG Controller
[    1.284796] dwc2 18120000.usb: new USB bus registered, assigned bus number 1
[    1.292745] dwc2 18120000.usb: irq 56, io mem 0x00000000
[    1.299044] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.306650] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.314727] usb usb1: Product: DWC OTG Controller
[    1.319970] usb usb1: Manufacturer: Linux 4.1.13 dwc2_hsotg
[    1.326207] usb usb1: SerialNumber: 18120000.usb
[    1.332725] hub 1-0:1.0: USB hub found
[    1.336978] hub 1-0:1.0: 1 port detected
[    1.343886] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.351593] usbcore: registered new interface driver cdc_acm
[    1.357907] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    1.367260] usbcore: registered new interface driver usb-storage
[    1.374599] usbcore: registered new interface driver usbserial
[    1.381414] usbcore: registered new interface driver usbserial_generic
[    1.388802] usbserial: USB Serial support registered for generic
[    1.400267] Registered IR keymap rc-empty
[    1.405516] input: IMG Infrared Decoder as /devices/virtual/rc/rc0/input0
[    1.413440] rc0: IMG Infrared Decoder as /devices/virtual/rc/rc0
[    1.420357] img-ir 18102200.ir: IMG IR Decoder (0.0.0.0) probed successfully
[    1.428213] img-ir 18102200.ir: Modes: hardware
[    1.433924] imgpdc-wdt 18102100.watchdog: watchdog module last reset due to soft reset
[    1.444253] device-mapper: ioctl: 4.31.0-ioctl (2015-3-12) initialised: dm-devel@redhat.com
[    1.455189] Synopsys Designware Multimedia Card Interface Driver
[    1.462884] dw_mmc 18142000.mmc: IDMAC supports 32-bit address mode.
[    1.470084] dw_mmc 18142000.mmc: Using internal DMA controller.
[    1.476710] dw_mmc 18142000.mmc: Version ID is 270a
[    1.482310] dw_mmc 18142000.mmc: DW MMC controller at irq 46, 32 bit host data width, 32 deep fifo
[    1.492439] dw_mmc 18142000.mmc: No vmmc regulator found
[    1.498362] dw_mmc 18142000.mmc: No vqmmc regulator found
[    1.520158] mmc_host mmc0: Bus speed (slot 0) = 87500000Hz (slot req 400000Hz, actual 397727HZ div = 110)
[    1.550337] dw_mmc 18142000.mmc: 1 slots initialized
[    1.557009] usbcore: registered new interface driver usbhid
[    1.563283] usbhid: USB HID core driver
[    1.568002] ashmem: initialized
[    1.573386] pktgen: Packet Generator for packet performance testing. Version: 2.74
[    1.583730] NET: Registered protocol family 10
[    1.591011] NET: Registered protocol family 17
[    1.596056] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    1.610160] 8021q: 802.1Q VLAN Support v1.8
[    1.619185] ubi0: attaching mtd4
[    3.160219] cfg80211: Calling CRDA to update world regulatory domain
[    3.502012] ubi0: scanning is finished
[    3.523805] ubi0: attached mtd4 (name "firmware0", size 256 MiB)
[    3.530593] ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 253952 bytes
[    3.538263] ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 4096
[    3.545867] ubi0: VID header offset: 4096 (aligned 4096), data offset: 8192
[    3.553662] ubi0: good PEBs: 1018, bad PEBs: 6, corrupted PEBs: 0
[    3.560491] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
[    3.568548] ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 741106112
[    3.578659] ubi0: available PEBs: 0, total reserved PEBs: 1018, PEBs reserved for bad PEB handling: 34
[    3.589118] ubi0: background thread "ubi_bgt0d" started, PID 495
[    3.591576] input: gpio_keys as /devices/platform/gpio_keys/input/input1
[    3.592103] hctosys: unable to open rtc device (rtc0)
[    3.644864] internal_dac_supply: disabling
[    3.886363] UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "rootfs", R/O mode
[    3.895736] UBIFS (ubi0:0): LEB size: 253952 bytes (248 KiB), min./max. I/O unit sizes: 4096 bytes/4096 bytes
[    3.906839] UBIFS (ubi0:0): FS size: 11935744 bytes (11 MiB, 47 LEBs), journal size 9404416 bytes (8 MiB, 38 LEBs)
[    3.918420] UBIFS (ubi0:0): reserved for root: 0 bytes (0 KiB)
[    3.924998] UBIFS (ubi0:0): media format: w4/r0 (latest is w4/r0), UUID AF927C60-0829-483D-BA5A-975F4C2F4F6D, small LPT model
[    3.941043] VFS: Mounted root (ubifs filesystem) readonly on device 0:11.
[    3.949846] Freeing unused kernel memory: 236K (84705000 - 84740000)
[    4.328525] init: Console is alive
[    4.333048] init: - watchdog -
[    4.570386] random: nonblocking pool is initialized
[    5.342982] init: - preinit -
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
[    6.310225] cfg80211: Calling CRDA to update world regulatory domain
[    8.675049] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 538
[    8.794930] UBIFS (ubi0:1): recovery needed
[    9.037607] UBIFS (ubi0:1): recovery completed
[    9.043450] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[    9.052240] UBIFS (ubi0:1): LEB size: 253952 bytes (248 KiB), min./max. I/O unit sizes: 4096 bytes/4096 bytes
[    9.063342] UBIFS (ubi0:1): FS size: 231604224 bytes (220 MiB, 912 LEBs), journal size 11681792 bytes (11 MiB, 46 LEBs)
[    9.075403] UBIFS (ubi0:1): reserved for root: 4952683 bytes (4836 KiB)
[    9.082858] UBIFS (ubi0:1): media format: w4/r0 (latest is w4/r0), UUID E6142994-11B1-4312-8B26-0501EBC762EC, small LPT model
[    9.105486] mount_root: switching to jffs2 overlay
[    9.146396] procd: - early -
[    9.149773] procd: - watchdog -
[    9.460375] cfg80211: Calling CRDA to update world regulatory domain
[    9.970318] procd: - ubus -
[   10.997408] procd: - init -
Please press Enter to activate this console.
[   12.254391] bounce_addr: 0xe800000 chunk_start: 0x3
[   12.260984] MAC ADDR: 00:11:22:33:44:55
[   12.265293] SETUP HT CALLED
[   12.268403] SETUP VHT CALLED
[   12.271653] SETUP HT CALLED
[   12.293340] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   12.322862] i2c /dev entries driver
[   12.413817] NET: Registered protocol family 36
[   12.444821] [ca8210] Starting module ca8210
[   12.449738] [ca8210] Inserting SPI protocol driver
[   12.610184] cfg80211: Calling CRDA to update world regulatory domain
[   13.531356] [ca8210] Switching external clock on
[   13.537651] [ca8210] External clock set as clock provider
[   13.544444] [ca8210] Module started
[   13.586157] ip_tables: (C) 2000-2006 Netfilter Core Team
[   13.619192] nf_conntrack version 0.5.0 (2896 buckets, 11584 max)
[   13.824416] pll_gf40lp_frac_set_rate: audio_pll: changing postdiv while PLL is enabled
[   13.834524] Register Fractional PLL to ATU Clock
[   13.840012] ATU Clock Registered for cycle counter:0x8eede058
[   13.927157] xt_time: kernel timezone is -0000
[   13.958498] pistachio-card pistachio_audio_card: snd-soc-dummy-dai <-> 18100d00.spdif-out mapping ok
[   13.972721] pistachio-card pistachio_audio_card: snd-soc-dummy-dai <-> 18100e00.spdif-in mapping ok
[   13.986201] pistachio-card pistachio_audio_card: pistachio_internal_dac <-> 18100c00.parallel-audio-out mapping ok
[   14.001532] pistachio-card pistachio_audio_card: snd-soc-dummy-dai <-> 18100a00.i2s-out mapping ok
[   14.014717] pistachio-card pistachio_audio_card: snd-soc-dummy-dai <-> 18100800.i2s-in mapping ok
[   14.041348] PPP generic driver version 2.4.2
[   14.048103] NET: Registered protocol family 24
[   15.760370] cfg80211: Calling CRDA to update world regulatory domain
[   18.110093] img/uccp420wlan/MCP_LOADER.ldr is loaded
[   18.294210] img/uccp420wlan/MAC_LOADER.ldr is loaded
[   19.872607] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   19.879631] cfg80211: Calling CRDA to update world regulatory domain
[   19.923097] eth0: device MAC address 66:d3:2c:e9:3a:65
[   20.948754] img/uccp420wlan/MCP_LOADER.ldr is loaded
[   21.030488] img/uccp420wlan/MAC_LOADER.ldr is loaded
[   22.602547] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   22.644227] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   22.990389] change_chanctx: 2412 MHz
[   22.995522] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   23.035877] cfg80211: Calling CRDA to update world regulatory domain
[   23.088988] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   23.984482] img/uccp420wlan/MCP_LOADER.ldr is loaded
[   24.075009] img/uccp420wlan/MAC_LOADER.ldr is loaded
[   25.652357] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   25.950307] change_chanctx: 2412 MHz
[   25.954647] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   26.190510] cfg80211: Calling CRDA to update world regulatory domain
[   27.070252] stmmaceth 18140000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[   27.079809] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   29.340289] cfg80211: Calling CRDA to update world regulatory domain
[   32.490281] cfg80211: Calling CRDA to update world regulatory domain
[   35.640257] cfg80211: Exceeded CRDA call max attempts. Not calling CRDA/pre>