Hi All,
I downloaded the latest git version with the following command today.
Code: Select all
git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git linux-git
After that I tested our latest Nemo patch 4.7-1 with
patch -p0 < nemo_4.7-1.patch. It works without any problems.
Fantastic, I don't need to create a new patch for the latest git version.
I tried to compile it and got of course the following error message:
Code: Select all
arch/powerpc/kernel/pci-common.c: In function ‘pci_process_bridge_OF_ranges’:
arch/powerpc/kernel/pci-common.c:732:59: error: ‘_PAGE_GUARDED’ undeclared (first use in this function)
range.size, _PAGE_NO_CACHE|_PAGE_GUARDED);
^
arch/powerpc/kernel/pci-common.c:732:59: note: each undeclared identifier is reported only once for each function it appears in
make[1]: *** [arch/powerpc/kernel/pci-common.o] Fehler 1
make: *** [arch/powerpc/kernel] Fehler 2
I deleted
_PAGE_GUARDED because I figured out, that the kernel 4.6 boots without it.
Code: Select all
__ioremap_at(range.cpu_addr, (void *)ISA_IO_BASE,
range.size, _PAGE_NO_CACHE);
Then it compiled without any problems. Unfortunately it doesn't boot.
Then I replaced
_PAGE_NO_CACHE with
pgprot_val(pgprot_noncached(__pgprot(0))));
Code: Select all
__ioremap_at(range.cpu_addr, (void *)ISA_IO_BASE,
range.size, pgprot_val(pgprot_noncached(__pgprot(0))));
Afterwards it compiled too but it doesn't boot either.
I removed the powerpc-4.7-1 commit with:
Code: Select all
git revert c04a5880299eab3da8c10547db96ea9cdffd44a6 -m 1
Result:
199 files changed, 3405 insertions(+), 7173 deletions(-)
Then I was able to patch the kernel sources with our latest Nemo patch 4.7-1.
It boots without the commit powerpc-4.7-1. I tested a lot of things with the latest git version and it works without any problems.
Test results:
1) Hardware 3D acceleration works (tested with DOOM 3 and SuperTuxKart 0.8.1-2)
2) Sound works (MP3 files, web radio etc)
3) LAN works (Realtek RTL-8139)
4) WLAN works (FRITZ!WLAN USB Stick N)
5) "PR" KVM works (QEMU guest: Mac OS X 10.4.11 Tiger)
6) Compiz works
7) HD YouTube videos work
8) Internal CF card works
I tested the latest git kernel with Debian Sid and ubuntu MATE 16.10.
I released it as alpha4.
Download:
vmlinux-4.7-alpha4-AmigaONE_X1000.tar.gz
Please test it.
Cheers,
Christian