Edited by cprogrammer at Wed Jul 22, 2015 09:03 |
Yes, the problem is with the official image. It does not give full HD resolution.
BTW. I have managed to get full resolution by modifying the official image just now
I have overwritten the bootloader, uImage, script.bin, uEnv.txt from the 3.4.103 source tree and changed the boot partition to vfat. By changing the boot partition to vfat from ext4, the shutdown problem has disappeared. So i am good for the time being.
To summarize, I now have the latest FC22 working. Ethernet, wifi, HD resolution, audio all works. But this is with the older kernel 3.4.103
However, I still would want to go with compiling the latest kernel and add full fledged support for bananapi (mali drivers, fb support for sunxi, etc).
This is what I did to fix the problem, a quick and dirty script to fix the official FC22 distribution
echo "creating vfat filesystem"
/usr/sbin/mkfs.vfat /dev/mmcblk0p1 -I -n boot
dd if=/dev/zero of=/dev/mmcblk0 bs=1k count=1023 seek=1
dd if=sunxi-bsp/build/u-boot-sunxi-with-spl.bin of=/dev/mmcblk0 bs=1024 seek=8
/usr/bin/mount -t vfat /dev/mmcblk0p1 /mnt
/bin/cp sunxi-bsp/build/uImage /mnt
/bin/cp sunxi-bsp/build/script.bin /mnt
/bin/cp uEnvfc22.txt /mnt/uEnv.txt
/bin/cp sunxi-bsp/build/.config /mnt
and the content of my uEnv.txt is as follows
bootargs=console=ttyS0,115200 console=tty0 disp.screen0_output_mode=EDID:1280x720p50 hdmi.audio=EDID:0 console=tty1 root=/dev/mmcblk0p3 rootfstype=ext4 elevator=deadline rootwait
aload_script=fatload mmc 0 0x43000000 script.bin;
aload_kernel=fatload mmc 0 0x48000000 uImage; bootm 0x48000000;
uenvcmd=run aload_script aload_kernel