Advertisement
Guest User

Untitled

a guest
Mar 19th, 2019
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.70 KB | None | 0 0
  1. device nand0 <atmel_nand>, # parts = 8
  2. #: name size offset mask_flags
  3. 0: bootstrap 0x00040000 0x00000000 1
  4. 1: uboot 0x00080000 0x00040000 1
  5. 2: env 0x00040000 0x000c0000 1
  6. 3: envbackup 0x00040000 0x00100000 1
  7. 4: dtb 0x00020000 0x00140000 0
  8. 5: kernel 0x00500000 0x00160000 0
  9. 6: rootfs 0x01000000 0x00660000 0
  10. 7: datafs 0x01000000 0x01660000 0
  11.  
  12. active partition: nand0,0 - (bootstrap) 0x00040000 @ 0x00000000
  13.  
  14. defaults:
  15. mtdids :
  16. mtdparts:
  17.  
  18. mtdparts=mtdparts=atmel_nand:256k(bootstrap)ro,512k(uboot)ro,256k(env)ro,256k(envbackup)ro,128k(dtb),5M(kernel),16M(rootfs),16M(datafs)
  19.  
  20. mtdids=nand0=atmel_nand
  21.  
  22. [dtb]
  23. peb=0x20000
  24. min_io_size=0x800
  25. mode=ubi
  26. image=dtb.img
  27. vol_id=0
  28. vol_size=128KiB
  29. vol_type=static
  30. vol_name=dtb
  31. vol_alignment=1
  32.  
  33. [kernel]
  34. peb=0x20000
  35. min_io_size=0x800
  36. mode=ubi
  37. image=zImage
  38. vol_id=1
  39. vol_size=5MiB
  40. vol_type=static
  41. vol_name=kernel
  42. vol_alignment=1
  43.  
  44. [rootfs]
  45. peb=0x20000
  46. min_io_size=0x800
  47. mode=ubi
  48. image=root.img
  49. vol_id=2
  50. vol_size=16MiB
  51. vol_type=static
  52. vol_name=rootfs
  53. vol_alignment=1
  54.  
  55. [datafs]
  56. peb=0x20000
  57. min_io_size=0x800
  58. mode=ubi
  59. image=files.img
  60. vol_id=3
  61. vol_size=16MiB
  62. vol_type=static
  63. vol_name=datafs
  64. vol_alignment=1
  65.  
  66. ubinize -o ubi.img -p 128KiB -m 2KiB sama5-ubinize.cfg
  67.  
  68. mkfs.ubifs -e 124KiB -c 132 -m 2KiB -r nfsroot/ root.img
  69. mkfs.ubifs -e 124KiB -c 132 -m 2KiB -r nfsroot/www/upload/files data.img
  70.  
  71. nand erase 0x140000 0xfec0000
  72. tftp 0x21000000 ubi.img
  73. nand write.trimffs 0x21000000 0x140000 0x880000
  74.  
  75. ubi0: attaching mtd1
  76. ubi0: scanning is finished
  77. UBI init error 22
  78.  
  79. bootargs=console=ttyS0,115200 root=/dev/mmcblk0p2 rw rootwait
  80.  
  81. resetting ...
  82. RomBOOT
  83.  
  84.  
  85. AT91Bootstrap 3.8.9 (Mi Dez 12 21:06:49 CET 2018)
  86.  
  87. NAND: ONFI flash detected
  88. NAND: Manufacturer ID: 0x2c Chip ID: 0xda
  89. NAND: Page Bytes: 2048, Spare Bytes: 64
  90. NAND: ECC Correctability Bits: 4, ECC Sector Bytes: 512
  91. NAND: Disable On-Die ECC
  92. NAND: Initialize PMECC params, cap: 4, sector: 512
  93. NAND: Image: Copy 0xa0000 bytes from 0x40000 to 0x26f00000
  94. NAND: Done to load image
  95. <debug_uart>
  96.  
  97. U-Boot 2017.09 (Dec 12 2018 - 23:16:12 +0100)
  98.  
  99. CPU: SAMA5D36
  100. Crystal frequency: 12 MHz
  101. CPU clock : 528 MHz
  102. Master clock : 132 MHz
  103. DRAM: 256 MiB
  104. NAND: 256 MiB
  105. MMC: Atmel mci: 0, Atmel mci: 1
  106. In: serial@ffffee00
  107. Out: serial@ffffee00
  108. Err: serial@ffffee00
  109. Net: eth0: ethernet@f0028000
  110. Error: ethernet@f802c000 address not set.
  111.  
  112. Hit any key to stop autoboot: 0
  113. reading zImage
  114. 4279056 bytes read in 281 ms (14.5 MiB/s)
  115. reading at91-sama5d3_xplained.dtb
  116. 34404 bytes read in 7 ms (4.7 MiB/s)
  117. ## Flattened Device Tree blob at 22000000
  118. Booting using the fdt blob at 0x22000000
  119. Loading Device Tree to 2fb39000, end 2fb44663 ... OK
  120.  
  121. Starting kernel ...
  122.  
  123. Booting Linux on physical CPU 0x0
  124. Linux version 4.18.20 (dopsi@dopsi-ThinkPad-T430) (gcc version 8.1.0 (crosstool-NG 1.23.0.435-eb65)) #4 Sat Dec 15 14:07:41 CET 2018
  125. CPU: ARMv7 Processor [410fc051] revision 1 (ARMv7), cr=10c53c7d
  126. CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
  127. OF: fdt: Machine model: SAMA5D3 Xplained
  128. Memory policy: Data cache writeback
  129. CPU: All CPU(s) started in SVC mode.
  130. random: get_random_bytes called from start_kernel+0x9c/0x3d8 with crng_init=0
  131. Built 1 zonelists, mobility grouping on. Total pages: 65024
  132. Kernel command line: console=ttyS0,115200 root=/dev/mmcblk0p2 rw rootwait
  133. Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
  134. Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
  135. Memory: 250120K/262144K available (6144K kernel code, 237K rwdata, 1588K rodata, 1024K init, 124K bss, 12024K reserved, 0K cma-reserved)
  136. Virtual kernel memory layout:
  137. vector : 0xffff0000 - 0xffff1000 ( 4 kB)
  138. fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
  139. vmalloc : 0xd0800000 - 0xff800000 ( 752 MB)
  140. lowmem : 0xc0000000 - 0xd0000000 ( 256 MB)
  141. modules : 0xbf000000 - 0xc0000000 ( 16 MB)
  142. .text : 0x(ptrval) - 0x(ptrval) (7136 kB)
  143. .init : 0x(ptrval) - 0x(ptrval) (1024 kB)
  144. .data : 0x(ptrval) - 0x(ptrval) ( 238 kB)
  145. .bss : 0x(ptrval) - 0x(ptrval) ( 125 kB)
  146. NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
  147. clocksource: pit: mask: 0xfffffff max_cycles: 0xfffffff, max_idle_ns: 14479245754 ns
  148. sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 21474836475000000ns
  149. Console: colour dummy device 80x30
  150. Calibrating delay loop... 351.43 BogoMIPS (lpj=1757184)
  151. pid_max: default: 32768 minimum: 301
  152. Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
  153. Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
  154. CPU: Testing write buffer coherency: ok
  155. Setting up static identity map for 0x20100000 - 0x20100060
  156. devtmpfs: initialized
  157. VFP support v0.3: implementor 41 architecture 2 part 30 variant 5 rev 1
  158. clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
  159. futex hash table entries: 256 (order: -1, 3072 bytes)
  160. pinctrl core: initialized pinctrl subsystem
  161. NET: Registered protocol family 16
  162. DMA: preallocated 256 KiB pool for atomic coherent allocations
  163. AT91: PM: standby: standby, suspend: ulp0
  164. No ATAGs?
  165. gpio-at91 fffff200.gpio: at address (ptrval)
  166. gpio-at91 fffff400.gpio: at address (ptrval)
  167. gpio-at91 fffff600.gpio: at address (ptrval)
  168. gpio-at91 fffff800.gpio: at address (ptrval)
  169. gpio-at91 fffffa00.gpio: at address (ptrval)
  170. pinctrl-at91 ahb:apb:pinctrl@fffff200: initialized AT91 pinctrl driver
  171. clocksource: tcb_clksrc: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 115833966437 ns
  172. at_hdmac ffffe600.dma-controller: Atmel AHB DMA Controller ( cpy set slave ), 8 channels
  173. at_hdmac ffffe800.dma-controller: Atmel AHB DMA Controller ( cpy set slave ), 8 channels
  174. AT91: Detected SoC family: sama5d3
  175. AT91: Detected SoC: sama5d36, revision 2
  176. SCSI subsystem initialized
  177. usbcore: registered new interface driver usbfs
  178. usbcore: registered new interface driver hub
  179. usbcore: registered new device driver usb
  180. at91_i2c f0014000.i2c: using dma0chan0 (tx) and dma0chan1 (rx) for DMA transfers
  181. at91_i2c f0014000.i2c: AT91 i2c bus driver (hw version: 0x402).
  182. at91_i2c f0018000.i2c: using dma0chan2 (tx) and dma0chan3 (rx) for DMA transfers
  183. at91_i2c f0018000.i2c: AT91 i2c bus driver (hw version: 0x402).
  184. at91_i2c f801c000.i2c: can't get DMA channel, continue without DMA support
  185. at91_i2c f801c000.i2c: AT91 i2c bus driver (hw version: 0x402).
  186. videodev: Linux video capture interface: v2.00
  187. pps_core: LinuxPPS API ver. 1 registered
  188. pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
  189. PTP clock support registered
  190. Advanced Linux Sound Architecture Driver Initialized.
  191. clocksource: Switched to clocksource tcb_clksrc
  192. NET: Registered protocol family 2
  193. tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes)
  194. TCP established hash table entries: 2048 (order: 1, 8192 bytes)
  195. TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
  196. TCP: Hash tables configured (established 2048 bind 2048)
  197. UDP hash table entries: 256 (order: 0, 4096 bytes)
  198. UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
  199. NET: Registered protocol family 1
  200. RPC: Registered named UNIX socket transport module.
  201. RPC: Registered udp transport module.
  202. RPC: Registered tcp transport module.
  203. RPC: Registered tcp NFSv4.1 backchannel transport module.
  204. Initialise system trusted keyrings
  205. workingset: timestamp_bits=30 max_order=16 bucket_order=0
  206. squashfs: version 4.0 (2009/01/31) Phillip Lougher
  207. Key type asymmetric registered
  208. Asymmetric key parser 'x509' registered
  209. io scheduler noop registered (default)
  210. io scheduler mq-deadline registered
  211. io scheduler kyber registered
  212. f001c000.serial: ttyS1 at MMIO 0xf001c000 (irq = 23, base_baud = 4125000) is a ATMEL_SERIAL
  213. f0020000.serial: ttyS2 at MMIO 0xf0020000 (irq = 24, base_baud = 4125000) is a ATMEL_SERIAL
  214. f0024000.serial: ttyS5 at MMIO 0xf0024000 (irq = 25, base_baud = 4125000) is a ATMEL_SERIAL
  215. ffffee00.serial: ttyS0 at MMIO 0xffffee00 (irq = 38, base_baud = 8250000) is a ATMEL_SERIAL
  216. console [ttyS0] enabled
  217. brd: module loaded
  218. loop: module loaded
  219. atmel_spi f0004000.spi: Using dma0chan4 (tx) and dma0chan5 (rx) for DMA transfers
  220. atmel_spi f0004000.spi: Atmel SPI Controller version 0x213 at 0xf0004000 (irq 19)
  221. atmel_spi f8008000.spi: Using dma1chan0 (tx) and dma1chan1 (rx) for DMA transfers
  222. atmel_spi f8008000.spi: Atmel SPI Controller version 0x213 at 0xf8008000 (irq 28)
  223. libphy: Fixed MDIO Bus: probed
  224. CAN device driver interface
  225. at91_can f000c000.can: device registered (reg_base=(ptrval), irq=45)
  226. libphy: MACB_mii_bus: probed
  227. Micrel KSZ9031 Gigabit PHY f0028000.ethernet-ffffffff:07: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=f0028000.ethernet-ffffffff:07, irq=POLL)
  228. macb f0028000.ethernet eth0: Cadence GEM rev 0x00020119 at 0xf0028000 irq 46 (12:34:56:ab:cd:ef)
  229. macb f802c000.ethernet: invalid hw address, using random
  230. libphy: MACB_mii_bus: probed
  231. Micrel KSZ8081 or KSZ8091 f802c000.ethernet-ffffffff:01: attached PHY driver [Micrel KSZ8081 or KSZ8091] (mii_bus:phy_addr=f802c000.ethernet-ffffffff:01, irq=POLL)
  232. macb f802c000.ethernet eth1: Cadence MACB rev 0x0001010c at 0xf802c000 irq 47 (62:aa:eb:b7:c1:48)
  233. ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
  234. ehci-atmel: EHCI Atmel driver
  235. atmel-ehci 700000.ehci: EHCI Host Controller
  236. atmel-ehci 700000.ehci: new USB bus registered, assigned bus number 1
  237. atmel-ehci 700000.ehci: irq 50, io mem 0x00700000
  238. atmel-ehci 700000.ehci: USB 2.0 started, EHCI 1.00
  239. usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.18
  240. usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
  241. usb usb1: Product: EHCI Host Controller
  242. usb usb1: Manufacturer: Linux 4.18.20 ehci_hcd
  243. usb usb1: SerialNumber: 700000.ehci
  244. hub 1-0:1.0: USB hub found
  245. hub 1-0:1.0: 3 ports detected
  246. ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
  247. ohci-atmel: OHCI Atmel driver
  248. at91_ohci 600000.ohci: USB Host Controller
  249. at91_ohci 600000.ohci: new USB bus registered, assigned bus number 2
  250. at91_ohci 600000.ohci: irq 50, io mem 0x00600000
  251. usb usb2: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 4.18
  252. usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
  253. usb usb2: Product: USB Host Controller
  254. usb usb2: Manufacturer: Linux 4.18.20 ohci_hcd
  255. usb usb2: SerialNumber: at91
  256. hub 2-0:1.0: USB hub found
  257. hub 2-0:1.0: 3 ports detected
  258. usbcore: registered new interface driver cdc_acm
  259. cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
  260. usbcore: registered new interface driver usb-storage
  261. usbcore: registered new interface driver usbserial_generic
  262. usbserial: USB Serial support registered for generic
  263. usbcore: registered new interface driver ftdi_sio
  264. usbserial: USB Serial support registered for FTDI USB Serial Device
  265. usbcore: registered new interface driver pl2303
  266. usbserial: USB Serial support registered for pl2303
  267. atmel_usba_udc 500000.gadget: MMIO registers at [mem 0xf8030000-0xf8033fff] mapped at (ptrval)
  268. atmel_usba_udc 500000.gadget: FIFO at [mem 0x00500000-0x005fffff] mapped at (ptrval)
  269. g_serial gadget: Gadget Serial v2.4
  270. g_serial gadget: g_serial ready
  271. at91_rtc fffffeb0.rtc: registered as rtc0
  272. at91_rtc fffffeb0.rtc: AT91 Real Time Clock driver.
  273. i2c /dev entries driver
  274. at91-reset fffffe00.rstc: Starting after software reset
  275. sdhci: Secure Digital Host Controller Interface driver
  276. sdhci: Copyright(c) Pierre Ossman
  277. atmel_mci f0000000.mmc: version: 0x505
  278. atmel_mci f0000000.mmc: using dma0chan6 for DMA transfers
  279. atmel_mci f0000000.mmc: Atmel MCI controller at 0xf0000000 irq 18, 1 slots
  280. atmel_mci f8000000.mmc: version: 0x505
  281. atmel_mci f8000000.mmc: using dma1chan2 for DMA transfers
  282. atmel_mci f8000000.mmc: Atmel MCI controller at 0xf8000000 irq 27, 1 slots
  283. sdhci-pltfm: SDHCI platform and OF driver helper
  284. atmel_aes f8038000.aes: version: 0x135
  285. atmel_aes f8038000.aes: Atmel AES - Using dma1chan3, dma1chan4 for DMA transfers
  286. atmel_sha f8034000.sha: version: 0x410
  287. atmel_sha f8034000.sha: using dma1chan5 for DMA transfers
  288. atmel_sha f8034000.sha: Atmel SHA1/SHA256/SHA224/SHA384/SHA512
  289. atmel_tdes f803c000.tdes: version: 0x701
  290. atmel_tdes f803c000.tdes: using dma1chan6, dma1chan7 for DMA transfers
  291. mmc0: host does not support reading read-only switch, assuming write-enable
  292. mmc0: new high speed SDHC card at address b368
  293. mmcblk0: mmc0:b368 SD4GB 3.74 GiB
  294. mmcblk0: p1 p2 p3
  295. atmel_tdes f803c000.tdes: Atmel DES/TDES
  296. usbcore: registered new interface driver usbhid
  297. usbhid: USB HID core driver
  298. nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda
  299. nand: Micron MT29F2G08ABAEAWP
  300. nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
  301. Bad block table found at page 131008, version 0x01
  302. Bad block table found at page 130944, version 0x01
  303. nand_read_bbt: bad block at 0x000000c80000
  304. nand_read_bbt: bad block at 0x000000ca0000
  305. 6 fixed-partitions partitions found on MTD device atmel_nand
  306. Creating 6 MTD partitions on "atmel_nand":
  307. 0x000000000000-0x000000040000 : "at91bootstrap"
  308. 0x000000040000-0x0000000c0000 : "bootloader"
  309. 0x0000000c0000-0x000000180000 : "bootloader env"
  310. 0x000000180000-0x000000200000 : "device tree"
  311. 0x000000200000-0x000000800000 : "kernel"
  312. 0x000000800000-0x000010000000 : "rootfs"
  313. iio iio:device0: Resolution used: 12 bits
  314. iio iio:device0: ADC Touch screen is disabled.
  315. NET: Registered protocol family 10
  316. Segment Routing with IPv6
  317. sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
  318. NET: Registered protocol family 17
  319. can: controller area network core (rev 20170425 abi 9)
  320. NET: Registered protocol family 29
  321. can: raw protocol (rev 20170425)
  322. can: broadcast manager protocol (rev 20170425 t)
  323. can: netlink gateway (rev 20170425) max_hops=1
  324. Loading compiled-in X.509 certificates
  325. input: gpio_keys as /devices/platform/gpio_keys/input/input0
  326. at91_rtc fffffeb0.rtc: setting system clock to 2007-01-01 01:05:49 UTC (1167613549)
  327. cfg80211: Loading compiled-in X.509 certificates for regulatory database
  328. cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
  329. ALSA device list:
  330. No soundcards found.
  331. platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
  332. g_serial gadget: high-speed config #2: CDC ACM config
  333. random: fast init done
  334. cfg80211: failed to load regulatory.db
  335. VFS: Mounted root (squashfs filesystem) readonly on device 179:2.
  336. devtmpfs: mounted
  337. Freeing unused kernel memory: 1024K
  338. starting pid 761, tty '': '/etc/init.d/rcS'
  339. EXT4-fs (mmcblk0p3): recovery complete
  340. EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
  341. starting pid 768, tty '/dev/ttyS0': '/bin/sh'
  342.  
  343.  
  344. BusyBox v1.29.3 (2018-12-15 12:27:14 CET) built-in shell (ash)
  345. Enter 'help' for a list of built-in commands.
  346.  
  347. ubi0: attaching mtd5
  348. ubi0: scanning is finished
  349. ubi0 error: ubi_read_volume_table: the layout volume was not found
  350. ubi0 error: ubi_attach_mtd_dev: failed to attach mtd5, error -22
  351. ubiattach: UBI_IOCATT: Invalid argument
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement