개발 관련/U-Boot 3

U-Boot에서 NFS(Network File System)로 부팅 설정하기

U-Boot에서 NFS(Network File System)로 부팅 설정하기먼저 U-Boot에서 네트워크 설정을 한다.#setenv ipaddr 192.168.0.10 #setenv serverip 192.168.10.10 #setenv gatewayip 192.168.0.1 #setenv netmask 255.255.0.0 #setenv hostname myhost #setenv rootpath /home/myhome/rootfs부팅시 커널에 네트워크 설정 정보와 NFS로 사용할 위치를 argument로 넘겨준다.#setenv bootargs 'root=/dev/nfs rw nfsroot=${serverip}:${rootpath} ip=${ipaddr}:${gatewayip}:${netmask}:${h..

jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000fcac: 0x0b45 instead

Node at 0x0000fca8 with length 0x00000b45 would run over the end of the erase block Perhaps the file system was created with the wrong erase size? jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000fcac: 0x0b45 instead임베디드 시스템에 U-Boot, Kernel, Root File System을 올리고 부팅을 하는 과정에서 위와 같은 에러가 발생하였다.원인은 다양할 수 있으나 어찌 됐건 Flash와 연관이 있는 문제이다.일단 U-Boot를 올리는데 문제가 없었고 잘 동작하였으므로 U-Boot에서의 Flash설정..