[SOLVED] Problem with linux kernel compilation

Started by yoann_q, May 15, 2014, 07:40:24 am

Previous topic - Next topic

yoann_q

May 15, 2014, 07:40:24 am Last Edit: May 16, 2014, 07:49:16 am by yoann_q
hi
last year i compile the linux kernel (it was a 3.4.67+ version) using the folowing procedure http://olimex.wordpress.com/2013/10/28/building-debian-sd-card-for-linux-with-kernel-3-4-from-scratch-for-a10s-olinuxino-micro/
it work perfecly appart of the problem described here https://www.olimex.com/forum/index.php?topic=2339.msg10535#msg10535
last week  i try to test the last kernel available on the sunxi git, which is a 3.4.86 version (my priority is to check if the sonixj  problem was solved)
so i use the same procedure as for 3.4.67 and the compilation of the kernel fail (using the same config as the 3.4.67+) , the message is

make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -j4 uImage
.........
  LD      init/built-in.o
  LD      .tmp_vmlinux1
drivers/built-in.o: In function `sw_hcd_board_set_vbus':
/home/yoann/a10s_kernel_3.4.86/linux-sunxi/drivers/usb/sunxi_usb/hcd/hcd0/sw_hcd0.c:565: undefined reference to `axp_gpio_set_value'
/home/yoann/a10s_kernel_3.4.86/linux-sunxi/drivers/usb/sunxi_usb/hcd/hcd0/sw_hcd0.c:554: undefined reference to `axp_gpio_set_value'
drivers/built-in.o: In function `pin_exit':
/home/yoann/a10s_kernel_3.4.86/linux-sunxi/drivers/usb/sunxi_usb/hcd/hcd0/sw_hcd0.c:483: undefined reference to `axp_gpio_set_io'
/home/yoann/a10s_kernel_3.4.86/linux-sunxi/drivers/usb/sunxi_usb/hcd/hcd0/sw_hcd0.c:485: undefined reference to `axp_gpio_set_value'
drivers/built-in.o: In function `pin_init':
/home/yoann/a10s_kernel_3.4.86/linux-sunxi/drivers/usb/sunxi_usb/hcd/hcd0/sw_hcd0.c:430: undefined reference to `axp_gpio_set_io'
/home/yoann/a10s_kernel_3.4.86/linux-sunxi/drivers/usb/sunxi_usb/hcd/hcd0/sw_hcd0.c:432: undefined reference to `axp_gpio_set_value'
make: *** [.tmp_vmlinux1] Error 1



Question 1 : is there a solution to correct this problem
Question 2 : the hcd_axp.patch application doesn't work but it seems that the 3.4.86 includes the patch

best regards

yoann_q

resolved using procedure described here https://www.olimex.com/forum/index.php?topic=3002.0
the axp patch is not usefull for a 3.4.90 version