Edit: i now got it to work. I used a serial console for debugging the boot process of my custom kernel, which ended with "Waiting for root /dev/mmc...".
The solution was to use a different script.bin. after replacing it (cant remember from where i downloaded it), my kernel booted just fine. i have uploaded my kernel, script.bin and uEnv.txt to aur in case someone else is in the same situation.
https://aur.archlinux.org/packages/linux-sun7i/
Hi,
i try to get X11 to work. there are some nice tutorials here, but they all asume that you already have the kernel modules running. As far as i can see, the linux-sun7i package does not contain those modules (error maybe? because the 3.3 sourcecode contains at least mali and ump but not mali_drm. i think mali_drm is required for X11 right?).
Basicly, im looking for a way to get the mali stuff running, but i also have some other questsions.
that is what i have tried so far:
i have tried to install the latest DX910-SW-99002-r3p2-01rel4 driver with the 3.3 linux-sun7i package, but this gives the follwing error at compile and insmod time:
$this->bbcode_second_pass_code('', ' Building modules, stage 2.
MODPOST 1 modules
WARNING: "sync_fence_wait" [/root/DX910-SW-99002-r3p2-01rel4/driver/src/devicedrv/mali/mali.ko] undefined!
WARNING: "sync_fence_wait_async" [/root/DX910-SW-99002-r3p2-01rel4/driver/src/devicedrv/mali/mali.ko] undefined!
WARNING: "sync_fence_fdget" [/root/DX910-SW-99002-r3p2-01rel4/driver/src/devicedrv/mali/mali.ko] undefined!
WARNING: "sync_timeline_signal" [/root/DX910-SW-99002-r3p2-01rel4/driver/src/devicedrv/mali/mali.ko] undefined!
WARNING: "sync_fence_install" [/root/DX910-SW-99002-r3p2-01rel4/driver/src/devicedrv/mali/mali.ko] undefined!
WARNING: "sync_pt_free" [/root/DX910-SW-99002-r3p2-01rel4/driver/src/devicedrv/mali/mali.ko] undefined!
WARNING: "sync_timeline_destroy" [/root/DX910-SW-99002-r3p2-01rel4/driver/src/devicedrv/mali/mali.ko] undefined!
WARNING: "sync_fence_cancel_async" [/root/DX910-SW-99002-r3p2-01rel4/driver/src/devicedrv/mali/mali.ko] undefined!
WARNING: "sync_pt_create" [/root/DX910-SW-99002-r3p2-01rel4/driver/src/devicedrv/mali/mali.ko] undefined!
WARNING: "sync_fence_put" [/root/DX910-SW-99002-r3p2-01rel4/driver/src/devicedrv/mali/mali.ko] undefined!
WARNING: "sync_fence_create" [/root/DX910-SW-99002-r3p2-01rel4/driver/src/devicedrv/mali/mali.ko] undefined!
WARNING: "sync_timeline_create" [/root/DX910-SW-99002-r3p2-01rel4/driver/src/devicedrv/mali/mali.ko] undefined!
CC /root/DX910-SW-99002-r3p2-01rel4/driver/src/devicedrv/mali/mali.mod.o
LD [M] /root/DX910-SW-99002-r3p2-01rel4/driver/src/devicedrv/mali/mali.ko
make[2]: Leaving directory '/usr/src/linux-3.3.0-4-ARCH'
make[1]: Leaving directory '/root/DX910-SW-99002-r3p2-01rel4/driver/src/devicedrv/mali'
')
no idea what this means. ideas? maybe my config.h is wrong:
$this->bbcode_second_pass_code('', '#ifndef __ARCH_CONFIG_H__
#define __ARCH_CONFIG_H__
#define ARCH_UMP_BACKEND_DEFAULT 1
#define ARCH_UMP_MEMORY_ADDRESS_DEFAULT 0x5E000000
#define ARCH_UMP_MEMORY_SIZE_DEFAULT 512UL * 1024UL * 1024UL
#endif /* __ARCH_CONFIG_H__ */')
then i tried compiling the linux-sunxi 3.4 version with mali support included from the sunxi repos, compiling worked without problems, but i were not able to boot it (device screen stays of, no led activity, no network.). im not up to uboot, is repalcing the uImage sufficient to get it to boot a new image? i tried to get netconsole running, but i did not manage to pass the new boot params to my kernel (tried uEnv.txt). a littel tutorial for the cubieboard would be nice.
last but not least, while looking at http://linux-sunxi.org/Linux_mainlining ... _into_3.12 it seems that the 3.12 kernel should support the cubieboard2. so it could be possible to use the linux-armv7? well, i also failed to boot it, but that does not mean much.