Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Xin mo dual arcade joystick
#11
Yep already forked the project ;-)

The problem is that you added your own mali drivers inside the kernel after compiled the kernel
Reply
#12
patch has been merged in original https://github.com/igorpecovnik/lib repo
Reply
#13
(01-04-2017, 06:52 AM)bb2k Wrote: patch has been merged in original https://github.com/igorpecovnik/lib repo

Hello,
so what is now (after merging patch) the best steps to get fixed Xin mo in RetrOrangePI?

Is possible to write short steps list and share patched kernel?

Thanks a lot.

MG
Reply
#14
Ok, here is my unsuccesful list.
1 - install VirtualBox
2 - install Ubuntu Xenial 16.04 x64 into VirtualBox
3 - clone https://github.com/igorpecovnik/lib
4 - compile kernel for OrangePiPc
5 - upload files to RetrOrange 3.01

Code:
-rw-r--r--  1 pi pi   112684 Feb 10 22:31 linux-firmware-image-sun8i_5.25_armhf.deb
-rw-r--r--  1 pi pi  5841720 Feb 10 22:31 linux-headers-sun8i_5.25_armhf.deb
-rw-r--r--  1 pi pi 12612716 Feb 10 22:31 linux-image-sun8i_5.25_armhf.deb
-rw-r--r--  1 pi pi   178726 Feb 10 22:31 linux-u-boot-orangepipc_5.25_armhf.deb

6 - run sudo dpkg -i *.deb
Code:
pi@RetrOrangePi:~/newKernel$ sudo dpkg -i *.deb
Selecting previously unselected package linux-firmware-image-sun8i.
(Reading database ... 156556 files and directories currently installed.)
Preparing to unpack linux-firmware-image-sun8i_5.25_armhf.deb ...
Unpacking linux-firmware-image-sun8i (5.25) ...
dpkg: error processing archive linux-firmware-image-sun8i_5.25_armhf.deb (--install):
trying to overwrite '/lib/firmware/emi26/firmware.fw', which is also in package armbian-firmware-full 5.24
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Preparing to unpack linux-headers-sun8i_5.25_armhf.deb ...
Unpacking linux-headers-sun8i (5.25) over (5.24) ...
Preparing to unpack linux-image-sun8i_5.25_armhf.deb ...
/etc/kernel/preinst.d/initramfs-cleanup: 17: /etc/kernel/preinst.d/initramfs-cleanup: linux-version: not found
Unpacking linux-image-sun8i (5.25) over (5.24) ...
Preparing to unpack linux-u-boot-orangepipc_5.25_armhf.deb ...
Unpacking linux-u-boot-orangepipc-default (5.25) over (5.23) ...
Setting up linux-headers-sun8i (5.25) ...
Compiling headers - please wait ...
Setting up linux-image-sun8i (5.25) ...
update-initramfs: Generating /boot/initrd.img-3.4.113-sun8i
Setting up linux-u-boot-orangepipc-default (5.25) ...
Updating u-boot on device /dev/mmcblk0
Errors were encountered while processing:
linux-firmware-image-sun8i_5.25_armhf.deb

7 - reboot OrangePiPc
8 - Failed to mount ext2 - Unrecognized filesytem typ (OrangePiPc didnt boot anymore)

Code:
U-Boot SPL 2017.01-armbian (Feb 15 2017 - 21:01:29)
DRAM: 1024 MiB
Trying to boot from MMC1

U-Boot 2017.01-armbian (Feb 15 2017 - 21:01:29 +0100) Allwinner Technology

CPU:   Allwinner H3 (SUN8I 1680)
Model: Xunlong Orange Pi PC
I2C:   ready
DRAM:  1 GiB
MMC:   SUNXI SD/MMC: 0
HDMI connected: Setting up a 1280x1024 hdmi console (overscan 0x0)
hdmi enabled
In:    serial
Out:   vga
Err:   vga
Net:   phy interface0
eth0: ethernet@1c30000
Hit any key to stop autoboot:  0
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
reading boot.bmp
6220854 bytes read in 319 ms (18.6 MiB/s)
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
reading /boot.scr
2878 bytes read in 21 ms (133.8 KiB/s)
## Executing script at 43100000
gpio: pin PL10 (gpio 298) value is 1
gpio: pin PG11 (gpio 203) value is 1
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
reading .next
** Unable to read file .next **
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
reading script.bin
36192 bytes read in 27 ms (1.3 MiB/s)
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
reading uInitrd-3.4.113-RetrOrangePi--sun8i
** Unable to read file uInitrd-3.4.113-RetrOrangePi--sun8i **
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
reading vmlinuz-3.4.113-RetrOrangePi--sun8i
** Unable to read file vmlinuz-3.4.113-RetrOrangePi--sun8i **
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
Using machid 0x1029 from environment

Starting kernel ...

undefined instruction
pc : [<420003dc>]       lr : [<42000068>]
reloc pc : [<0e0a73dc>]       lr : [<0e0a7068>]
sp : 79f33e68  ip : 79f33e08     fp : 7df5a264
r10: 00000000  r9 : 79f38ee0     r8 : 40000100
r7 : 00001029  r6 : 42000000     r5 : 400005d4  r4 : 7df81ec0
r3 : 00000008  r2 : 00000020     r1 : 00001029  r0 : 00000001
Flags: nzCv  IRQs off  FIQs off  Mode SVC_32
Resetting CPU ...

I try step 6 with 
Code:
sudo dpkg -i --forece-overwrite *.deb

but after reboot is the same result.

So where can be problem in updating new kernel?
Reply
#15
Smile 
hey guys im not the greatest with tech and seem to be having similar difficulties could you please tell me step by step as to what to do?

thanks
Reply
#16
(04-14-2017, 12:11 AM)orangepi guy Wrote: hey guys im not the greatest with tech and seem to be having similar difficulties could you please tell me step by step as to what to do?

thanks

Hi,
I wasnt able to solve problem with kernel patch. Mayby some next ROPI image will fix it.

Instead of Xin mo USB controller I made joystick controllers from two Arduino Pro Micro and Joystick Library.
This solution worked for me and costs 6$.

MG
Reply
#17
Hi,

I have tried to update kernel but orangePi doesn't start again
Do you have found a solution ? Or did anyone understand bb2k solution ?

Matthieu
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Cheap DIY arcade kit from eBay? chupo_cro 1 570 04-26-2017, 04:50 PM
Last Post: alexkidd
  xin moe arcade help orangepi guy 2 592 04-14-2017, 12:02 AM
Last Post: orangepi guy
  Scheme GPIO for Arcade stick and buttons? brnirons 3 1,545 01-17-2017, 08:56 AM
Last Post: Armen

Forum Jump:


Users browsing this thread: 1 Guest(s)