2014-09-25 1 views
1

Linux 3.16.1을 부팅하는 데 문제가 있습니다. 나는 at91sam9263_defconfig로 http://www.kernel.org에서 소스를 컴파일했다.AT91SAM9263ek Device Tree로 Linux를 부팅하지 못했습니다.

부팅 옵션에 평평 장치 트리 지원이 추가되었습니다. 이 (http://www.slideshare.net/softpapa/devi ... ux-8930303) 프레젠테이션의 제안에 따라/proc에서 지원 장치 트리를 켜는 방법이 있지만 menuconfig에는 해당 옵션이 없습니다.

장치 트리를 지원하는 U-Boot 부트 로더 버전 2014.10rc2가 있습니다. 나는 커널와 함께 제공되는 스크립트에서 DTB 생성 한 : 이

at91sam9263ek.dtb 수 있도록 지금은이 오류 받고 있어요 :

 
Welcome to minicom 2.5 
OPTIONS: I18n 
Compiled on Feb 9 2011, 14:45:00. 
Port /dev/ttyS0 
Press CTRL-A Z for help on special keys 
RomBOOT 
> 
U-Boot 2014.10-rc2-00200-g9170818-dirty (Sep 23 2014 - 15:16:39) 
CPU: AT91SAM9263 
Crystal frequency: 16.368 MHz 
CPU clock : 199.919 MHz 
Master clock : 99.960 MHz 
DRAM: 64 MiB 
WARNING: Caches not enabled 
NAND: 256 MiB 
MMC: mci: 0 
In: serial 
Out: serial 
Err: serial 
Net: macb0 

Warning: Your board does not use generic board. Please read 
doc/README.generic-board and take action. Boards not 
upgraded by the late 2014 may break or be removed. 

Hit any key to stop autoboot: 0 

U-Boot> tftp uImage 
macb0: Starting autonegotiation... 
macb0: Autonegotiation complete 
macb0: link up, 100Mbps full-duplex (lpa: 0xcde1) 
Using macb0 device 
TFTP from server 192.168.1.247; our IP address is 192.168.1.240 
Filename 'uImage'. 
Load address: 0x22000000 
Loading: ################################################################# 
################################################################# 
################################################################# 
############## 
1.2 MiB/s 
done 

Bytes transferred = 3068016 (2ed070 hex) 

U-Boot> tftp 20000000 dt 
macb0: link up, 100Mbps full-duplex (lpa: 0xcde1) 
Using macb0 device 
TFTP from server 192.168.1.247; our IP address is 192.168.1.240 
Filename 'dt'. 
Load address: 0x20000000 
Loading: # 
340.8 KiB/s 
done 

Bytes transferred = 13279 (33df hex) 

U-Boot> bootm 22000000 - 20000000 
## Booting kernel from Legacy Image at 22000000 ... 
Image Name: Linux-3.16.1 
Image Type: ARM Linux Kernel Image (uncompressed) 
Data Size: 3067952 Bytes = 2.9 MiB 
Load Address: 20008000 
Entry Point: 20008000 
Verifying Checksum ... OK 
## Flattened Device Tree blob at 20000000 
Booting using the fdt blob at 0x20000000 
Loading Kernel Image ... OK 
Loading Device Tree to 23ea3000, end 23ea93de ... OK 
Starting kernel ... 
Uncompressing Linux... done, booting the kernel. 
Error: unrecognized/unsupported device tree compatible list: 
[ 'atmel,at91sam9263ek' 'atmel,at91sam9263' 'atmel,at91sam9' ] 

Available machine support: 
ID (hex) NAME 
000004b2 Atmel AT91SAM9263-EK 

Please check your kernel config and/or bootloader. 

답변

1

솔루션 : 가의 .config이 줄을 추가 CONFIG_MACH_AT91SAM9_DT = y로

+1

커널 버전 및 구성에 따라 다양한 방법이 있습니다. 이것은 하나의 수정 사항입니다. –

+2

.config 파일의 직접 편집이 싫어합니다. 'make menuconfig'를 사용하십시오. – sawdust

관련 문제