This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
uboot를_이용한_writing_-_bootstrap을_제외한_나머지 [2017/08/06 15:08] 1.241.172.144 |
uboot를_이용한_writing_-_bootstrap을_제외한_나머지 [2017/08/07 10:13] (current) 1.241.172.144 |
||
---|---|---|---|
Line 38: | Line 38: | ||
Target Board Initialized | Target Board Initialized | ||
Enabled 32.768KHz OSC | Enabled 32.768KHz OSC | ||
- | \\ | + | |
- | \\ | + | |
Atmel Boot Strap For VI3.8.7 (2017. 07. 31. (월) 15:10:39 KST) | Atmel Boot Strap For VI3.8.7 (2017. 07. 31. (월) 15:10:39 KST) | ||
- | \\ | + | |
- | \\ | + | |
All interrupts redirected to AIC | All interrupts redirected to AIC | ||
Loading Image Initialized | Loading Image Initialized | ||
Line 60: | Line 60: | ||
NAND: Done to load image | NAND: Done to load image | ||
Jump to u-boot | Jump to u-boot | ||
- | \\ | + | |
- | \\ | + | |
U-Boot 2016.03-linux4sam_5.5 (Jul 31 2017 - 12:02:12 +0900) | U-Boot 2016.03-linux4sam_5.5 (Jul 31 2017 - 12:02:12 +0900) | ||
- | \\ | + | |
CPU: SAMA5D42 | CPU: SAMA5D42 | ||
Crystal frequency: 12 MHz | Crystal frequency: 12 MHz | ||
Line 77: | Line 77: | ||
Net: gmac0, usb_ether | Net: gmac0, usb_ether | ||
Error: usb_ether address not set. | Error: usb_ether address not set. | ||
- | \\ | + | |
Hit any key to stop autoboot: 0 | Hit any key to stop autoboot: 0 | ||
=> | => | ||
=> | => | ||
- | => **setenv ipaddr 192.168.28.28** | + | => setenv ipaddr 192.168.28.28 |
- | => **setenv serverip 192.168.28.100** | + | => setenv serverip 192.168.28.100 |
- | => **saveenv** | + | => saveenv |
Saving Environment to NAND... | Saving Environment to NAND... | ||
Erasing redundant NAND... | Erasing redundant NAND... | ||
Line 89: | Line 89: | ||
Writing to redundant NAND... OK | Writing to redundant NAND... OK | ||
- | 여기서 Target Board의 전원을 껏다가 키면 TFTP를 사용할 수 있게 된다. | + | 여기서 Target Board의 전원을 껏다가 키면 TFTP를 사용할 수 있게 된다.\\ |
+ | DDR의 영역은 다음과 같다.\\ | ||
- | Bank Address Offset Bits = 0xB ... | + | {{wiki:atmel_sama5d42:uboot_write:DDR_Address.jpg}} \\ |
- | Target Board Initialized | + | |
- | Enabled 32.768KHz OSC | + | |
+ | 여기서 u-boot 가 사용하는 영역은 다음과 같다.\\ | ||
- | Atmel Boot Strap For VI3.8.7 (2017. 07. 31. (월) 15:10:39 KST) | + | {{wiki:atmel_sama5d42:uboot_write:u-boot_Address.jpg}} \\ |
+ | 이 DDR의 비어 있는 곳을 이용하여 DTB 파일을 프로그램 한다. | ||
- | All interrupts redirected to AIC | + | DTB 파일을 다운로드한다. |
- | Loading Image Initialized | + | |
- | NAND: ONFI flash detected | + | |
- | NAND: ONFI para CRC error! | + | |
- | NAND: Manufacturer ID: 0x1, Chip ID: 0xda | + | |
- | NAND: Enable On-Die ECC | + | |
- | NAND : Bits Of ECC = 4 | + | |
- | NAND : Bits Of Data = 8 | + | |
- | NAND : Byte Size Of ECC Base = 512 | + | |
- | NAND : Byte Size Of Spare = 64 | + | |
- | NAND : Byte Size Of Page = 2048 | + | |
- | NAND : Number Of Pages In Block = 64 | + | |
- | NAND : Number Of Blocks In Unit = 1024 | + | |
- | NAND : Number Of Units In Device = 2 | + | |
- | NAND: Image: Copy 80000 bytes from 40000 to 26f00000 | + | |
- | NAND: Done to load image | + | |
- | Jump to u-boot | + | |
+ | Bank Address Offset Bits = 0xB ... | ||
+ | Target Board Initialized | ||
+ | Enabled 32.768KHz OSC | ||
+ | | ||
+ | Atmel Boot Strap For VI3.8.7 (2017. 07. 31. (월) 15:10:39 KST) | ||
+ | | ||
+ | All interrupts redirected to AIC | ||
+ | Loading Image Initialized | ||
+ | NAND: ONFI flash detected | ||
+ | NAND: ONFI para CRC error! | ||
+ | NAND: Manufacturer ID: 0x1, Chip ID: 0xda | ||
+ | NAND: Enable On-Die ECC | ||
+ | NAND : Bits Of ECC = 4 | ||
+ | NAND : Bits Of Data = 8 | ||
+ | NAND : Byte Size Of ECC Base = 512 | ||
+ | NAND : Byte Size Of Spare = 64 | ||
+ | NAND : Byte Size Of Page = 2048 | ||
+ | NAND : Number Of Pages In Block = 64 | ||
+ | NAND : Number Of Blocks In Unit = 1024 | ||
+ | NAND : Number Of Units In Device = 2 | ||
+ | NAND: Image: Copy 80000 bytes from 40000 to 26f00000 | ||
+ | NAND: Done to load image | ||
+ | Jump to u-boot | ||
+ | | ||
+ | U-Boot 2016.03-linux4sam_5.5 (Jul 31 2017 - 12:02:12 +0900) | ||
+ | | ||
+ | CPU: SAMA5D42 | ||
+ | Crystal frequency: 12 MHz | ||
+ | CPU clock : 528 MHz | ||
+ | Master clock : 176 MHz | ||
+ | I2C: ready | ||
+ | DRAM: 128 MiB | ||
+ | NAND: 256 MiB | ||
+ | MMC: mci: 0 | ||
+ | In: serial | ||
+ | Out: serial | ||
+ | Err: serial | ||
+ | Net: gmac0, usb_ether | ||
+ | Error: usb_ether address not set. | ||
+ | | ||
+ | Hit any key to stop autoboot: 0 | ||
+ | => | ||
+ | => | ||
+ | => tftp 0x21000000 dtb.bin | ||
+ | gmac0: PHY present at 0 | ||
+ | gmac0: link up, 100Mbps full-duplex (lpa: 0xcde1) | ||
+ | Using gmac0 device | ||
+ | TFTP from server 192.168.28.100; our IP address is 192.168.28.28 | ||
+ | Filename 'dtb.bin'. | ||
+ | Load address: 0x21000000 | ||
+ | Loading: ### | ||
+ | 667 KiB/s | ||
+ | done | ||
+ | Bytes transferred = 33486 (82ce hex) | ||
+ | => | ||
- | U-Boot 2016.03-linux4sam_5.5 (Jul 31 2017 - 12:02:12 +0900) | + | DTB 파일이 저장될 NAND Flash 영역을 지운다. |
- | CPU: SAMA5D42 | + | => nand erase 0x180000 0x80000 |
- | Crystal frequency: 12 MHz | + | |
- | CPU clock : 528 MHz | + | NAND erase: device 0 offset 0x180000, size 0x80000 |
- | Master clock : 176 MHz | + | Erasing at 0x1e0000 -- 100% complete. |
- | I2C: ready | + | OK |
- | DRAM: 128 MiB | + | => |
- | NAND: 256 MiB | + | |
- | MMC: mci: 0 | + | |
- | [LCD] lcd_init_console() | + | |
- | In: serial | + | |
- | Out: serial | + | |
- | Err: serial | + | |
- | Net: gmac0, usb_ether | + | |
- | Error: usb_ether address not set. | + | |
- | Hit any key to stop autoboot: 0 | + | DTB 파일을 NAND Flash 영역에 프로그램 한다. |
- | => | + | |
- | => | + | |
- | => tftp 0x21000000 rootfs_ubi.bin | + | |
- | gmac0: PHY present at 0 | + | |
- | gmac0: link up, 100Mbps full-duplex (lpa: 0xcde1) | + | |
- | Using gmac0 device | + | |
- | TFTP from server 192.168.28.100; our IP address is 192.168.28.28 | + | |
- | Filename 'rootfs_ubi.bin'. | + | |
- | Load address: 0x21000000 | + | |
- | Loading: ################################################################# | + | |
- | ################################################################# | + | |
- | ################################################################# | + | |
- | ################################################################# | + | |
- | ################################################################# | + | |
- | ################################################################# | + | |
- | ################################################################# | + | |
- | ################################################################# | + | |
- | ################################################################# | + | |
- | ################################################################# | + | |
- | ################################################################# | + | |
- | ################################################################# | + | |
- | ################################################################# | + | |
- | ################################################################# | + | |
- | ################################################################# | + | |
- | ################################################################# | + | |
- | ################################################################# | + | |
- | ################################################################# | + | |
- | ################################################################# | + | |
- | ################################################################# | + | |
- | ################################################################# | + | |
- | ################################################################# | + | |
- | ################################################################# | + | |
- | ################################################################# | + | |
- | ################################################################# | + | |
- | ################################################################# | + | |
- | ################################################################# | + | |
- | ################################################################# | + | |
- | ################################################################# | + | |
- | ################################################################# | + | |
- | ################################################################# | + | |
- | ################################################################# | + | |
- | ################################################################# | + | |
- | ################################################################# | + | |
- | ################################################################# | + | |
- | ################################################################# | + | |
- | ################################################################# | + | |
- | ################################################################# | + | |
- | ################################################################# | + | |
- | ################################################################# | + | |
- | ################################################################# | + | |
- | ################################################################# | + | |
- | ################################################################# | + | |
- | ################################################################# | + | |
- | ################################################################# | + | |
- | ############# | + | |
- | 1.4 MiB/s | + | |
- | done | + | |
- | Bytes transferred = 43122688 (2920000 hex) | + | |
- | => nand write 0x21000000 0x800000 0x2920000 | + | |
- | NAND write: device 0 offset 0x800000, size 0x2920000 | + | => nand write 0x21000000 0x180000 0x82CE |
- | 43122688 bytes written: OK | + | |
- | => tftp 0x21000000 dtb.bin | + | NAND write: device 0 offset 0x180000, size 0x82CE |
- | gmac0: PHY present at 0 | + | 33486 bytes written: OK |
- | gmac0: link up, 100Mbps full-duplex (lpa: 0xcde1) | + | |
- | Using gmac0 device | + | Kernel Image 파일을 다운로드한다. |
- | TFTP from server 192.168.28.100; our IP address is 192.168.28.28 | + | |
- | Filename 'dtb.bin'. | + | => tftp 0x22000000 zImage.bin |
- | Load address: 0x21000000 | + | gmac0: PHY present at 0 |
- | Loading: ### | + | gmac0: link up, 100Mbps full-duplex (lpa: 0xcde1) |
- | 667 KiB/s | + | Using gmac0 device |
- | done | + | TFTP from server 192.168.28.100; our IP address is 192.168.28.28 |
- | Bytes transferred = 33486 (82ce hex) | + | Filename 'zImage.bin'. |
- | => tftp 0x22000000 zImage.bin | + | Load address: 0x22000000 |
- | gmac0: PHY present at 0 | + | Loading: ################################################################# |
- | gmac0: link up, 100Mbps full-duplex (lpa: 0xcde1) | + | ################################################################# |
- | Using gmac0 device | + | ################################################################# |
- | TFTP from server 192.168.28.100; our IP address is 192.168.28.28 | + | ############################################## |
- | Filename 'zImage.bin'. | + | 1.5 MiB/s |
- | Load address: 0x22000000 | + | done |
- | Loading: ################################################################# | + | Bytes transferred = 3524376 (35c718 hex) |
- | ################################################################# | + | => |
- | ################################################################# | + | |
- | ############################################## | + | Kernel Image 파일이 저장될 NAND Flash 영역을 지운다. |
- | 1.5 MiB/s | + | |
- | done | + | => nand erase 0x200000 0x400000 |
- | Bytes transferred = 3524376 (35c718 hex) | + | |
- | => bootz 0x22000000 - 0x21000000 | + | NAND erase: device 0 offset 0x200000, size 0x400000 |
- | Kernel image @ 0x22000000 [ 0x000000 - 0x35c718 ] | + | Erasing at 0x6e0000 -- 100% complete. |
- | ## Flattened Device Tree blob at 21000000 | + | OK |
- | Booting using the fdt blob at 0x21000000 | + | => |
- | Loading Device Tree to 27ab1000, end 27abc2cd ... OK | + | |
- | Starting kernel ... | + | Kernel Image 파일을 NAND Flash 영역에 프로그램 한다. |
- | Booting Linux on physical CPU 0x0 | + | => nand write 0x22000000 0x200000 0x35C718 |
- | Linux version 4.9.36 (stephanos@stephanos-VirtualBox) (gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11) ) #7 Fri Jul 28 10:37:59 KST 2017 | + | |
- | CPU: ARMv7 Processor [410fc051] revision 1 (ARMv7), cr=10c53c7d | + | NAND write: device 0 offset 0x200000, size 0x35C718 |
- | CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache | + | 3524376 bytes written: OK |
- | OF: fdt:Machine model: Atmel SAMA5D4 VI | + | => |
- | cma: Failed to reserve 64 MiB | + | |
- | Memory policy: Data cache writeback | + | |
- | CPU: All CPU(s) started in SVC mode. | + | |
- | Built 1 zonelists in Zone order, mobility grouping off. Total pages: 32512 | + | |
- | 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: 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: 121172K/131072K available (5120K kernel code, 184K rwdata, 1300K rodata, 1024K init, 176K bss, 9900K reserved, 0K cma-reserved) | + | |
- | Virtual kernel memory layout: | + | |
- | vector : 0xffff0000 - 0xffff1000 ( 4 kB) | + | |
- | fixmap : 0xffc00000 - 0xfff00000 (3072 kB) | + | |
- | vmalloc : 0xc8800000 - 0xff800000 ( 880 MB) | + | |
- | lowmem : 0xc0000000 - 0xc8000000 ( 128 MB) | + | |
- | modules : 0xbf000000 - 0xc0000000 ( 16 MB) | + | |
- | .text : 0xc0008000 - 0xc0600000 (6112 kB) | + | |
- | .init : 0xc0800000 - 0xc0900000 (1024 kB) | + | |
- | .data : 0xc0900000 - 0xc092e260 ( 185 kB) | + | |
- | .bss : 0xc092e260 - 0xc095a29c ( 177 kB) | + | |
- | NR_IRQS:16 nr_irqs:16 16 | + | |
- | L2C-310 ID prefetch enabled, offset 2 lines | + | |
- | L2C-310 dynamic clock gating enabled, standby mode enabled | + | |
- | L2C-310 cache controller enabled, 8 ways, 128 kB | + | |
- | L2C-310: CACHE_ID 0x410000c9, AUX_CTRL 0x36020000 | + | |
- | clocksource: pit: mask: 0x7ffffff max_cycles: 0x7ffffff, max_idle_ns: 10859434279 ns | + | |
- | sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 21474836475000000ns | + | |
- | Console: colour dummy device 80x30 | + | |
- | Calibrating delay loop... 351.43 BogoMIPS (lpj=1757184) | + | |
- | pid_max: default: 32768 minimum: 301 | + | |
- | 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 0x20100000 - 0x20100058 | + | |
- | devtmpfs: initialized | + | |
- | VFP support v0.3: implementor 41 architecture 2 part 30 variant 5 rev 1 | + | |
- | clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns | + | |
- | futex hash table entries: 256 (order: -1, 3072 bytes) | + | |
- | pinctrl core: initialized pinctrl subsystem | + | |
- | NET: Registered protocol family 16 | + | |
- | DMA: preallocated 256 KiB pool for atomic coherent allocations | + | |
- | cpuidle: using governor ladder | + | |
- | AT91: Detected SoC family: sama5d4 | + | |
- | AT91: Detected SoC: sama5d42, revision 0 | + | |
- | gpio-at91 fc06a000.gpio: at address c8859000 | + | |
- | gpio-at91 fc06b000.gpio: at address c885b000 | + | |
- | gpio-at91 fc06c000.gpio: at address c885d000 | + | |
- | gpio-at91 fc068000.gpio: at address c8871000 | + | |
- | gpio-at91 fc06d000.gpio: at address c8873000 | + | |
- | pinctrl-at91 ahb:apb:pinctrl@fc06a000: initialized AT91 pinctrl driver | + | |
- | clocksource: tcb_clksrc: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 173750949719 ns | + | |
- | at_xdmac f0004000.dma-controller: 16 channels, mapped at 0xc8879000 | + | |
- | at_xdmac f0014000.dma-controller: 16 channels, mapped at 0xc887b000 | + | |
- | VDD MCI1: supplied by VCC 3V3 | + | |
- | SCSI subsystem initialized | + | |
- | usbcore: registered new interface driver usbfs | + | |
- | usbcore: registered new interface driver hub | + | |
- | usbcore: registered new device driver usb | + | |
- | at91_i2c f8014000.i2c: using dma0chan0 (tx) and dma0chan1 (rx) for DMA transfers | + | |
- | at91_i2c f8014000.i2c: AT91 i2c bus driver (hw version: 0x502). | + | |
- | Bluetooth: Core ver 2.22 | + | |
- | 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 | + | |
- | clocksource: Switched to clocksource tcb_clksrc | + | |
- | NET: Registered protocol family 2 | + | |
- | TCP established hash table entries: 1024 (order: 0, 4096 bytes) | + | |
- | TCP bind hash table entries: 1024 (order: 0, 4096 bytes) | + | |
- | TCP: Hash tables configured (established 1024 bind 1024) | + | |
- | 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. | + | |
- | workingset: timestamp_bits=30 max_order=15 bucket_order=0 | + | |
- | io scheduler noop registered (default) | + | |
- | backlight supply power not found, using dummy regulator | + | |
- | f8004000.serial: ttyS5 at MMIO 0xf8004000 (irq = 25, base_baud = 5500000) is a ATMEL_SERIAL | + | |
- | f802c000.serial: ttyS3 at MMIO 0xf802c000 (irq = 29, base_baud = 5500000) is a ATMEL_SERIAL | + | |
- | f8030000.serial: ttyS4 at MMIO 0xf8030000 (irq = 30, base_baud = 5500000) is a ATMEL_SERIAL | + | |
- | fc008000.serial: ttyS2 at MMIO 0xfc008000 (irq = 32, base_baud = 5500000) is a ATMEL_SERIAL | + | |
- | fc00c000.serial: ttyS0 at MMIO 0xfc00c000 (irq = 33, base_baud = 5500000) is a ATMEL_SERIAL | + | |
- | console [ttyS0] enabled | + | |
- | fc010000.serial: ttyS1 at MMIO 0xfc010000 (irq = 34, base_baud = 5500000) is a ATMEL_SERIAL | + | |
- | [drm] Initialized | + | |
- | panel supply power not found, using dummy regulator | + | |
- | brd: module loaded | + | |
- | loop: module loaded | + | |
- | [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). | + | |
- | [drm] No driver support for vblank timestamp query. | + | |
- | atmel-hlcdc-display-controller atmel-hlcdc-dc: failed to create HLCDC outputs: -517 | + | |
- | atmel-hlcdc-display-controller atmel-hlcdc-dc: failed to initialize mode setting | + | |
- | atmel_nand_nfc 90000000.nfc: NFC is probed. | + | |
- | atmel_nand 80000000.nand: Using dma0chan2 for DMA transfers. | + | |
- | nand: device found, Manufacturer ID: 0x01, Chip ID: 0xda | + | |
- | nand: AMD/Spansion S34ML02G2 | + | |
- | nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 128 | + | |
- | atmel_nand 80000000.nand: Use On Flash BBT | + | |
- | atmel_nand 80000000.nand: Cannot get PMECC lookup table offset, will build a lookup table in runtime. | + | |
- | atmel_nand 80000000.nand: minimum ECC: 4 bits in 512 bytes | + | |
- | atmel_nand 80000000.nand: Initialize PMECC params, cap: 4, sector: 512 | + | |
- | atmel_nand 80000000.nand: Using NFC Sram read and write | + | |
- | Bad block table not found for chip 0 | + | |
- | Bad block table not found for chip 0 | + | |
- | Scanning device for bad blocks | + | |
- | random: fast init done | + | |
- | Bad block table written to 0x00000ffe0000, version 0x01 | + | |
- | Bad block table written to 0x00000ffc0000, 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" | + | |
- | atmel_spi fc018000.spi: version: 0x221 | + | |
- | atmel_spi fc018000.spi: Using dma0chan3 (tx) and dma0chan4 (rx) for DMA transfers | + | |
- | atmel_spi fc018000.spi: Atmel SPI Controller at 0xfc018000 (irq 35) | + | |
- | libphy: Fixed MDIO Bus: probed | + | |
- | libphy: MACB_mii_bus: probed | + | |
- | Micrel KSZ8081 or KSZ8091 f8020000.etherne:01: attached PHY driver [Micrel KSZ8081 or KSZ8091] (mii_bus:phy_addr=f8020000.etherne:01, irq=81) | + | |
- | macb f8020000.ethernet eth0: Cadence GEM rev 0x00020120 at 0xf8020000 irq 28 (ac:f1:df:5e:4d:3f) | + | |
- | ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver | + | |
- | ehci-atmel: EHCI Atmel driver | + | |
- | atmel-ehci 600000.ehci: EHCI Host Controller | + | |
- | atmel-ehci 600000.ehci: new USB bus registered, assigned bus number 1 | + | |
- | atmel-ehci 600000.ehci: irq 18, io mem 0x00600000 | + | |
- | atmel-ehci 600000.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 4.9.36 ehci_hcd | + | |
- | usb usb1: SerialNumber: 600000.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 500000.ohci: failed to find sfr node | + | |
- | at91_ohci 500000.ohci: USB Host Controller | + | |
- | at91_ohci 500000.ohci: new USB bus registered, assigned bus number 2 | + | |
- | at91_ohci 500000.ohci: irq 18, io mem 0x00500000 | + | |
- | 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 4.9.36 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 | + | |
- | mousedev: PS/2 mouse device common for all mice | + | |
- | rtc rtc0: alarm rollover not handled | + | |
- | rtc rtc0: invalid alarm value: 1900-1-1 0:0:0 | + | |
- | at91_rtc fc0686b0.rtc: rtc core: registered fc0686b0.rtc as rtc0 | + | |
- | at91_rtc fc0686b0.rtc: AT91 Real Time Clock driver. | + | |
- | i2c /dev entries driver | + | |
- | AT91: Starting after wakeup | + | |
- | sama5d4_wdt fc068640.watchdog: initialized (timeout = 16 sec, nowayout = 0) | + | |
- | Bluetooth: HCI UART driver ver 2.3 | + | |
- | Bluetooth: HCI UART protocol H4 registered | + | |
- | Bluetooth: HCI UART protocol BCSP registered | + | |
- | Bluetooth: HCI UART protocol LL registered | + | |
- | Bluetooth: HCI UART protocol ATH3K registered | + | |
- | Bluetooth: HCI UART protocol Three-wire (H5) registered | + | |
- | Bluetooth: HCI UART protocol Intel registered | + | |
- | Bluetooth: HCI UART protocol Broadcom registered | + | |
- | Bluetooth: HCI UART protocol QCA registered | + | |
- | Bluetooth: HCI UART protocol AG6XX registered | + | |
- | Bluetooth: HCI UART protocol Marvell registered | + | |
- | sdhci: Secure Digital Host Controller Interface driver | + | |
- | sdhci: Copyright(c) Pierre Ossman | + | |
- | atmel_mci fc000000.mmc: version: 0x600 | + | |
- | atmel_mci fc000000.mmc: using dma0chan5 for DMA transfers | + | |
- | atmel_mci fc000000.mmc: Atmel MCI controller at 0xfc000000 irq 31, 1 slots | + | |
- | sdhci-pltfm: SDHCI platform and OF driver helper | + | |
- | leds-gpio leds: Led d10 renamed to d10_1 due to name collision | + | |
- | ledtrig-cpu: registered to indicate activity on CPUs | + | |
- | atmel_aes fc044000.aes: version: 0x201 | + | |
- | atmel_aes fc044000.aes: Atmel AES - Using dma1chan0, dma1chan1 for DMA transfers | + | |
- | atmel_sha fc050000.sha: version: 0x420 | + | |
- | atmel_sha fc050000.sha: using dma1chan2 for DMA transfers | + | |
- | atmel_sha fc050000.sha: Atmel SHA1/SHA256/SHA224/SHA384/SHA512 | + | |
- | atmel_tdes fc04c000.tdes: version: 0x702 | + | |
- | atmel_tdes fc04c000.tdes: using dma1chan3, dma1chan4 for DMA transfers | + | |
- | atmel_tdes fc04c000.tdes: Atmel DES/TDES | + | |
- | usbcore: registered new interface driver usbhid | + | |
- | usbhid: USB HID core driver | + | |
- | iio iio:device0: Resolution used: 10 bits | + | |
- | iio iio:device0: ADC Touch screen is disabled. | + | |
- | NET: Registered protocol family 10 | + | |
- | sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver | + | |
- | NET: Registered protocol family 17 | + | |
- | backlight supply power not found, using dummy regulator | + | |
- | pwm-backlight backlight: invalid default brightness level: 128, using 7 | + | |
- | panel supply power not found, using dummy regulator | + | |
- | [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). | + | |
- | [drm] No driver support for vblank timestamp query. | + | |
- | atmel-hlcdc-display-controller atmel-hlcdc-dc: DRM device successfully registered | + | |
- | ubi0: default fastmap pool size: 95 | + | |
- | ubi0: default fastmap WL pool size: 47 | + | |
- | ubi0: attaching mtd7 | + | |
- | random: crng init done | + | |
- | ubi0: scanning is finished | + | |
- | ubi0: volume 0 ("rootfs") re-sized from 327 to 1938 LEBs | + | |
- | ubi0: attached mtd7 (name "rootfs", size 248 MiB) | + | |
- | ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes | + | |
- | ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048 | + | |
- | ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096 | + | |
- | ubi0: good PEBs: 1980, bad PEBs: 4, corrupted PEBs: 0 | + | |
- | ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128 | + | |
- | ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 1385659053 | + | |
- | ubi0: available PEBs: 0, total reserved PEBs: 1980, PEBs reserved for bad PEB handling: 36 | + | |
- | input: gpio_keys as /devices/soc0/gpio_keys/input/input0 | + | |
- | ubi0: background thread "ubi_bgt0d" started, PID 98 | + | |
- | at91_rtc fc0686b0.rtc: setting system clock to 2012-01-01 00:04:05 UTC (1325376245) | + | |
- | atmel_usart fc00c000.serial: using dma0chan6 for rx DMA transfers | + | |
- | atmel_usart fc00c000.serial: using dma0chan7 for tx DMA transfers | + | |
- | UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "rootfs", R/O mode | + | |
- | UBIFS (ubi0:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes | + | |
- | UBIFS (ubi0:0): FS size: 244682752 bytes (233 MiB, 1927 LEBs), journal size 9023488 bytes (8 MiB, 72 LEBs) | + | |
- | UBIFS (ubi0:0): reserved for root: 0 bytes (0 KiB) | + | |
- | UBIFS (ubi0:0): media format: w4/r0 (latest is w4/r0), UUID 854963A3-3D2D-40E1-B77F-82D92F8A02E1, small LPT model | + | |
- | VFS: Mounted root (ubifs filesystem) readonly on device 0:13. | + | |
- | devtmpfs: mounted | + | |
- | Freeing unused kernel memory: 1024K (c0800000 - c0900000) | + | |
- | UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 101 | + | |
- | Starting logging: Jan 1 00:04:06 VIroot syslog.info syslogd started: BusyBox v1.26.0 | + | |
- | OK | + | |
- | Jan 1 00:04:06 VIroot user.notice kernel: klogd started: BusyBox v1.26.0 (2017-07-27 23:38:28 KST) | + | |
- | Jan 1 00:04:06 VIroot user.info kernel: Booting Linux on physical CPU 0x0 | + | |
- | Jan 1 00:04:06 VIroot user.notice kernel: Linux version 4.9.36 (stephanos@stephanos-VirtualBox) (gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11) ) #7 Fri Jul 28 10:37:59 KST 2017 | + | |
- | Jan 1 00:04:06 VIroot user.info kernel: CPU: ARMv7 Processor [410fc051] revision 1 (ARMv7), cr=10c53c7d | + | |
- | Jan 1 00:04:06 VIroot user.info kernel: CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache | + | |
- | Jan 1 00:04:06 VIroot user.info kernel: OF: fdt:Machine model: Atmel SAMA5D4 VI | + | |
- | Jan 1 00:04:06 VIroot user.err kernel: cma: Failed to reserve 64 MiB | + | |
- | Jan 1 00:04:06 VIroot user.info kernel: Memory policy: Data cache writeback | + | |
- | Jan 1 00:04:06 VIroot user.debug kernel: On node 0 totalpages: 32768 | + | |
- | Jan 1 00:04:06 VIroot user.debug kernel: free_area_init_node: node 0, pgdat c092d8d0, node_mem_map c7efb000 | + | |
- | Jan 1 00:04:06 VIroot user.debug kernel: Normal zone: 256 pages used for memmap | + | |
- | Jan 1 00:04:06 VIroot user.debug kernel: Normal zone: 0 pages reserved | + | |
- | Jan 1 00:04:06 VIroot user.debug kernel: Normal zone: 32768 pages, LIFO batch:7 | + | |
- | Jan 1 00:04:06 VIroot user.info kernel: CPU: All CPU(s) started in SVC mode. | + | |
- | Jan 1 00:04:06 VIroot user.debug kernel: pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 | + | |
- | Jan 1 00:04:06 VIroot user.debug kernel: pcpu-alloc: [0] 0 | + | |
- | Jan 1 00:04:06 VIroot user.info kernel: Built 1 zonelists in Zone order, mobility grouping off. Total pages: 32512 | + | |
- | Jan 1 00:04:06 VIroot user.notice kernel: 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 | + | |
- | Jan 1 00:04:06 VIroot user.info kernel: PID hash table entries: 512 (order: -1, 2048 bytes) | + | |
- | Jan 1 00:04:06 VIroot user.info kernel: Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) | + | |
- | Jan 1 00:04:06 VIroot user.info kernel: Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) | + | |
- | Jan 1 00:04:06 VIroot user.info kernel: Memory: 121172K/131072K available (5120K kernel code, 184K rwdata, 1300K rodata, 1024K init, 176K bss, 9900K reserved, 0K cma-reserved) | + | |
- | Jan 1 00:04:06 VIroot user.notice kernel: Virtual kernel memory layout: | + | |
- | Jan 1 00:04:06 VIroot user.notice kernel: vector : 0xffff0000 - 0xffff1000 ( 4 kB) | + | |
- | Jan 1 00:04:06 VIroot user.notice kernel: fixmap : 0xffc00000 - 0xfff00000 (3072 kB) | + | |
- | Jan 1 00:04:06 VIroot user.notice kernel: vmalloc : 0xc8800000 - 0xff800000 ( 880 MB) | + | |
- | Jan 1 00:04:06 VIroot user.notice kernel: lowmem : 0xc0000000 - 0xc8000000 ( 128 MB) | + | |
- | Jan 1 00:04:06 VIroot user.notice kernel: modules : 0xbf000000 - 0xc0000000 ( 16 MB) | + | |
- | Jan 1 00:04:06 VIroot user.notice kernel: .text : 0xc0008000 - 0xc0600000 (6112 kB) | + | |
- | Jan 1 00:04:06 VIroot user.notice kernel: .init : 0xc0800000 - 0xc0900000 (1024 kB) | + | |
- | Jan 1 00:04:06 VIroot user.notice kernel: .data : 0xc0900000 - 0xc092e260 ( 185 kB) | + | |
- | Jan 1 00:04:06 VIroot user.notice kernel: .bss : 0xc092e260 - 0xc095a29c ( 177 kB) | + | |
- | Jan 1 00:04:06 VIroot user.info kernel: NR_IRQS:16 nr_irqs:16 16 | + | |
- | Jan 1 00:04:06 VIroot user.info kernel: L2C-310 ID prefetch enabled, offset 2 lines | + | |
- | Jan 1 00:04:06 VIroot user.info kernel: L2C-310 dynamic clock gating enabled, standby mode enabled | + | |
- | Jan 1 00:04:06 VIroot user.info kernel: L2C-310 cache controller enabled, 8 ways, 128 kB | + | |
- | Jan 1 00:04:06 VIroot user.info kernel: L2C-310: CACHE_ID 0x410000c9, AUX_CTRL 0x36020000 | + | |
- | Jan 1 00:04:06 VIroot user.info kernel: clocksource: pit: mask: 0x7ffffff max_cycles: 0x7ffffff, max_idle_ns: 10859434279 ns | + | |
- | Jan 1 00:04:06 VIroot user.info kernel: sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 21474836475000000ns | + | |
- | Jan 1 00:04:06 VIroot user.info kernel: Console: colour dummy device 80x30 | + | |
- | Jan 1 00:04:06 VIroot user.info kernel: Calibrating delay loop... 351.43 BogoMIPS (lpj=1757184) | + | |
- | Jan 1 00:04:06 VIroot user.info kernel: pid_max: default: 32768 minimuInitializing random number generator... Jan 1 00:04:06 VIroot user.info kernel: TCP bind hash table entries: 1024 (order: 0, 4096 bytes) | + | |
- | Jan 1 00:04:06 VIroot user.info kernel: TCP: Hash tables configured (established 1024 bind 1024) | + | |
- | Jan 1 00:04:06 VIroot user.info kernel: UDP hash table entries: 256 (order: 0, 4096 bytes) | + | |
- | Jan 1 00:04:06 VIroot user.info kernedone. | + | |
- | Starting system message bus: done | + | |
- | Starting network: OK | + | |
- | Jan 1 00:04:07 VIroot daemon.info : starting pid 138, tty '/dev/console': '/sbin/getty -L console 0 vt100 ' | + | |
- | Value Innovation | + | File System 파일을 다운로드한다. |
- | VIroot login: atmel-hlcdc-display-controller atmel-hlcdc-dc: fb0: ID = frame buffer device drm_fb_helper_single_fb_probe() in drm_fb_helper.c | + | |
- | Jan 1 00:04:08 VIroot user.info kernel: atmel-hlcdc-display-controller atmel-hlcdc-dc: fb0: ID = frame buffer device drm_fb_helper_single_fb_probe() in drm_fb_helper.c | + | |
- | Value Innovation | + | => tftp 0x21000000 rootfs_ubi.bin |
- | VIroot login: root | + | gmac0: PHY present at 0 |
- | Password: | + | gmac0: link up, 100Mbps full-duplex (lpa: 0xcde1) |
- | Jan 1 00:04:15 VIroot auth.info login[138]: root login on 'console' | + | Using gmac0 device |
- | # | + | TFTP from server 192.168.28.100; our IP address is 192.168.28.28 |
+ | Filename 'rootfs_ubi.bin'. | ||
+ | Load address: 0x21000000 | ||
+ | Loading: ################################################################# | ||
+ | ################################################################# | ||
+ | ################################################################# | ||
+ | ################################################################# | ||
+ | ################################################################# | ||
+ | ################################################################# | ||
+ | ################################################################# | ||
+ | ################################################################# | ||
+ | ################################################################# | ||
+ | ################################################################# | ||
+ | ################################################################# | ||
+ | ################################################################# | ||
+ | ################################################################# | ||
+ | ################################################################# | ||
+ | ################################################################# | ||
+ | ################################################################# | ||
+ | ################################################################# | ||
+ | ################################################################# | ||
+ | ################################################################# | ||
+ | ################################################################# | ||
+ | ################################################################# | ||
+ | ################################################################# | ||
+ | ################################################################# | ||
+ | ################################################################# | ||
+ | ################################################################# | ||
+ | ################################################################# | ||
+ | ################################################################# | ||
+ | ################################################################# | ||
+ | ################################################################# | ||
+ | ################################################################# | ||
+ | ################################################################# | ||
+ | ################################################################# | ||
+ | ################################################################# | ||
+ | ################################################################# | ||
+ | ################################################################# | ||
+ | ################################################################# | ||
+ | ################################################################# | ||
+ | ################################################################# | ||
+ | ################################################################# | ||
+ | ################################################################# | ||
+ | ################################################################# | ||
+ | ################################################################# | ||
+ | ################################################################# | ||
+ | ################################################################# | ||
+ | ################################################################# | ||
+ | ############# | ||
+ | 1.4 MiB/s | ||
+ | done | ||
+ | Bytes transferred = 43122688 (2920000 hex) | ||
+ | => | ||
+ | File System 파일이 저장될 NAND Flash 영역을 지운다. | ||
+ | => nand erase 0x800000 0x2920000 | ||
+ | | ||
+ | NAND erase: device 0 offset 0x800000 , size 0x2920000 | ||
+ | Erasing at 0x3110000 -- 100% complete. | ||
+ | OK | ||
+ | => | ||
+ | File System 파일을 NAND Flash 영역에 프로그램 한다. | ||
+ | => nand write 0x21000000 0x800000 0x2920000 | ||
+ | | ||
+ | NAND write: device 0 offset 0x800000, size 0x2920000 | ||
+ | 43122688 bytes written: OK | ||
+ | => | ||
+ | 다시 Reset을 하면 커널까지 부팅이 완료된다. | ||