ARM CORE9x35 Linux board enter in RomBOOT mode

   

 Low cost Linux Embedded SMD module --- CORE9X35 (http://www.armdevs.com/note/note299.html)
      To enter in the hardware configuration mode you need to short two connections (on fig. above) and connect USB cable from PORT USBA on board to PC. Board will be detect as USBserial device. Then starting SAM-BA application to access to hardware registers.

   

Recovery boot log from SD recovery card
(instructions on http://www.armdevs.com/note/note309.html):
AT91Bootstrap 3.5.3 (Fri Jun  6 15:02:19 CST 2014)
1-Wire: Loading 1-Wire information ...
1-Wire: ROM Searching ... Done, 0x0 1-Wire chips found
WARNING: 1-Wire: No 1-Wire chip found
1-Wire: Using defalt value SYS_GPBR2: 0x4010425, SYS_GPBR3: 0x8421
SD/MMC: Image: Read file u-boot.bin to 0x26f00000
SD: Card Capacity: High or Extended
SD: Specification Version 3.0X
SD/MMC: logo bmp: Read file logo.bmp to 0x21000000
SD: Card Capacity: High or Extended
SD: Specification Version 3.0X
SD/MMC: Done to load image

U-Boot 2012.10 (Aug 04 2015 - 14:12:55)
CPU: AT91SAM9X35
Crystal frequency:       12 MHz
CPU clock        :      400 MHz
Master clock     :  133.333 MHz
I2C:   ready
DRAM:  128 MiB
WARNING: Caches not enabled
NAND:  256 MiB
MMC:   mci: 0
In:    serial
Out:   serial
Err:   serial
EEPROM: Invalid ID (00 00 00 00)
Net:   macb0
=============================================================
Action          =     Install
OS              =     Linux
Firmware-Version        =     1
Forced-Updates          =     true
Action-Type             =     9
Linux-Upgrade           =     Linux/usbupgrad_sam9x35ek.dt
=============================================================
Loading firmware(Linux/usbupgrad_sam9x35ek.dt)... done size(0x48070EC)75526380
Erasing at 0x20000 -- 100% complete.
Erasing at 0xa0000 -- 100% complete.
Erasing at 0x1e0000 -- 100% complete.
Erasing at 0x6e0000 -- 100% complete.
Erasing at 0x7e0000 -- 100% complete.
Skipping bad block at  0x07980000
Skipping bad block at  0x09040000
Skipping bad block at  0x0a800000
Skipping bad block at  0x0e4a0000
Erasing at 0xffe0000 -- 100% complete.
done


 
Normal boot log:

RomBOOT
AT91Bootstrap 3.5.3 (2015? 08? 04? ??? 14:12:42 CST)
1-Wire: Loading 1-Wire information ...
1-Wire: ROM Searching ... Done, 0x0 1-Wire chips found
WARNING: 1-Wire: No 1-Wire chip found
1-Wire: Using defalt value SYS_GPBR2: 0x4010425, SYS_GPBR3: 0x8421

NAND: ONFI not supported
NAND: Manufacturer ID: 0xec Chip ID: 0xda
NAND: Disable On-Die ECC
NAND: Initialize PMECC params, cap: 0x2, sector: 0x200
NAND: Image: Copy 0x80000 bytes from 0x40000 to 0x26f00000
NAND: logo bmp: Copy 0x100000 bytes from 0x700000 to 0x21000000
NAND: Done to load image

U-Boot 2012.10 (Aug 04 2015 - 14:12:55)
CPU: AT91SAM9X35
Crystal frequency:       12 MHz
CPU clock        :      400 MHz
Master clock     :  133.333 MHz
I2C:   ready
DRAM:  128 MiB
WARNING: Caches not enabled
NAND:  256 MiB
MMC:   mci: 0
In:    serial
Out:   serial
Err:   serial
EEPROM: Invalid ID (00 00 00 00)
Net:   macb0
Card did not respond to voltage select!
MMC Device 1 not found
mmc_device_initialize 200 No mmc device
USB:   scanning bus for devices... 1 USB Device(s) found
0 Storage Device(s) found
       scanning bus for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot:  0

NAND read: device 0 offset 0x180000, size 0x80000
 524288 bytes read: OK

NAND read: device 0 offset 0x200000, size 0x600000
 6291456 bytes read: OK
## Booting kernel from Legacy Image at 22000000 ...
   Image Name:   Linux-3.6.9
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2835576 Bytes = 2.7 MiB
   Load Address: 20008000
   Entry Point:  20008000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 21000000
   Booting using the fdt blob at 0x21000000
   Loading Kernel Image ... OK
OK
   Loading Device Tree to 27e9a000, end 27ea1398 ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Booting Linux on physical CPU 0
Linux version 3.6.9 svn344 (corewind@corewind-desktop) (gcc version 4.6.1 (Sourcery CodeBench Lite 2011.09-70) ) #1 Tue Aug 4 14:14:53 CST 2015
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: Atmel AT91SAM (Device Tree), model: Atmel AT91SAM9X35-EK
Memory policy: ECC disabled, Data cache writeback
AT91: Detected soc type: at91sam9x5
AT91: Detected soc subtype: at91sam9x35
AT91: sram at 0x300000 of 0x8000 mapped at 0xfef70000
Clocks: CPU 400 MHz, master 133 MHz, main 12.000 MHz
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
Kernel command line: console=ttyS0,115200 earlyprintk mtdparts=atmel_nand:256k(bootstrap)ro,512k(uboot)ro,256k(env),256k(env_redundant),256k(spare),512k(dtb),6M(kernel)ro,-(rootfs) rootfstype=ubifs ubi.mtd=7 root=ubi0:rootfs rw video=800x480-16@60
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 128MB = 128MB total
Memory: 124456k/124456k available, 6616k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    vmalloc : 0xc8800000 - 0xff000000   ( 872 MB)
    lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
      .text : 0xc0008000 - 0xc04c7694   (4862 kB)
      .init : 0xc04c8000 - 0xc04f270c   ( 170 kB)
      .data : 0xc04f4000 - 0xc0526e20   ( 204 kB)
       .bss : 0xc0526e44 - 0xc05411c8   ( 105 kB)
NR_IRQS:16 nr_irqs:16 16
sched_clock: 32 bits at 128 Hz, resolution 7812500ns, wraps every 3489660920ms
Console: colour dummy device 80x30
Calibrating delay loop... 199.07 BogoMIPS (lpj=780288)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
Setting up static identity map for 0x20380788 - 0x203807e0
devtmpfs: initialized
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
No ATAGs?
AT91: Power Management
AT91: Starting after general reset
gpio-at91 fffff400.gpio: at address fefff400
gpio-at91 fffff600.gpio: at address fefff600
gpio-at91 fffff800.gpio: at address fefff800
gpio-at91 fffffa00.gpio: at address fefffa00
pinctrl-at91 pinctrl.4: initialized AT91 pinctrl driver
bio: create slab <bio-0> at 0
at_hdmac ffffec00.dma-controller: Atmel AHB DMA Controller ( cpy slave ), 8 channels
at_hdmac ffffee00.dma-controller: Atmel AHB DMA Controller ( cpy slave ), 8 channels
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
i2c-gpio i2c.2: using pins 30 (SDA) and 31 (SCL)
Advanced Linux Sound Architecture Driver Version 1.0.25.
cfg80211: Calling CRDA to update world regulatory domain
Switching to clocksource tcb_clksrc
NET: Registered protocol family 2
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
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
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
msgmni has been set to 243
io scheduler noop registered (default)
atmel_hlcdfb atmel_hlcdfb_base: 1500KiB frame buffer at 27a00000 (mapped at c8897000)
Console: switching to colour frame buffer device 200x80
atmel_hlcdfb atmel_hlcdfb_base: fb0: Atmel LCDC at 0xf8038000 (mapped at c8a12000), irq 25
atmel_hlcdfb atmel_hlcdfb_ovl1: 1500KiB frame buffer at 27000000 (mapped at c8a16000)
atmel_hlcdfb atmel_hlcdfb_ovl1: fb1: Atmel LCDC at 0xf8038100 (mapped at c8b90100), irq -6
f801c000.serial: ttyS1 at MMIO 0xf801c000 (irq = 20) is a ATMEL_SERIAL
f8024000.serial: ttyS2 at MMIO 0xf8024000 (irq = 21) is a ATMEL_SERIAL
f8040000.serial: ttyS3 at MMIO 0xf8040000 (irq = 22) is a ATMEL_SERIAL
f8044000.serial: ttyS4 at MMIO 0xf8044000 (irq = 23) is a ATMEL_SERIAL
fffff200.serial: ttyS0 at MMIO 0xfffff200 (irq = 16) is a ATMEL_SERIAL
console [ttyS0] enabled
brd: module loaded
loop: module loaded
at24 0-0050: 512 byte 24c04 EEPROM, writable, 1 bytes/write
atmel_nand: Use On Flash BBT
atmel_nand 40000000.nand: Using dma0chan0 for DMA transfers.
NAND device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3,3V 8-bit), page size: 2048, OOB size: 64
atmel_nand 40000000.nand: NAND chip is not ONFI compliant, assume ecc_bits is 2 in 512 bytes
atmel_nand 40000000.nand: Initialize PMECC params, cap: 2, sector: 512
Bad block table found at page 131008, version 0x01
Bad block table found at page 130944, version 0x01
nand_read_bbt: bad block at 0x000007980000
nand_read_bbt: bad block at 0x000009040000
nand_read_bbt: bad block at 0x00000a800000
nand_read_bbt: bad block at 0x00000e4a0000
8 cmdlinepart partitions found on MTD device atmel_nand
Creating 8 MTD partitions on "atmel_nand":
0x000000000000-0x000000040000 : "bootstrap"
0x000000040000-0x0000000c0000 : "uboot"
0x0000000c0000-0x000000100000 : "env"
0x000000100000-0x000000140000 : "env_redundant"
0x000000140000-0x000000180000 : "spare"
0x000000180000-0x000000200000 : "dtb"
0x000000200000-0x000000800000 : "kernel"
0x000000800000-0x000010000000 : "rootfs"
UBI: attaching mtd7 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    126976 bytes
UBI: smallest flash I/O unit:    2048
UBI: VID header offset:          2048 (aligned 2048)
UBI: data offset:                4096
UBI: max. sequence number:       12
UBI warning: print_rsvd_warning: cannot reserve enough PEBs for bad PEB handling, reserved 28, need 38
UBI: attached mtd7 to ubi0
UBI: MTD device name:            "rootfs"
UBI: MTD device size:            248 MiB
UBI: number of good PEBs:        1976
UBI: number of bad PEBs:         8
UBI: number of corrupted PEBs:   0
UBI: max. allowed volumes:       128
                                    UBI: wear-leveling threshold:    4096
UBI: number of internal volumes: 1
UBI: number of user volumes:     1
UBI: available PEBs:             0
UBI: total number of reserved PEBs: 1976
UBI: number of PEBs reserved for bad PEB handling: 28
UBI: max/mean erase counter: 2/0
UBI: image sequence number:  2010812977
UBI: background thread "ubi_bgt0d" started, PID 454
CAN device driver interface
at91_can f8004000.can: device registered (reg_base=c8bee000, irq=18)
macb f802c000.ethernet: (unregistered net_device): invalid hw address, using random
libphy: MACB_mii_bus: probed
macb f802c000.ethernet: eth0: Cadence MACB at 0xf802c000 irq 24 (82:e1:4d:88:6e:c3)
macb f802c000.ethernet: eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=f802c000.etherne:01, irq=-1)
PPP generic driver version 2.4.2
PPP BSD Compression module registered
PPP Deflate Compression module registered
PPP MPPE Compression module registered
NET: Registered protocol family 24
usbcore: registered new interface driver rt2800usb
usbcore: registered new interface driver asix
usbcore: registered new interface driver cdc_ether
usbcore: registered new interface driver net1080
usbcore: registered new interface driver cdc_subset
usbcore: registered new interface driver zaurus
usbcore: registered new interface driver cdc_ncm
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
atmel-ehci 700000.ehci: Atmel EHCI UHP HS
atmel-ehci 700000.ehci: new USB bus registered, assigned bus number 1
atmel-ehci 700000.ehci: irq 31, io mem 0x00700000
atme-ehci 700000.ehci: USB 2.0 started, EHCI 1.00
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: Atmel EHCI UHP HS
usb usb1: Manufacturer: Linux 3.6.9 ehci_hcd
usb usb1: SerialNumber: 700000.ehci
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 3 ports detected
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
at91_ohci 600000.ohci: AT91 OHCI
at91_ohci 600000.ohci: new USB bus registered, assigned bus number 2
at91_ohci 600000.ohci: irq 31, io mem 0x00600000
usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: AT91 OHCI
usb usb2: Manufacturer: Linux 3.6.9 ohci_hcd
usb usb2: SerialNumber: at91
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 3 ports detected
usbcore: registered new interface driver cdc_acm
cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: reistered new interface driver usbserial
usbcore: registered new interface driver usbserial_generic
USB Serial support registered for generic
usbserial: USB Serial Driver core
usbcore: registered new interface driver ftdi_sio
USB Serial support registered for FTDI USB Serial Device
ftdi_sio: v1.6.0:USB FTDI Serial Converters Driver
usbcore: registered new interface driver pl2303
USB Serial support registered for pl2303
atmel_usba_udc 500000.gadget: MMIO registers at 0xf803c000 mapped at c8bf6000
atmel_usba_udc 500000.gadget: FIFO at 0x00500000 mapped at d9100000
mousedev: PS/2 mouse device common for all mice
atmel_tsadcc f804c000.tsadcc: Master clock is set at: 133333333 Hz
atmel_tsadcc f804c000.tsadcc: Prescaler is set at: 221
input: atmel touch screen controller as /devices/ahb.0/apb.1/f804c000.tsadcc/input/input0
i2c /dev entries driver
Driver for 1-wire Dallas network protocol.
at91sam9_wdt: enabled (heartbeat=15 sec, nowayout=0)
TCP: cubic registered
NET: Registered protocol family 10
sit: IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
can: controller area network core (rev 20120528 abi 9)
NET: Registered protocol family 29
can: raw protocol (rev 20120528)
can: broadcast manager protocol (rev 20120528 t)
can: netlink gateway (rev 20101209)
lib80211: common routines for IEEE802.11 drivers
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
atmel_mci f0008000.mmc: version: 0x504
atmel_mci f0008000.mmc: using dma0chan1 for DMA transfers
atmel_mci f0008000.mmc: Atmel MCI controller at 0xf0008000 irq 17, 1 slots
ALSA device list:
  No soundcards found.
UBIFS: recovery needed
UBIFS: recovery completed
UBIFS: mounted UBI device 0, volume 0, name "rootfs"
UBIFS: file system size:   245444608 bytes (239692 KiB, 234 MiB, 1933 LEBs)
UBIFS: journal size:       9023488 bytes (8812 KiB, 8 MiB, 72 LEBs)
UBIFS: media format:       w4/r0 (latest is w4/r0)
UBIFS: default compressor: lzo
UBIFS: reserved for root:  0 bytes (0 KiB)
VFS: Mounted root (ubifs filesystem) on device 0:11.
devtmpfs: mounted
Freeing init memory: 168K
Starting logging: OK
Populating /dev using udev: udevd[567]: starting version 182
done
Starting watchdog...
Initializing random number generator... done.
Starting network...
IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Starting network time protocol daemon: ntpd.
Starting sshd: OK
Starting udhcpd... done
Starting SMB services: done
Starting NMB services: done
Starting telnetd... done

Please press Enter to activate this console.

No comments:

Post a Comment