CC drivers/video/sunxi/disp2/disp/de/lowlevel_sun8iw6/de_clock.o
drivers/video/sunxi/disp2/disp/de/lowlevel_sun8iw6/de_wb.c: In function ‘WB_EBIOS_Set_Para’:
drivers/video/sunxi/disp2/disp/de/lowlevel_sun8iw6/de_wb.c:314:94: warning: ‘cs_out_h0’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if((cs_out_w0 == fs_out_w0)&&(cs_out_h0 == fs_out_h0)&&(cs_out_w1 == fs_out_w1)&&(cs_out_h1 == fs_out_h1))
^
drivers/video/sunxi/disp2/disp/de/lowlevel_sun8iw6/de_wb.c:314:68: warning: ‘cs_out_w0’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if((cs_out_w0 == fs_out_w0)&&(cs_out_h0 == fs_out_h0)&&(cs_out_w1 == fs_out_w1)&&(cs_out_h1 == fs_out_h1))
^
LD drivers/usb/built-in.o
LD drivers/video/sunxi/disp2/disp/disp.o
LD drivers/video/sunxi/disp2/disp/built-in.o
LD drivers/video/sunxi/built-in.o
LD drivers/video/built-in.o
LD drivers/built-in.o
make[1]: Leaving directory ‘/root/BPI-M3-bsp/linux-sunxi’
Makefile:57: recipe for target ‘kernel’ failed
make: *** [kernel] Error 2
Any suggestions how to compile the kernle on M3 ?
I tried to compile it on Ubuntu.
best regards
Hi @strongLi
Are you sure of the solution.
I tried to modify memory-sun8iw6p1.h as you mention above but I am still stuck on my kernel boot process.
Same as @Brian_Kim the last message is:
I forget to say that I didn’t change any configuration in kernel config.
I simply tried first to boot the BPI-M3 with a kernel compile by myself base on the source given from github.com/BPI-SINOVOIP/BPI-M3-bsp.git
@sinovoip are you still interest in feedback because the bsp git version for M3 didn’t work at all.
Another question:
Why the kernel (3.4.39-BPI-M3-Kernel) have 5.7Mo size in ArchLinuxARM-lite-bpi-m3 2016-5-10 file and
7Mo in ubuntu-16.04-mate-desktop-beta-bpi-m3-ov8865-sd-emmc.img -2017-7-13.
uname -r give exactly the same version name but the kernel uImage size is different…
Kernel Config is exactly the same for ubuntu-16.04-mate-desktop-beta-bpi-m3-ov8865-sd-emmc.img and bsp git repository but compile kernel with git stop booting at the step describe above.