RomBOOT AT91Bootstrap 3.8.7 (Thu Jan 24 22:29:31 PST 2019) 1-Wire: Loading 1-Wire information ... 1-Wire: ROM Searching ... Done, 2 1-Wire chips found 1-Wire: BoardName | [Revid] | VendorName #0 SAMA5D36-CM [EE5] FLEX #1 SAMA5D3x-MB [DD4] FLEX 1-Wire: Board sn: 0x480004e revision: 0x828c04 NAND: ONFI flash detected NAND: Manufacturer ID: 0x2c Chip ID: 0x32 NAND: Page Bytes: 2048, Spare Bytes: 64 NAND: ECC Correctability Bits: 4, ECC Sector Bytes: 512 NAND: Disable On-Die ECC NAND: Initialize PMECC params, cap: 4, sector: 512 NAND: Image: Copy 0x80000 bytes from 0x40000 to 0x26f00000 NAND: Done to load image U-Boot 2016.03-linux4sam_5.5 (Jan 24 2019 - 22:30:07 -0800) CPU: SAMA5D36 Crystal frequency: 12 MHz CPU clock : 528 MHz Master clock : 132 MHz DRAM: 512 MiB Flash: 16 MiB NAND: 256 MiB MMC: mci: 0 *** Warning - bad CRC, using default environment In: serial Out: serial Err: serial Net: macb0 Error: macb0 address not set. , gmac0 Error: gmac0 address not set. , usb_ether Error: usb_ether address not set. 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 Kernel image @ 0x22000000 [ 0x000000 - 0x3710f8 ] ## Flattened Device Tree blob at 21000000 Booting using the fdt blob at 0x21000000 Loading Device Tree to 3fa7c000, end 3fa85c71 ... OK Starting kernel ... Uncompressing Linux... done, booting the kernel. Booting Linux on physical CPU 0x0 Linux version 3.18.0-linux4sam_5.0-alpha7-00056-gd39bec4-dirty (root@ubuntu) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.9) ) #42 Fri Mar 8 11:26:36 CST 2019 CPU: ARMv7 Processor [410fc051] revision 1 (ARMv7), cr=10c53c7d CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache Machine model: Atmel SAMA5D36-EK cma: Reserved 16 MiB at 0x3e800000 Memory policy: Data cache writeback AT91: Detected soc type: sama5d3 AT91: Detected soc subtype: sama5d36 CPU: All CPU(s) started in SVC mode. Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048 Kernel command line: console=ttyS0,115200 earlyprintk mtdparts=atmel_nand:256k(bootstrap)ro,512k(uboot)ro,256K(env),256k(env_redundent),256k(spare),512k(dtb),6M(kernel)ro,-(rootfs) rootfstype=ubifs ubi.mtd=7 root=ubi0:rootfs PID hash table entries: 2048 (order: 1, 8192 bytes) Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) Memory: 495956K/524288K available (5041K kernel code, 242K rwdata, 1564K rodata, 200K init, 171K bss, 28332K reserved) Virtual kernel memory layout: vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xffc00000 - 0xffe00000 (2048 kB) vmalloc : 0xe0800000 - 0xff000000 ( 488 MB) lowmem : 0xc0000000 - 0xe0000000 ( 512 MB) modules : 0xbf000000 - 0xc0000000 ( 16 MB) .text : 0xc0008000 - 0xc067b880 (6607 kB) .init : 0xc067c000 - 0xc06ae000 ( 200 kB) .data : 0xc06ae000 - 0xc06ea868 ( 243 kB) .bss : 0xc06ea868 - 0xc071559c ( 172 kB) NR_IRQS:16 nr_irqs:16 16 sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 21474836480000000ns Console: colour dummy device 80x30 Calibrating delay loop... 351.43 BogoMIPS (lpj=1757184) pid_max: default: 32768 minimum: 301 Security Framework initialized Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) CPU: Testing write buffer coherency: ok Setting up static identity map for 0x204ceb68 - 0x204cebc0 devtmpfs: initialized VFP support v0.3: implementor 41 architecture 2 part 30 variant 5 rev 1 pinctrl core: initialized pinctrl subsystem regulator-dummy: no parameters NET: Registered protocol family 16 DMA: preallocated 256 KiB pool for atomic coherent allocations cpuidle: using governor ladder cpuidle: using governor menu gpio-at91 fffff200.gpio: at address fefff200 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 ahb:apb:pinctrl@fffff200: initialized AT91 pinctrl driver at_hdmac ffffe600.dma-controller: Atmel AHB DMA Controller ( cpy slave sg-cpy ), 8 channels at_hdmac ffffe800.dma-controller: Atmel AHB DMA Controller ( cpy slave sg-cpy ), 8 channels wlan-en-regulator: 3300 mV SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb Linux video capture interface: v2.00 Advanced Linux Sound Architecture Driver Initialized. Bluetooth: Core ver 2.19 NET: Registered protocol family 31 Bluetooth: HCI device and connection manager initialized Bluetooth: HCI socket layer initialized Bluetooth: L2CAP socket layer initialized Bluetooth: SCO socket layer initialized Switched to clocksource tcb_clksrc NET: Registered protocol family 2 TCP established hash table entries: 4096 (order: 2, 16384 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. futex hash table entries: 256 (order: -1, 3072 bytes) msgmni has been set to 1000 io scheduler noop registered (default) (Morris)atmel_serial_probe atmel_usart f0020000.serial: ttyS2 at MMIO 0xf0020000 (irq = 27, base_baud = 4125000) is a ATMEL_SERIAL (Morris)atmel_serial_probe atmel_usart ffffee00.serial: ttyS0 at MMIO 0xffffee00 (irq = 34, base_baud = 8250000) is a ATMEL_SERIAL console [ttyS0] enabled [drm] Initialized drm 1.1.0 20060810 brd: module loaded loop: module loaded atmel_nand_nfc 70000000.nfc: NFC is probed. atmel_nand 60000000.nand: Use On Flash BBT atmel_nand 60000000.nand: Using dma0chan0 for DMA transfers. nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda nand: Micron MT29F2G08ABAEAWP nand: 256MiB, SLC, page size: 2048, OOB size: 64 atmel_nand 60000000.nand: minimum ECC: 4 bits in 512 bytes atmel_nand 60000000.nand: Initialize PMECC params, cap: 4, sector: 512 atmel_nand 60000000.nand: Using NFC Sram read Bad block table found at page 131008, version 0x01 Bad block table found at page 130944, version 0x01 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_redundent" 0x000000140000-0x000000180000 : "spare" 0x000000180000-0x000000200000 : "dtb" 0x000000200000-0x000000800000 : "kernel" 0x000000800000-0x000010000000 : "rootfs" CAN device driver interface ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver ehci-atmel: EHCI Atmel driver atmel-ehci 700000.ehci: EHCI Host Controller atmel-ehci 700000.ehci: new USB bus registered, assigned bus number 1 atmel-ehci 700000.ehci: irq 42, io mem 0x00700000 atmel-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: EHCI Host Controller usb usb1: Manufacturer: Linux 3.18.0-linux4sam_5.0-alpha7-00056-gd39bec4-dirty 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 ohci-atmel: OHCI Atmel driver at91_ohci 600000.ohci: USB Host Controller at91_ohci 600000.ohci: new USB bus registered, assigned bus number 2 at91_ohci 600000.ohci: irq 42, 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: USB Host Controller usb usb2: Manufacturer: Linux 3.18.0-linux4sam_5.0-alpha7-00056-gd39bec4-dirty 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 usbcore: registered new interface driver usb-storage usbcore: registered new interface driver usbserial usbcore: registered new interface driver usbserial_generic usbserial: USB Serial support registered for generic usbcore: registered new interface driver ftdi_sio usbserial: USB Serial support registered for FTDI USB Serial Device usbcore: registered new interface driver pl2303 usbserial: USB Serial support registered for pl2303 atmel_usba_udc 500000.gadget: MMIO registers at 0xf8030000 mapped at e0810000 atmel_usba_udc 500000.gadget: FIFO at 0x00500000 mapped at e2200000 rtc (null): invalid alarm value: 1900-1-1 0:0:0 at91_rtc fffffeb0.rtc: rtc core: registered fffffeb0.rtc as rtc0 at91_rtc fffffeb0.rtc: AT91 Real Time Clock driver. i2c /dev entries driver AT91: Starting after user reset at91_wdt fffffe40.watchdog: watchdog is disabled at91_wdt: probe of fffffe40.watchdog failed with error -22 Bluetooth: HCI UART driver ver 2.2 Bluetooth: HCI H4 protocol initialized Bluetooth: HCI BCSP protocol initialized Bluetooth: HCILL protocol initialized atmel_mci f0000000.mmc: version: 0x505 atmel_mci f0000000.mmc: using dma0chan1 for DMA transfers atmel_mci f0000000.mmc: No vqmmc regulator found atmel_mci f0000000.mmc: Atmel MCI controller at 0xf0000000 irq 25, 1 slots atmel_aes f8038000.aes: version: 0x135 atmel_mci f0000000.mmc: card claims to support voltages below defined range atmel_aes f8038000.aes: Atmel AES - Using dma1chan0, dma1chan1 for DMA transfers atmel_sha f8034000.sha: version: 0x410 atmel_sha f8034000.sha: using dma1chan2 for DMA transfers atmel_sha f8034000.sha: Atmel SHA1/SHA256/SHA224/SHA384/SHA512 atmel_tdes f803c000.tdes: version: 0x701 atmel_tdes f803c000.tdes: using dma1chan3, dma1chan4 for DMA transfers atmel_tdes f803c000.tdes: Atmel DES/TDES usbcore: registered new interface driver usbhid usbhid: USB HID core driver iio iio:device0: Resolution used: 12 bits iio iio:device0: ADC Touch screen is disabled. usb 1-2: new high-speed USB device number 2 using atmel-ehci nf_conntrack version 0.5.0 (8005 buckets, 32020 max) ip_tables: (C) 2000-2006 Netfilter Core Team TCP: cubic registered NET: Registered protocol family 10 sit: IPv6 over IPv4 tunneling driver NET: Registered protocol family 17 bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this. Bridge firewalling registered 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 20130117) max_hops=1 Bluetooth: RFCOMM TTY layer initialized Bluetooth: RFCOMM socket layer initialized Bluetooth: RFCOMM ver 1.11 Bluetooth: BNEP (Ethernet Emulation) ver 1.3 Bluetooth: BNEP filters: protocol multicast Bluetooth: BNEP socket layer initialized Bluetooth: HIDP (Human Interface Emulation) ver 1.2 Bluetooth: HIDP socket layer initialized mmc0: queuing unknown CIS tuple 0x91 (3 bytes) UBI: attaching mtd7 to ubi0 mmc0: new high speed SDIO card at address 0001 usb 1-2: New USB device found, idVendor=0951, idProduct=1666 usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 usb 1-2: Product: DataTraveler 3.0 usb 1-2: Manufacturer: Kingston usb 1-2: SerialNumber: 60A44C426697BF6019811AD3 usb-storage 1-2:1.0: USB Mass Storage device detected scsi host0: usb-storage 1-2:1.0 random: nonblocking pool is initialized UBI: scanning is finished UBI: attached mtd7 (name "rootfs", size 248 MiB) to ubi0 UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 2048 UBI: VID header offset: 2048 (aligned 2048), data offset: 4096 UBI: good PEBs: 1980, bad PEBs: 4, corrupted PEBs: 0 UBI: user volume: 1, internal volumes: 1, max. volumes count: 128 UBI: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 690137231 UBI: available PEBs: 0, total reserved PEBs: 1980, PEBs reserved for bad PEB handling: 36 UBI: background thread "ubi_bgt0d" started, PID 624 at91_rtc fffffeb0.rtc: setting system clock to 2007-01-01 02:51:54 UTC (1167619914) ALSA device list: No soundcards found. UBIFS: recovery needed UBIFS: recovery deferred UBIFS: mounted UBI device 0, volume 0, name "rootfs", R/O mode UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes UBIFS: FS size: 244936704 bytes (233 MiB, 1929 LEBs), journal size 9023488 bytes (8 MiB, 72 LEBs) UBIFS: reserved for root: 0 bytes (0 KiB) UBIFS: media format: w4/r0 (latest is w4/r0), UUID 766B14A0-5884-4821-B8BA-7D814FE0AB10, small LPT model VFS: Mounted root (ubifs filesystem) readonly on device 0:12. devtmpfs: mounted Freeing unused kernel memory: 200K (c067c000 - c06ae000) scsi 0:0:0:0: Direct-Access Kingston DataTraveler 3.0 PMAP PQ: 0 ANSI: 6 UBIFS: completing deferred recovery UBIFS: background thread "ubifs_bgt0_0" started, PID 639 UBIFS: deferred recovery completed devpts: called with bogus options Starting logging: OK Loading modules backported from Linux version R8.7_SP2-0-g5c94cc5 Backport generated by backports.git R8.7_SP3-0-gd4777ef Initializing random number generator... done. Starting system message bus: done wlcore: wl18xx HW: 183x or 180x, PG 2.2 (ROM 0x11) wlcore: loaded wlcore: driver version: R8.7_SP2-dirty Starting network: OK sd 0:0:0:0: [sda] 30728832 512-byte logical blocks: (15.7 GB/14.6 GiB) sd 0:0:0:0: [sda] Write Protect is off sd 0:0:0:0: [sda] No Caching mode page found sd 0:0:0:0: [sda] Assuming drive cache: write through sda: sda1 sd 0:0:0:0: [sda] Attached SCSI removable disk UIM SYSFS Node Not Found Welcome to Buildroot buildroot login: root # echo 57 > /sys/class/gpio/export # echo out > /sys/class/gpio/pioB25/direction # echo 0 > /sys/class/gpio/pioB25/value # echo 1 > /sys/class/gpio/pioB25/value # hciattach -s 115200 /dev/ttyS2 texas 115200 noflow Found a Texas Instruments' chip! Firmware file : /lib/firmware/ti-connectivity/TIInit_11.8.32.bts Loaded BTS script version 1 texas: changing baud rate to 115200, flow control to 0 Bluetooth: hci0 command 0x1003 tx timeout Bluetooth: hci0 command 0x1001 tx timeout Bluetooth: hci0 command 0x1009 tx timeout Initialization timed out. #