uImage를 빌드하려고 합니다.리눅스-sunxiDebian 상자에서 다음과 같이 준비합니다(Mele 소스에서 데비안을 빌드하는 방법):
apt-get install emdebian-archive-keyring
apt-get install gcc-4.4-arm-linux-gnueabi
apt-get build-essential git
apt-get uboot-mkimage
apt-get libusb-1.0-0-dev
나는 가이드를 따르고 있다첫 번째 단계오류 없이 모든 지침을 완료했습니다.
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- defconfig
작동하지만 make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- -j5 uImage
실패합니다.
LD .tmp_vmlinux1
arch/arm/common/built-in.o: In function `sp804_get_clock_rate':
timer-sp.c:(.init.text+0x31c): undefined reference to `clk_get_sys'
timer-sp.c:(.init.text+0x364): undefined reference to `clk_put'
timer-sp.c:(.init.text+0x398): undefined reference to `clk_put'
arch/arm/mach-versatile/built-in.o: In function `versatile_init_early':
versatile_ab.c:(.init.text+0x134): undefined reference to `clkdev_add_table'
drivers/built-in.o: In function `clcdfb_remove':
hid-input.c:(.text+0xd790): undefined reference to `clk_put'
drivers/built-in.o: In function `clcdfb_probe':
hid-input.c:(.text+0xdc70): undefined reference to `clk_get'
hid-input.c:(.text+0xde04): undefined reference to `clk_put'
drivers/built-in.o: In function `amba_get_enable_pclk':
hid-input.c:(.text+0xe448): undefined reference to `clk_get'
hid-input.c:(.text+0xe470): undefined reference to `clk_put'
drivers/built-in.o: In function `amba_put_disable_pclk':
hid-input.c:(.text+0xe49c): undefined reference to `clk_put'
drivers/built-in.o: In function `pl011_remove':
hid-input.c:(.text+0x2b6c4): undefined reference to `clk_put'
drivers/built-in.o: In function `pl011_probe':
hid-input.c:(.text+0x2c234): undefined reference to `clk_get'
hid-input.c:(.text+0x2c318): undefined reference to `clk_put'
drivers/built-in.o: In function `enable_clock':
hid-input.c:(.text+0x3a004): undefined reference to `clk_get'
hid-input.c:(.text+0x3a01c): undefined reference to `clk_put'
drivers/built-in.o: In function `disable_clock':
hid-input.c:(.text+0x3a044): undefined reference to `clk_get'
hid-input.c:(.text+0x3a05c): undefined reference to `clk_put'
drivers/built-in.o: In function `__pm_clk_remove':
hid-input.c:(.text+0x3a1b8): undefined reference to `clk_put'
drivers/built-in.o: In function `pm_clk_add':
hid-input.c:(.text+0x3a424): undefined reference to `clk_get'
drivers/built-in.o: In function `mmc_io_rw_extended':
hid-input.c:(.text+0x6d9ac): undefined reference to `sunximmc_check_r1_ready'
drivers/built-in.o: In function `amba_kmi_probe':
hid-input.c:(.devinit.text+0x8bc): undefined reference to `clk_get'
drivers/built-in.o: In function `amba_kmi_remove':
hid-input.c:(.devexit.text+0xd4): undefined reference to `clk_put'
make: *** [.tmp_vmlinux1] Fel 1
다음은 전체 덤프입니다.http://pastie.org/5351582
오류 코드를 인터넷 검색해 보았지만 에 대한 정보를 찾을 수 없었습니다 clk_*
. 이러한 기능은 무엇이며 데비안에 설치하는 방법은 무엇입니까?
답변1
잘못된 make Targets: should be 를 실행하여 make defconfig
이 오류가 발생한 것으로 나타났습니다 make sun4i_defconfig
.