Open hlemorvan opened 7 years ago
Yes, i have this problem too. Kernel build without errors only if disable CMA and PSMouse in config. Run ./build and select 'kernel configure':
--------------------------------------------------------------------------------
1. Build all, uboot and kernel and pack to download images.
2. Build uboot only.
3. Build kernel only.
4. kernel configure.
5. Pack the builds to target download image, this step must execute after u-boot,
kernel and rootfs build out
6. update files for SD
7. Clean all build.
--------------------------------------------------------------------------------
Please choose a mode(1-7): 4
Then unselect: Device Drivers ---> Generic Driver Options ---> [ ] Contiguous Memory Allocator Device Drivers ---> Input device support ---> Mice ---> < > PS/2 mouse
I follow by this tutorial: https://bananapi.gitbooks.io/bpi-m3/en/howtocompilebpi-m3-bspkernelonbpi-m3.html and failed too.
You may try my guide at https://www.saltbaek.dk/dokuwiki/doku.php?id=bananapim3-bootstrapping I abandoned the M3 last year due to the non-existing support from the company so I can not say if they screwed their build system up again. Please note that you must carefully use Ubuntu 14 64-bit as build OS. On any other OS: good luck....
I confirm this is not working, I have also tried disabling hardware as @dimaw suggested. Please fix code and/or update build instructions so we can make something of this hardware!
I had same problems this is what I had to do
Patch refrnece change whats in this patch: https://pastebin.com/3iA09i26
another error later in build:
mkdir -p linux-sunxi/output/lib/firmware
to fix lifebook_detect
edit
KernelDir/drivers/mouse/lifebook.h:22
inline int lifebook_detect(struct psmouse *psmouse, bool set_properties)
to
int lifebook_detect(struct psmouse *psmouse, bool set_properties)
And BOOM compiled
When I rebuild kernel, I've got this error :
drivers/built-in.o : Dans la fonction « cma_map_kernel » : clk-ac100.c:(.text+0xb5314) : référence indéfinie vers « __get_dma_pgprot » drivers/built-in.o : Dans la fonction « psmouse_extensions » : clk-ac100.c:(.text+0x1bce18) : référence indéfinie vers « lifebook_detect » Makefile:876 : la recette pour la cible « .tmp_vmlinux1 » a échouée make[1]: [.tmp_vmlinux1] Erreur 1 make[1] : on quitte le répertoire « /home/hlemorvan/git/BPI-M3-bsp/linux-sunxi » Makefile:59 : la recette pour la cible « kernel » a échouée make: [kernel] Erreur 2
I follow this tutorial : https://bananapi.gitbooks.io/bpi-m3/zh/bpi-m3crosscompileteach.html
I need to rebuild kernel in order to use natively QT5 on BPI-M3 bit video driver is not include in this distribution : 2016-07-13-raspbian-jessie-bpi-m3
Native build in M3 have problems too (https://bananapi.gitbooks.io/bpi-m3/en/howtocompilebpi-m3-bspkernelonbpi-m3.html)
Regards,