This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
nfs [2017/08/07 11:48] 1.241.172.144 created |
nfs [2017/08/19 21:45] (current) 1.241.172.144 |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | asd | + | ===== Server ===== |
| + | |||
| + | 우선 Server 패키지를 설치해야 한다. | ||
| + | |||
| + | $ sudo apt-get install nfs-kernel-server nfs-common rpcbind | ||
| + | |||
| + | 제공해줄 디렉토리를 하나 생성 | ||
| + | |||
| + | $ mkdir NFS_VI | ||
| + | |||
| + | /etc/exports 파일을 수정한다. | ||
| + | |||
| + | {{wiki:atmel_sama5d42:nfs:nfs_1.jpg}} | ||
| + | |||
| + | 설정을 모두 마쳤으면, 재시작! | ||
| + | |||
| + | $ sudo service nfs-kernel-server restart | ||
| + | |||
| + | |||
| + | NFS를 사용하기 위해서 사용하는 포트가 지정된 1개가 아니다. | ||
| + | 그러다보니 방화벽 환경에서 NFS를 사용하게 되면 당연히 문제가 발생한다. | ||
| + | 지금 사용하고 있는 port 현황을 확인해보도록 하자. | ||
| + | |||
| + | {{wiki:atmel_sama5d42:nfs:nfs_2.jpg}} | ||
| + | |||
| + | 사용할 포트를 등록해보자. | ||
| + | |||
| + | /etc/services 파일을 수정한다. | ||
| + | |||
| + | ... | ||
| + | status 4000/tcp # rpc.statd tcp port | ||
| + | status 4000/udp # rpc.statd udp port | ||
| + | mountd 4002/tcp # mountd tcp port | ||
| + | mountd 4002/udp # mountd udp port | ||
| + | rquotad 4003/tcp # rpc.rquotad tcp port | ||
| + | rquotad 4003/udp # rpc.rquotad udp port | ||
| + | ... | ||
| + | |||
| + | {{wiki:atmel_sama5d42:nfs:nfs_3.jpg}} | ||
| + | |||
| + | 실행 옵션도 수정해주어야 한다. | ||
| + | |||
| + | /etc/default/nfs-kernel-server 파일 수정 | ||
| + | |||
| + | ... | ||
| + | # RPCMOUNTDOPTS="" | ||
| + | RPCMOUNTDOPTS="-p 4002 -g" | ||
| + | ... | ||
| + | |||
| + | {{wiki:atmel_sama5d42:nfs:nfs_4.jpg}} | ||
| + | |||
| + | 다음의 파일을 수정해야 한다. | ||
| + | 만약 없는 경우 새로 생성하면 된다. | ||
| + | |||
| + | /etc/modprobe.d/options.conf | ||
| + | |||
| + | options lockd nlm_udpport=4001 nlm_tcpport=4001 | ||
| + | |||
| + | {{wiki:atmel_sama5d42:nfs:nfs_5.jpg}} | ||
| + | |||
| + | 그리고, 이젠 서비스를 재시작하자. | ||
| + | |||
| + | $ sudo service rpcbind restart | ||
| + | $ sudo service nfs-kernel-server restart | ||
| + | |||
| + | 이렇게 설정하게 되면 나의 경우 | ||
| + | |||
| + | /home/stephanos/NFS_VI | ||
| + | |||
| + | 이 폴더가 Network File System으로 연결 된다. | ||
| + | |||
| + | 내가 현재 사용중인 NFS_VI 폴더를 묶은 파일 이다. | ||
| + | |||
| + | {{wiki:atmel_sama5d42:nfs:NFS_VI.tar}} | ||
| + | |||
| + | ===== NFS로 booting 하는 방법 ===== | ||
| + | |||
| + | SVN 에 올라온 uboot를 컴파일 해서 올리고 | ||
| + | |||
| + | ==>printenv | ||
| + | |||
| + | 해보면 커맨드들이 나온다. | ||
| + | |||
| + | run ???? 의 형태로 이를 실행 시키면 된다. | ||
| + | |||
| + | 그대로 설정을 사용하고 server의 설정을 맞추던지 아니면 uboot의 설정을 변경해서 사용하면 된다. | ||
| + | |||
| + | 나의 경우 아래와 같이 uboot의 설정을 변경해서 사용했다. | ||
| + | 부팅시 로그 이다. | ||
| + | |||
| + | RomBOOT | ||
| + | Bank Address Offset Bits = 0xB ... | ||
| + | Target Board Initialized | ||
| + | Enabled 32.768KHz OSC | ||
| + | |||
| + | |||
| + | Atmel Boot Strap For VI3.8.7 (2017. 07. 11. (ȭ) 18:08:04 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 (Aug 10 2017 - 18:37:41 +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 | ||
| + | *** Warning - bad CRC, using default environment | ||
| + | |||
| + | In: serial | ||
| + | Out: serial | ||
| + | Err: serial | ||
| + | Net: | ||
| + | Warning: gmac0 using random MAC address - 62:03:47:49:cb:f3 | ||
| + | gmac0, usb_ether | ||
| + | Warning: usb_ether (eth1) using random MAC address - 62:03:47:49:cb:f3 | ||
| + | |||
| + | |||
| + | NAND read: device 0 offset 0x180000, size 0x80000 | ||
| + | 524288 bytes read: OK | ||
| + | Hit any key to stop autoboot: 5 0 | ||
| + | => printenv | ||
| + | arch=arm | ||
| + | baudrate=115200 | ||
| + | board=sama5d4_vi_base | ||
| + | board_name=sama5d4_vi_base | ||
| + | boot-nand-nfs=setenv bootargs 'console=ttyS0,115200 root=/dev/nfs rw nfsroot=192.168.28.104:/home/stephanos/NFS_VI ip=192.168.28.28:192.168.28.104:192.168.28.1:255.255.255.0::';nand read 0x21000000 0x200000 0x80000;nand read 0x22000000 0x280000 0x600000;bootz 0x22000000 - 0x21000000 | ||
| + | boot-nand-ubi=setenv bootargs 'console=ttyS0,115200 earlyprintk mtdparts=atmel_nand:256k(bootstrap)ro,512k(uboot)ro,256K(env),256k(env_redundent),256k(spare),512k(logo),512k(dtb),6M(kernel)ro,-(rootfs) rootfstype=ubifs ubi.mtd=8 root=ubi0:rootfs';nand read 0x21000000 0x200000 0x80000;nand read 0x22000000 0x280000 0x600000;bootz 0x22000000 - 0x21000000 | ||
| + | boot-tftp-nfs=setenv bootargs 'console=ttyS0,115200 root=/dev/nfs rw nfsroot=192.168.28.104:/home/stephanos/NFS_VI ip=192.168.28.28:192.168.28.104:192.168.28.1:255.255.255.0::';tftp 0x21000000 vi_dt.bin;tftp 0x22000000 zImage.bin;bootz 0x22000000 - 0x21000000 | ||
| + | boot-tftp-ubi=setenv bootargs 'console=ttyS0,115200 earlyprintk mtdparts=atmel_nand:256k(bootstrap)ro,512k(uboot)ro,256K(env),256k(env_redundent),256k(spare),512k(logo),512k(dtb),6M(kernel)ro,-(rootfs) rootfstype=ubifs ubi.mtd=8 root=ubi0:rootfs';tftp 0x21000000 vi_dt.bin;tftp 0x22000000 zImage.bin;bootz 0x22000000 - 0x21000000 | ||
| + | bootargs=console=ttyS0,115200 earlyprintk mtdparts=atmel_nand:256k(bootstrap)ro,512k(uboot)ro,256K(env),256k(env_redundent),256k(spare),512k(logo),512k(dtb),6M(kernel)ro,-(rootfs) rootfstype=ubifs ubi.mtd=8 root=ubi0:rootfs | ||
| + | bootcmd=nand read 0x21000000 0x200000 0x80000;nand read 0x22000000 0x280000 0x600000;bootz 0x22000000 - 0x21000000 | ||
| + | bootdelay=5 | ||
| + | cpu=armv7 | ||
| + | ethact=gmac0 | ||
| + | ethaddr=62:03:47:49:cb:f3 | ||
| + | ipaddr=192.168.28.28 | ||
| + | preboot=nand read 0x22000000 0x180000 0x80000; bmp display 0x22000000 0 0 | ||
| + | serverip=192.168.28.100 | ||
| + | soc=at91 | ||
| + | target_board_ip=192.168.28.28 | ||
| + | tftp-write-dt=tftp 0x20000000 vi_dt.bin;nand erase 0x200000 0x80000;nand write 0x20000000 0x200000 $filesize | ||
| + | tftp-write-kernel=tftp 0x20000000 zImage.bin;nand erase 0x280000 0x600000;nand write 0x20000000 0x280000 $filesize | ||
| + | tftp-write-logo=tftp 0x20000000 logo.bmp;nand erase 0x180000 0x80000;nand write 0x20000000 0x180000 $filesize | ||
| + | tftp-write-rootfs=tftp 0x20000000 rootfs_ubi.bin;nand erase 0x880000 0xF780000;nand write 0x20000000 0x880000 $filesize | ||
| + | tftp-write-uboot=tftp 0x20000000 u-boot.bin;nand erase 0x40000 0x80000;nand write 0x20000000 0x40000 $filesize | ||
| + | tftp_ip=192.168.28.100 | ||
| + | vendor=atmel | ||
| + | |||
| + | Environment size: 2516/262139 bytes | ||
| + | => | ||
| + | => | ||
| + | |||
| + | 위의 설정에 따라 | ||
| + | |||
| + | TFTP를 사용하여 DTB 파일을 NAND에 Write 할때 사용하는 커맨드 예 | ||
| + | |||
| + | run tftp-write-dt | ||
| + | |||
| + | TFTP를 사용하여 커널 파일을 NAND에 Write 할때 사용하는 커맨드 예 | ||
| + | |||
| + | run tftp-write-kernel | ||
| + | |||
| + | TFTP를 사용하여 logo BMP 파일을 NAND에 Write 할때 사용하는 커맨드 예 | ||
| + | |||
| + | run tftp-write-logo | ||
| + | |||
| + | TFTP를 사용하여 rootfs 파일을 NAND에 Write 할때 사용하는 커맨드 예 | ||
| + | |||
| + | run tftp-write-rootfs | ||
| + | |||
| + | TFTP를 사용하여 uboot 파일을 NAND에 Write 할때 사용하는 커맨드 예 | ||
| + | |||
| + | run tftp-write-uboot | ||
| + | |||
| + | TFTP를 사용하여 kernel과 DTB를 로드하고 NAND에 저장된 rootfs를 이용하여 부팅시 사용하는 커맨드 예 | ||
| + | |||
| + | run boot-tftp-ubi | ||
| + | |||
| + | TFTP를 사용하여 kernel과 DTB를 로드하고 NFS의 rootfs를 이용하여 부팅시 사용하는 커맨드 예 | ||
| + | |||
| + | run boot-tftp-nfs | ||
| + | |||
| + | NAND에 저장된 kernel, DTB, rootfs를 이용하여 부팅시 사용하는 커맨드 예 | ||
| + | |||
| + | run boot-nand-ubi | ||
| + | |||
| + | NAND에 저장된 kernel, DTB를 로드하고 NFS의 rootfs를 이용하여 부팅시 사용하는 커맨드 예 | ||
| + | |||
| + | run boot-nand-nfs | ||
| + | |||
| + | 실제 TFTP를 사용하여 kernel과 DTB를 로드하고 NFS의 rootfs를 이용하여 부팅하는 로그 | ||
| + | |||
| + | RomBOOT | ||
| + | Bank Address Offset Bits = 0xB ... | ||
| + | Target Board Initialized | ||
| + | Enabled 32.768KHz OSC | ||
| + | |||
| + | |||
| + | Atmel Boot Strap For VI3.8.7 (2017. 07. 11. (ȭ) 18:08:04 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 (Aug 10 2017 - 18:37:41 +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 | ||
| + | *** Warning - bad CRC, using default environment | ||
| + | |||
| + | In: serial | ||
| + | Out: serial | ||
| + | Err: serial | ||
| + | Net: | ||
| + | Warning: gmac0 using random MAC address - 62:03:47:49:cb:f3 | ||
| + | gmac0, usb_ether | ||
| + | Warning: usb_ether (eth1) using random MAC address - 62:03:47:49:cb:f3 | ||
| + | |||
| + | |||
| + | NAND read: device 0 offset 0x180000, size 0x80000 | ||
| + | 524288 bytes read: OK | ||
| + | Hit any key to stop autoboot: 5 0 | ||
| + | => printenv | ||
| + | arch=arm | ||
| + | baudrate=115200 | ||
| + | board=sama5d4_vi_base | ||
| + | board_name=sama5d4_vi_base | ||
| + | boot-nand-nfs=setenv bootargs 'console=ttyS0,115200 root=/dev/nfs rw nfsroot=192.168.28.104:/home/stephanos/NFS_VI ip=192.168.28.28:192.168.28.104:192.168.28.1:255.255.255.0::';nand read 0x21000000 0x200000 0x80000;nand read 0x22000000 0x280000 0x600000;bootz 0x22000000 - 0x21000000 | ||
| + | boot-nand-ubi=setenv bootargs 'console=ttyS0,115200 earlyprintk mtdparts=atmel_nand:256k(bootstrap)ro,512k(uboot)ro,256K(env),256k(env_redundent),256k(spare),512k(logo),512k(dtb),6M(kernel)ro,-(rootfs) rootfstype=ubifs ubi.mtd=8 root=ubi0:rootfs';nand read 0x21000000 0x200000 0x80000;nand read 0x22000000 0x280000 0x600000;bootz 0x22000000 - 0x21000000 | ||
| + | boot-tftp-nfs=setenv bootargs 'console=ttyS0,115200 root=/dev/nfs rw nfsroot=192.168.28.104:/home/stephanos/NFS_VI ip=192.168.28.28:192.168.28.104:192.168.28.1:255.255.255.0::';tftp 0x21000000 vi_dt.bin;tftp 0x22000000 zImage.bin;bootz 0x22000000 - 0x21000000 | ||
| + | boot-tftp-ubi=setenv bootargs 'console=ttyS0,115200 earlyprintk mtdparts=atmel_nand:256k(bootstrap)ro,512k(uboot)ro,256K(env),256k(env_redundent),256k(spare),512k(logo),512k(dtb),6M(kernel)ro,-(rootfs) rootfstype=ubifs ubi.mtd=8 root=ubi0:rootfs';tftp 0x21000000 vi_dt.bin;tftp 0x22000000 zImage.bin;bootz 0x22000000 - 0x21000000 | ||
| + | bootargs=console=ttyS0,115200 earlyprintk mtdparts=atmel_nand:256k(bootstrap)ro,512k(uboot)ro,256K(env),256k(env_redundent),256k(spare),512k(logo),512k(dtb),6M(kernel)ro,-(rootfs) rootfstype=ubifs ubi.mtd=8 root=ubi0:rootfs | ||
| + | bootcmd=nand read 0x21000000 0x200000 0x80000;nand read 0x22000000 0x280000 0x600000;bootz 0x22000000 - 0x21000000 | ||
| + | bootdelay=5 | ||
| + | cpu=armv7 | ||
| + | ethact=gmac0 | ||
| + | ethaddr=62:03:47:49:cb:f3 | ||
| + | ipaddr=192.168.28.28 | ||
| + | preboot=nand read 0x22000000 0x180000 0x80000; bmp display 0x22000000 0 0 | ||
| + | serverip=192.168.28.100 | ||
| + | soc=at91 | ||
| + | target_board_ip=192.168.28.28 | ||
| + | tftp-write-dt=tftp 0x20000000 vi_dt.bin;nand erase 0x200000 0x80000;nand write 0x20000000 0x200000 $filesize | ||
| + | tftp-write-kernel=tftp 0x20000000 zImage.bin;nand erase 0x280000 0x600000;nand write 0x20000000 0x280000 $filesize | ||
| + | tftp-write-logo=tftp 0x20000000 logo.bmp;nand erase 0x180000 0x80000;nand write 0x20000000 0x180000 $filesize | ||
| + | tftp-write-rootfs=tftp 0x20000000 rootfs_ubi.bin;nand erase 0x880000 0xF780000;nand write 0x20000000 0x880000 $filesize | ||
| + | tftp-write-uboot=tftp 0x20000000 u-boot.bin;nand erase 0x40000 0x80000;nand write 0x20000000 0x40000 $filesize | ||
| + | tftp_ip=192.168.28.100 | ||
| + | vendor=atmel | ||
| + | |||
| + | Environment size: 2516/262139 bytes | ||
| + | => | ||
| + | => | ||
| + | => run boot-tftp-nfs | ||
| + | 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 'vi_dt.bin'. | ||
| + | Load address: 0x21000000 | ||
| + | Loading: *### | ||
| + | 1.2 MiB/s | ||
| + | done | ||
| + | Bytes transferred = 33486 (82ce hex) | ||
| + | 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 'zImage.bin'. | ||
| + | Load address: 0x22000000 | ||
| + | Loading: *################################################################# | ||
| + | ################################################################# | ||
| + | ################################################################# | ||
| + | ######################################################## | ||
| + | 1.6 MiB/s | ||
| + | done | ||
| + | Bytes transferred = 3681888 (382e60 hex) | ||
| + | Kernel image @ 0x22000000 [ 0x000000 - 0x382e60 ] | ||
| + | ## Flattened Device Tree blob at 21000000 | ||
| + | Booting using the fdt blob at 0x21000000 | ||
| + | Loading Device Tree to 27b06000, end 27b112cd ... OK | ||
| + | |||
| + | Starting kernel ... | ||
| + | |||
| + | Booting Linux on physical CPU 0x0 | ||
| + | Linux version 4.9.36 (stephanos@stephanos-VirtualBox) (gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11) ) #13 Sat Aug 12 15:15:57 KST 2017 | ||
| + | CPU: ARMv7 Processor [410fc051] revision 1 (ARMv7), cr=10c53c7d | ||
| + | CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache | ||
| + | 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 root=/dev/nfs rw nfsroot=192.168.28.104:/home/stephanos/NFS_VI ip=192.168.28.28:192.168.28.104:192.168.28.1:255.255.255.0:: | ||
| + | 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: 120140K/131072K available (6144K kernel code, 193K rwdata, 1332K rodata, 1024K init, 177K bss, 10932K 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 - 0xc0700000 (7136 kB) | ||
| + | .init : 0xc0900000 - 0xc0a00000 (1024 kB) | ||
| + | .data : 0xc0a00000 - 0xc0a30560 ( 194 kB) | ||
| + | .bss : 0xc0a30560 - 0xc0a5c9b8 ( 178 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 | ||
| + | NFS: Registering the id_resolver key type | ||
| + | Key type id_resolver registered | ||
| + | Key type id_legacy registered | ||
| + | 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 | ||
| + | nbd: registered device at major 43 | ||
| + | [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 found at page 131008, version 0x01 | ||
| + | Bad block table found at page 130944, version 0x01 | ||
| + | 6 ofpart partitions found on MTD device atmel_nand | ||
| + | Creating 6 MTD partitions on "atmel_nand": | ||
| + | 0x000000000000-0x000000040000 : "at91bootstrap" | ||
| + | 0x000000040000-0x0000000c0000 : "bootloader" | ||
| + | 0x0000000c0000-0x000000180000 : "bootloader env" | ||
| + | 0x000000180000-0x000000200000 : "device tree" | ||
| + | 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 (62:03:47:49:cb:f3) | ||
| + | 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 | ||
| + | random: fast init done | ||
| + | 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 | ||
| + | NET: Registered protocol family 15 | ||
| + | Key type dns_resolver registered | ||
| + | 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 | ||
| + | input: gpio_keys as /devices/soc0/gpio_keys/input/input0 | ||
| + | at91_rtc fc0686b0.rtc: setting system clock to 2012-01-01 00:12:28 UTC (1325376748) | ||
| + | IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready | ||
| + | macb f8020000.ethernet eth0: link up (100/Full) | ||
| + | IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready | ||
| + | IP-Config: Complete: | ||
| + | device=eth0, hwaddr=62:03:47:49:cb:f3, ipaddr=192.168.28.28, mask=255.255.255.0, gw=192.168.28.1 | ||
| + | host=192.168.28.28, domain=, nis-domain=(none) | ||
| + | bootserver=192.168.28.104, rootserver=192.168.28.104, rootpath= | ||
| + | atmel_usart fc00c000.serial: using dma0chan6 for rx DMA transfers | ||
| + | atmel_usart fc00c000.serial: using dma0chan7 for tx DMA transfers | ||
| + | VFS: Mounted root (nfs filesystem) on device 0:13. | ||
| + | devtmpfs: mounted | ||
| + | Freeing unused kernel memory: 1024K (c0900000 - c0a00000) | ||
| + | Starting logging: OK | ||
| + | Jan 1 00:12:31 VIroot syslog.info syslogd started: BusyBox v1.26.0 | ||
| + | Jan 1 00:12:31 VIroot user.info kernel: Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) | ||
| + | Jan 1 00:12:31 VIroot user.info kernel: Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) | ||
| + | Jan 1 00:12:31 VIroot user.info kernel: Memory: 120140K/131072K available (6144K kernel code, 193K rwdata, 1332K rodata, 1024K init, 177K bss, 10932K reserved, 0K cma-reserved) | ||
| + | Jan 1 00:12:31 VIroot user.notice kernel: Virtual kernel memory layout: | ||
| + | Jan 1 00:12:31 VIroot user.notice kernel: vector : 0xffff0000 - 0xffff1000 ( 4 kB) | ||
| + | Jan 1 00:12:31 VIroot user.notice kernel: fixmap : 0xffc00000 - 0xfff00000 (3072 kB) | ||
| + | Jan 1 00:12:31 VIroot user.notice kernel: vmalloc : 0xc8800000 - 0xff800000 ( 880 MB) | ||
| + | Jan 1 00:12:31 VIroot user.notice kernel: lowmem : 0xc0000000 - 0xc8000000 ( 128 MB) | ||
| + | Jan 1 00:12:31 VIroot user.notice kernel: modules : 0xbf000000 - 0xc0000000 ( 16 MB) | ||
| + | Jan 1 00:12:31 VIroot user.notice kernel: .text : 0xc0008000 - 0xc0700000 (7136 kB) | ||
| + | Jan 1 00:12:31 VIroot user.notice kernel: .init : 0xc0900000 - 0xc0a00000 (1024 kB) | ||
| + | Jan 1 00:12:31 VIroot user.notice kernel: .data : 0xc0a00000 - 0xc0a30560 ( 194 kB) | ||
| + | Jan 1 00:12:31 VIroot user.notice kernel: .bss : 0xc0a30560 - 0xc0a5c9b8 ( 178 kB) | ||
| + | Jan 1 00:12:31 VIroot user.info kernel: NR_IRQS:16 nr_irqs:16 16 | ||
| + | Jan 1 00:12:31 VIroot user.info kernel: L2C-310 ID prefetch enabled, offset 2 lines | ||
| + | Jan 1 00:12:31 VIroot user.info kernel: L2C-310 dynamic clock gating enabled, standby mode enabled | ||
| + | Jan 1 00:12:31 VIroot user.info kernel: L2C-310 cache controller enabled, 8 ways, 128 kB | ||
| + | Jan 1 00:12:31 VIroot user.info kernel: L2C-310: CACHE_ID 0x410000c9, AUX_CTRL 0x36020000 | ||
| + | Jan 1 00:12:31 VIroot user.info kernel: clocksource: pit: mask: 0x7ffffff max_cycles: 0x7ffffff, max_idle_ns: 10859434279 ns | ||
| + | Jan 1 00:12:31 VIroot user.info kernel: sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 21474836475000000ns | ||
| + | Jan 1 00:12:31 VIroot user.info kernel: Console: colour dummy device 80x30 | ||
| + | Jan 1 00:12:31 VIroot user.info kernel: Calibrating delay loop... 351.43 BogoMIPS (lpj=1757184) | ||
| + | Initializing random number generator... Jan 1 00:12:31 VIroot user.info kernel: pid_max: default: 32768 minimum: 301 | ||
| + | Jan 1 00:12:31 VIroot user.info kernel: Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) | ||
| + | Jan 1 00:12:31 VIroot user.info kernel: Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) | ||
| + | Jan 1 00:12:31 VIroot user.info kernel: CPU: Testing write buffer coherency: ok | ||
| + | Jan 1 00:12:31 VIroot user.info kernel: Setting up static identity map for 0x20100000 - 0x20100058 | ||
| + | Jan 1 00:12:31 VIroot user.info kernel: devtmpfs: initialized | ||
| + | Jan 1 00:12:31 VIroot user.info kernel: VFP support v0.3: implementor 41 architecture 2 part 30 variant 5 rev 1 | ||
| + | Jan 1 00:12:31 VIroot user.info kernel: clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns | ||
| + | Jan 1 00:12:31 VIroot user.info kernel: futex hash table entries: 256 (order: -1, 3072 bytes) | ||
| + | Jan 1 00:12:31 VIroot user.info kernel: pinctrl core: initialized pinctrl subsystem | ||
| + | Jan 1 00:12:31 VIroot user.info kernel: NET: Registered protocol family 16 | ||
| + | Jan 1 00:12:31 VIroot user.info kernel: DMA: preallocated 256 KiB pool for atomic coherent allocations | ||
| + | Jan 1 00:12:31 VIroot user.info kernel: cpuidle: using governor ladder | ||
| + | Jan 1 00:12:31 VIroot user.info kernel: AT91: Detected SoC family: sama5d4 | ||
| + | Jan 1 00:12:31 VIroot user.info kernel: AT91: Detected SoC: sama5d42, revision 0 | ||
| + | Jan 1 00:12:31 VIroot user.info kernel: gpio-at91 fc06a000.gpio: at address c8859000 | ||
| + | Jan 1 00:12:31 VIroot user.info kernel: gpio-at91 fc06b000.gpio: at address c885b000 | ||
| + | Jan 1 00:12:31 VIroot user.info kernel: gpio-at91 fc06c000.gpio: at address c885d000 | ||
| + | Jan 1 00:12:31 VIroot user.info kernel: gpio-at91 fc068000.gpio: at address c8871000 | ||
| + | Jan 1 00:12:31 VIroot user.info kernel: gpio-at91 fc06d000.gpio: at address c8873000 | ||
| + | Jan 1 00:12:31 VIroot user.info kernel: pinctrl-at91 ahb:done. | ||
| + | Starting system message bus: dbus-uuidgen: error while loading shared libraries: libdbus-1.so.3: cannot open shared object file: No such file or directory | ||
| + | dbus-daemon: error while loading shared libraries: libdbus-1.so.3: cannot open shared object file: No such file or directory | ||
| + | done | ||
| + | Starting network: ip: RTNETLINK answers: File exists | ||
| + | FAIL | ||
| + | Jan 1 00:12:32 VIroot daemon.info : starting pid 146, tty '/dev/console': '/sbin/getty -L console 0 vt100 ' | ||
| + | |||
| + | Value Innovation | ||
| + | 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:12:32 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 | ||
| + | VIroot login: root | ||
| + | Password: | ||
| + | Jan 1 00:12:42 VIroot auth.info login[146]: root login on 'console' | ||
| + | # | ||
| + | # | ||
| + | |||
| + | |||
| + | ===== 최소사양으로 rootfs 만드는 법 ===== | ||
| + | |||
| + | 다음을 참조한다.\\ | ||
| + | |||
| + | http://1.235.32.108/doku.php?id=file_system | ||