Closed iokzero closed 2 years ago
hi, run the command : batocera-support and send me the file, i may be able to fix the joystick. you should join us on discord.
batocera-support-20220604120240.tar.gz
Already am, Thanks for the help!
looks like the are missing modules. do you know the modules that are supposed to be loaded ? does it run on an other linux ? can you do lsmod on an other linux so see the required moduels ?
Unfortunately, batocera and Coreelec is the only two OS I managed to get this system boot and the USB ports aren't working at all in Coreelec. Any OS that my u think I should give it tried that supports the S905X +1GB ram chipset?
It looks like I would need this module 8189es to enable WiFi. Not sure if Batocera has it. But it seems like Armbian has it.
The Joysticks are still a mystery, or might need something custom? The STM8S105 microcontroller do have UART, SPI, and i2C. And sense it is not getting recognized as a USB device, I assume it might be using one of the above for its Joysticks.
is disabled for s905. i will build a beta for s905 and enable this module. you'll tell me if that's better.
for the STM8S105, my guess is that the dts is not ok. if you come on discord and discuss with demetris, probably he can say
@iokzero I have added the wifi driver
oops sorry @nadenislamarre I didn't see your last comments - I built & tested AOK
@dmanlfc i just added that
shouldn't we add these others ?
modification on linux-meson64-current.config are for the joystick ?
i've build a beta for s905 but let me retry with these new kernel settings
upload in progress on the serveur. new beta s905 with your modification are here in 5 min.
@dmanlfc i just added that
shouldn't we add these others ?
select BR2_PACKAGE_RTL8189ES # wanted for s905
select BR2_PACKAGE_RTL_433
select BR2_PACKAGE_RTL8723DS
select BR2_PACKAGE_RTL8812AU
select BR2_PACKAGE_RTL8821CU
if they compile, it won't hurt - i compiled the 8189eu against the 5.10.x kernel aok
modification on linux-meson64-current.config are for the joystick ?
yes i added a couple of things. i suspect however the 8-bit micro-controller isn't outputting HID to use for the joysticks. my suspicion will be some python & gpio which is ugly.
@iokzero over to you...
The original internal DTS has the following gpio entry that matches all joysticks and buttons:
umidokey {
compatible = "amlogic, umidokey";
status = "okay";
scan_period = <0x14>;
key_num = <0x20>;
key_code = <0x134 0x130 0x136 0x137 0x183 0x180 0x17f 0x17e 0x17d 0x17c 0x186 0x00 0x185 0x184 0x00 0x00 0x00 0x00 0x9e 0x00 0x00 0x13b 0x13a 0x67 0x6c 0x69 0x6a 0x00 0x182 0x181 0x133 0x131>;
};
So if the STM8 board is managing that board, it's exposed as a gpio interface using debugs should it be possible to see if there are unmapped gpio devices there.
Original kernel (3.14.29) has this I/O kernel config enabled:
CONFIG_SERIO_AMBAKMI=y (AMBA KMI keyboard controller)
Could that be that simple?
I doubt it, but please try unless they're mapping through a keyboard controller? I suspect the "amlogic, umidokey" is a non standard kernel module. Can you get root / lsmod with the supplied os?
I doubt it, but please try unless they're mapping through a keyboard controller? I suspect the "amlogic, umidokey" is a non standard kernel module. Can you get root / lsmod with the supplied os?
According to @neocvera umido == unico, so basically it's the unico keyboard controller. It could be a variation of the same one found on the MVSX. I'll investigate.
Uploading extracted kconfig, DTB, and decompiled DTD from the r1 firmware. r1_kernel_dtb_files.zip
Thank you so much for the help everyone, You are super awesome!
Unfortunately there is little help I can offer, other than looking things up from the physical hardware, and testing. As far as the STM8 goes, all I can do is figure out which pin goes to which button. and it did seem like there's a header that they use to program the chip with, (Just my guess.) I can share some imagery of the PCB board if that's something useful.
If there are things that you would like me to obtain or check from the android side of things, I will give it a try, if you can tell me what to do. It really has nothing useful from the interface they offer. you can kind of access the USB/SD a little, if there's a file type it can detect. and use the wifi to connect really nowhere. They said it is for future updates, which will never happen. (thought they claim that an update will happen this June or July, last time I asked. will see if it is true.)
Once again really appreciated with the help,
Did the wifi work for v35 beta?
where would I grab a compiled image of v35 beta? I have FUN R1 and can test wifi.
@iokzero / @neocvera - https://mirrors.o2switch.fr/batocera/tvbox/beta/last/
only the boot.tar.zx is downloadable. the other two file 404. Is that current?
I downloaded the boot.tar.zx, extracted, copied over to SD/ replaced content. Enabled wifi - no networks found.
hum, not normal. however, just execute :batocera-upgrade https://mirrors.o2switch.fr/batocera/tvbox/beta/last/
ok. and dmesg say something interesting ?
no.
Upgrade with working WiFi ! (Haven't really use it for anything heavy loaded, but it is able to connect to network, and scan other network in my area.)
Upgrade with working WiFi !
lol mine didn't - maybe i should go the upgrade route. maybe i missed something.
About the file @acmeplus supplied earlier, can an image be recompiled using the whole amlogic s905 stack, to have the kernel + boot merged into a single uImage file?
I used this command while connect to ethernet: Batocera-upgrade https://mirrors.o2switch.fr/batocera/s905/beta/last/
Upgrade with working WiFi ! (Haven't really use it for anything heavy loaded, but it is able to connect to network, and scan other network in my area.)
confirmed - wifi is scanning and displaying available connections - was not successful in making a connection/ connecting to my network.
let me rebuild a beta today with the exact commited modification (and some recent changes on wifi scripts) to confirm it still works
it will be done after the rpi4 build. so, in 5hours, a new s905 beta will be these to confirm that only joystick is missing.
@neocvera This is also something I noticed that, network connection is sometime, not perfectly stable. like sometime it will take a very long time to be connected, even with ethernet. if connected at all. Sometime I just reboot it, and it will get connected faster.
@neocvera This is also something I noticed that, network connection is sometime, not perfectly stable. like sometime it will take a very long time to be connected, even with ethernet. if connected at all. Sometime I just reboot it, and it will get connected faster.
Yeah - the wifi - seems more a novelty at this point; however, ethernet, i am able to establish consistent connections, SSH etc.
CONFIG_SERIO_AMBAKMI=y was already enabled on the kernel in b34
s905 updated. can you feedback please ?
Reviewing things further I found there's a reference to /dev/umidokey inside the firmware that seems to be called from the emulator. Most likely the device is initialized directly via android gadget driver.
s905 updated. can you feedback please ?
I can confirm that everything work as far as I can tell, except for the Joysticks. and the AV port (at least the sound doesn't work.And I can't test the video due to lack of cable and TV) Not sure if this is a setting thing or lack of driver.
I upgraded over WiFi using the previous build. Both USB ports work. Assuming the SD card slot works sense I booted from there, and Of course the HDMI is working too (with sounds).
Thanks!
s905 updated. can you feedback please ?
I can confirm that everything work as far as I can tell, except for the Joysticks. and the AV port (at least the sound doesn't work.And I can't test the video due to lack of cable and TV) Not sure if this is a setting thing or lack of driver.
I upgraded over WiFi using the previous build. Both USB ports work. Assuming the SD card slot works sense I booted from there, and Of course the HDMI is working too (with sounds).
Thanks!
I'll just jump on this and also confirm. In fact, the wifi experience was much better this go around (applying latest latest update) easy connection and able to access the system via network, etc.
I did try headphones in the av port with no success - I have a 3.5mm to AV cable but no cables to connect to it and device to test.
As mentioned, HDMI (video+sound) work well. USB ports, and SD slot all functioning, just not on-board buttons/controls.
Just out of curiosity, if Batocera even actually support the AV port on other S905/S905S or similar systems at all. Given how rare they are getting everyday.
I mean I would still love to use it for headphones. Which I am not sure if it will mute the audio from the HDMI, when plugged in. (Not even sure if that's how it works, LOL) But just wondering.
I managed to boot into armbian, Is there any useful thing I can do over there?
@iokzero only if armbian does something we cannot, like the controllers :-)
@iokzero only if armbian does something we cannot, like the controllers :-)
Nothing worthy have yet found. but it does have more tools like hwinfo, lshw, etc. And I did make a back up of the internal eMMc, but can't really see what's in there yet. so not even sure if that's a proper back up. And of course, it seems like the manual has lie once again, it only have 8GB of eMMc, (It said it has 16GB on the Manual~ LOL)
Given the following information from below, can we make the assumption that the microcontroller is communicating to the S905X with one of the following: UART, SPI, i2C ? Or am I totally off?
https://www.cnx-software.com/2016/01/12/amlogic-s905x-processor-specifications/ https://www.st.com/resource/en/datasheet/stm8s105c4.pdf
I did check for i2C device, and nothing is detect that might related to the controller. but I am not 100% if the i2C port is setup and ready to use or, is there anything at the device tree I need to enable first. (still trying to learn how this stuff works, LOL)
I've just started doing some testing with the R1. Connected the UART, and started to check the different boot messages with the original firmware, batocera, and libreelec. The first thing is that it's confirmed that the controls are attached to a dedicated gpio device called umidokey
that is consistent with the previously extracted DTD file . The ofw boot sequence shows that being initialized:
[ 3.257170@0] gpio-key gpio_keypad.46: gpio_key: 0 name(power) pin()
[ 3.262866@0] gpio-key gpio_keypad.46: amlogic_gpio_name_map_num pin 0!::
[ 3.269646@0] gpio-key gpio_keypad.46: gpio_key: 0 power(147)
[ 3.275367@0] gpio-key gpio_keypad.46: start setup_timer
[ 3.280572@0] gpio-key gpio_keypad.46: power key(116) registed.
[ 3.286640@0] input: gpio_keypad as /devices/gpio_keypad.46/input/input1
[ 3.293174@0] gpio-key gpio_keypad.46: gpio keypad register input device completed.
[ 3.300731@0] input input1: gpio keypad major:226
[ 3.305743@0] umidokey umidokey.47: +-uartdbg:gpio_console: probe!
[ 3.311470@0] umidokey umidokey.47: gpio_console: key_scan_period is 20!
[ 3.318140@0] umidokey umidokey.47: start setup_timer
[ 3.323067@0] umidokey umidokey.47: 0 key(308) registed.
[ 3.328345@0] umidokey umidokey.47: 0 key(304) registed.
[...]
[ 3.494005@0] input: umidokey as /devices/umidokey.47/input/input2
[ 3.500061@0] umidokey umidokey.47: +-uartdbg:gpio console register input device completed.
I'm currently planning to start building the same kernel version as the extracted config one (3.4.29) and start applying the kconfig extracted from the ofw kernel to understand it a bit better. However, looking at the traces it's clear that it's a custom kernel/driver issue.
Hi Batocera Team,
Recently I come obtained an Unico Fun R1, a SNK officially licensed console made by the same company made the MVSX, Arcade Stick Pro, and NeoGeo Mini.
I manage to have it boot into to Batocera, and most of the things works, except the joystick(X2) and the WiFi. In fact Batocera, is by far the closest for me to get this thing working under a custom OS. NOTE: Coreelec also boot but USB don't work.
The Joysticks are connected to a JAMMA header that I believe is controlled by 8Bit micro controller. with the following info on the chip: STM8S105 C4T6 991TN RDVG MYS, 99 &31 I am not 100% what communication protocol it use to talk to the CPU.
The WiFi is a solider on daughter board with the following info on the chip: 8189ETV 1213M31 GI07
Both components didn't get recongize by the Kernel it seems, with the following dmesg:
` [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034] [ 0.000000] Linux version 5.10.90 (batocera@4e8e4b3324fc) (aarch64-buildroot-linux-gnu-gcc.br_real (Buildroot 2019.11-15034-gc634032f0d) 11.2.0, GNU ld (GNU Binutils) 2.36.1) #1 SMP PREEMPT Sat May 21 06:19:38 CEST 2022 [ 0.000000] Machine model: Amlogic Meson GXL (S905X) P212 Development Board [ 0.000000] efi: UEFI not found. [ 0.000000] [Firmware Bug]: Kernel image misaligned at boot, please fix your bootloader! [ 0.000000] OF: reserved mem: failed to allocate memory for node 'linux,cma' [ 0.000000] NUMA: No NUMA configuration found [ 0.000000] NUMA: Faking a node at [mem 0x0000000000000000-0x0000000037ffffff] [ 0.000000] NUMA: NODE_DATA [mem 0x37e30100-0x37e31fff] [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x0000000000000000-0x0000000037ffffff] [ 0.000000] DMA32 empty [ 0.000000] Normal empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000000000-0x0000000000ffffff] [ 0.000000] node 0: [mem 0x0000000001000000-0x0000000004ffffff] [ 0.000000] node 0: [mem 0x0000000005000000-0x00000000072fffff] [ 0.000000] node 0: [mem 0x0000000007300000-0x000000000fffffff] [ 0.000000] node 0: [mem 0x0000000010000000-0x00000000101fffff] [ 0.000000] node 0: [mem 0x0000000010200000-0x0000000037ffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000037ffffff] [ 0.000000] On node 0 totalpages: 229376 [ 0.000000] DMA zone: 3584 pages used for memmap [ 0.000000] DMA zone: 0 pages reserved [ 0.000000] DMA zone: 229376 pages, LIFO batch:63 [ 0.000000] cma: Reserved 128 MiB at 0x000000002bc00000 [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: PSCIv0.2 detected in firmware. [ 0.000000] psci: Using standard PSCI v0.2 function IDs [ 0.000000] psci: Trusted OS migration not required [ 0.000000] percpu: Embedded 23 pages/cpu s56920 r8192 d29096 u94208 [ 0.000000] pcpu-alloc: s56920 r8192 d29096 u94208 alloc=23*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [ 0.000000] Detected VIPT I-cache on CPU0 [ 0.000000] CPU features: detected: ARM erratum 845719 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 225792 [ 0.000000] Policy zone: DMA [ 0.000000] Kernel command line: label=BATOCERA rootwait quiet loglevel=0 console=ttyAML0,115200n8 console=tty3 vt.global_cursor_default=0 video=Composite-1:d [ 0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear) [ 0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear) [ 0.000000] mem auto-init: stack:off, heap alloc:on, heap free:off [ 0.000000] Memory: 685712K/917504K available (14464K kernel code, 1666K rwdata, 5400K rodata, 2880K init, 587K bss, 100720K reserved, 131072K cma-reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] rcu: Preemptible hierarchical RCU implementation. [ 0.000000] rcu: RCU event tracing is enabled. [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4. [ 0.000000] Trampoline variant of Tasks RCU enabled. [ 0.000000] Rude variant of Tasks RCU enabled. [ 0.000000] Tracing variant of Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies. [ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4 [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 [ 0.000000] GIC: Using split EOI/Deactivate mode [ 0.000000] irq_meson_gpio: 110 to 8 gpio interrupt mux initialized [ 0.000000] random: get_random_bytes called from start_kernel+0x360/0x524 with crng_init=0 [ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns [ 0.000003] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.000192] Console: colour dummy device 80x25 [ 0.000220] printk: console [tty3] enabled [ 0.000280] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000) [ 0.000289] pid_max: default: 32768 minimum: 301 [ 0.000347] LSM: Security Framework initializing [ 0.000367] Yama: becoming mindful. [ 0.000437] AppArmor: AppArmor initialized [ 0.000468] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear) [ 0.000475] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear) [ 0.001769] rcu: Hierarchical SRCU implementation. [ 0.002790] EFI services will not be available. [ 0.003089] smp: Bringing up secondary CPUs ... [ 0.003517] Detected VIPT I-cache on CPU1 [ 0.003572] CPU1: Booted secondary processor 0x0000000001 [0x410fd034] [ 0.004109] Detected VIPT I-cache on CPU2 [ 0.004157] CPU2: Booted secondary processor 0x0000000002 [0x410fd034] [ 0.004670] Detected VIPT I-cache on CPU3 [ 0.004716] CPU3: Booted secondary processor 0x0000000003 [0x410fd034] [ 0.004783] smp: Brought up 1 node, 4 CPUs [ 0.004791] SMP: Total of 4 processors activated. [ 0.004796] CPU features: detected: 32-bit EL0 Support [ 0.004800] CPU features: detected: CRC32 instructions [ 0.004804] CPU features: detected: 32-bit EL1 Support [ 0.011719] CPU: All CPU(s) started at EL2 [ 0.011756] alternatives: patching kernel code [ 0.012661] devtmpfs: initialized [ 0.016754] Registered cp15_barrier emulation handler [ 0.016767] Registered setend emulation handler [ 0.016947] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.016974] futex hash table entries: 1024 (order: 4, 65536 bytes, linear) [ 0.019997] pinctrl core: initialized pinctrl subsystem [ 0.020764] DMI not present or invalid. [ 0.021230] NET: Registered protocol family 16 [ 0.022483] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations [ 0.022565] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations [ 0.022644] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations [ 0.022718] audit: initializing netlink subsys (disabled) [ 0.022916] audit: type=2000 audit(0.020:1): state=initialized audit_enabled=0 res=1 [ 0.024433] thermal_sys: Registered thermal governor 'fair_share' [ 0.024442] thermal_sys: Registered thermal governor 'bang_bang' [ 0.024446] thermal_sys: Registered thermal governor 'step_wise' [ 0.024449] thermal_sys: Registered thermal governor 'user_space' [ 0.024706] cpuidle: using governor menu [ 0.024929] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 0.025026] ASID allocator initialised with 65536 entries [ 0.025627] Serial: AMBA PL011 UART driver [ 0.062830] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages [ 0.062840] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages [ 0.062844] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages [ 0.062848] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages [ 0.064583] cryptd: max_cpu_qlen set to 1000 [ 0.132431] raid6: neonx8 gen() 2696 MB/s [ 0.200488] raid6: neonx8 xor() 2023 MB/s [ 0.268523] raid6: neonx4 gen() 2771 MB/s [ 0.336572] raid6: neonx4 xor() 2005 MB/s [ 0.404635] raid6: neonx2 gen() 2644 MB/s [ 0.472708] raid6: neonx2 xor() 1835 MB/s [ 0.540737] raid6: neonx1 gen() 2305 MB/s [ 0.608778] raid6: neonx1 xor() 1609 MB/s [ 0.676830] raid6: int64x8 gen() 1812 MB/s [ 0.744868] raid6: int64x8 xor() 958 MB/s [ 0.812909] raid6: int64x4 gen() 2033 MB/s [ 0.880979] raid6: int64x4 xor() 1061 MB/s [ 0.949005] raid6: int64x2 gen() 1764 MB/s [ 1.017047] raid6: int64x2 xor() 945 MB/s [ 1.085101] raid6: int64x1 gen() 1500 MB/s [ 1.153149] raid6: int64x1 xor() 751 MB/s [ 1.153153] raid6: using algorithm neonx4 gen() 2771 MB/s [ 1.153156] raid6: .... xor() 2005 MB/s, rmw enabled [ 1.153160] raid6: using neon recovery algorithm [ 1.153816] ACPI: Interpreter disabled. [ 1.155703] iommu: Default domain type: Translated [ 1.155883] vgaarb: loaded [ 1.157107] SCSI subsystem initialized [ 1.157429] usbcore: registered new interface driver usbfs [ 1.157502] usbcore: registered new interface driver hub [ 1.157558] usbcore: registered new device driver usb [ 1.158249] pps_core: LinuxPPS API ver. 1 registered [ 1.158259] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti giometti@linux.it [ 1.158281] PTP clock support registered [ 1.158567] EDAC MC: Ver: 3.0.0 [ 1.160988] NetLabel: Initializing [ 1.161001] NetLabel: domain hash size = 128 [ 1.161004] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO [ 1.161050] NetLabel: unlabeled traffic allowed by default [ 1.161408] clocksource: Switched to clocksource arch_sys_counter [ 1.161703] VFS: Disk quotas dquot_6.6.0 [ 1.161759] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 1.162210] AppArmor: AppArmor Filesystem Enabled [ 1.162283] pnp: PnP ACPI: disabled [ 1.172030] NET: Registered protocol family 2 [ 1.172148] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear) [ 1.172814] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear) [ 1.172883] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear) [ 1.172954] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear) [ 1.173034] TCP: Hash tables configured (established 8192 bind 8192) [ 1.173197] MPTCP token hash table entries: 1024 (order: 2, 24576 bytes, linear) [ 1.173241] UDP hash table entries: 512 (order: 2, 16384 bytes, linear) [ 1.173264] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear) [ 1.173428] NET: Registered protocol family 1 [ 1.173451] PCI: CLS 0 bytes, default 64 [ 1.173624] Trying to unpack rootfs image as initramfs... [ 1.177733] Freeing initrd memory: 1104K [ 1.178336] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available [ 1.178707] kvm [1]: IPA Size Limit: 40 bits [ 1.179497] kvm [1]: vgic interrupt IRQ9 [ 1.179592] kvm [1]: Hyp mode initialized successfully [ 1.184478] Initialise system trusted keyrings [ 1.184521] Key type blacklist registered [ 1.184673] workingset: timestamp_bits=44 max_order=18 bucket_order=0 [ 1.188523] zbud: loaded [ 1.189605] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 1.190149] fuse: init (API version 7.32) [ 1.191077] integrity: Platform Keyring initialized [ 1.218482] xor: measuring software checksum speed [ 1.221713] 8regs : 3072 MB/sec [ 1.224503] 32regs : 3529 MB/sec [ 1.227813] arm64_neon : 2981 MB/sec [ 1.227817] xor: using function: 32regs (3529 MB/sec) [ 1.227825] Key type asymmetric registered [ 1.227830] Asymmetric key parser 'x509' registered [ 1.227885] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245) [ 1.228003] io scheduler mq-deadline registered [ 1.228008] io scheduler kyber registered [ 1.228128] io scheduler bfq registered [ 1.237145] EINJ: ACPI disabled. [ 1.243499] soc soc0: Amlogic Meson GXL (S905X) Revision 21:c (84:2) Detected [ 1.245674] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled [ 1.249365] Serial: AMBA driver [ 1.249795] c11084c0.serial: ttyAML6 at MMIO 0xc11084c0 (irq = 20, base_baud = 1500000) is a meson_uart [ 1.249968] serial serial0: tty port ttyAML6 registered [ 1.250572] c81004c0.serial: ttyAML0 at MMIO 0xc81004c0 (irq = 23, base_baud = 1500000) is a meson_uart [ 1.250678] printk: console [ttyAML0] enabled [ 1.405441] loop: module loaded [ 1.408522] libphy: Fixed MDIO Bus: probed [ 1.409638] tun: Universal TUN/TAP device driver, 1.6 [ 1.410614] thunder_xcv, ver 1.0 [ 1.410660] thunder_bgx, ver 1.0 [ 1.410698] nicpf, ver 1.0 [ 1.411381] e1000e: Intel(R) PRO/1000 Network Driver [ 1.411389] e1000e: Copyright(c) 1999 - 2015 Intel Corporation. [ 1.411476] igb: Intel(R) Gigabit Ethernet Network Driver [ 1.411481] igb: Copyright (c) 2007-2014 Intel Corporation. [ 1.411540] igbvf: Intel(R) Gigabit Virtual Function Network Driver [ 1.411545] igbvf: Copyright (c) 2009 - 2012 Intel Corporation. [ 1.411794] sky2: driver version 1.30 [ 1.413199] VFIO - User Level meta-driver version: 0.3 [ 1.415207] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.415242] ehci-pci: EHCI PCI platform driver [ 1.415296] ehci-platform: EHCI generic platform driver [ 1.415517] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 1.415544] ohci-pci: OHCI PCI platform driver [ 1.415610] ohci-platform: OHCI generic platform driver [ 1.416173] usbcore: registered new interface driver usb-storage [ 1.418033] mousedev: PS/2 mouse device common for all mice [ 1.418743] i2c /dev entries driver [ 1.421941] sdhci: Secure Digital Host Controller Interface driver [ 1.421950] sdhci: Copyright(c) Pierre Ossman [ 1.422300] Synopsys Designware Multimedia Card Interface Driver [ 1.423301] sdhci-pltfm: SDHCI platform and OF driver helper [ 1.424655] meson-gx-mmc d0072000.mmc: Got CD GPIO [ 1.424672] meson-gx-mmc d0074000.mmc: allocated mmc-pwrseq [ 1.425755] ledtrig-cpu: registered to indicate activity on CPUs [ 1.426580] meson-sm: secure-monitor enabled [ 1.427564] gxl-crypto c883e000.crypto: will run requests pump with realtime priority [ 1.427666] gxl-crypto c883e000.crypto: will run requests pump with realtime priority [ 1.428200] hid: raw HID events driver (C) Jiri Kosina [ 1.428398] usbcore: registered new interface driver usbhid [ 1.428407] usbhid: USB HID core driver [ 1.428743] platform-mhu c883c404.mailbox: Platform MHU Mailbox registered [ 1.430999] NET: Registered protocol family 10 [ 1.431867] Segment Routing with IPv6 [ 1.431916] NET: Registered protocol family 17 [ 1.432037] 8021q: 802.1Q VLAN Support v1.8 [ 1.432094] Key type dns_resolver registered [ 1.432485] registered taskstats version 1 [ 1.432502] Loading compiled-in X.509 certificates [ 1.434920] Loaded X.509 cert 'Build time autogenerated kernel key: c2f000439b97b3a899728cf8eb02dbe0c7685e3e' [ 1.435057] zswap: loaded using pool lzo/zbud [ 1.435353] Key type ._fscrypt registered [ 1.435358] Key type .fscrypt registered [ 1.435361] Key type fscrypt-provisioning registered [ 1.437029] Btrfs loaded, crc32c=crc32c-generic [ 1.438249] Key type encrypted registered [ 1.438266] AppArmor: AppArmor sha1 policy hashing enabled [ 1.454319] meson8b-dwmac c9410000.ethernet: IRQ eth_wake_irq not found [ 1.454330] meson8b-dwmac c9410000.ethernet: IRQ eth_lpi not found [ 1.454419] meson8b-dwmac c9410000.ethernet: PTP uses main clock [ 1.454428] meson8b-dwmac c9410000.ethernet: no reset control found [ 1.455263] meson8b-dwmac c9410000.ethernet: User ID: 0x11, Synopsys ID: 0x37 [ 1.455277] meson8b-dwmac c9410000.ethernet: DWMAC1000 [ 1.455283] meson8b-dwmac c9410000.ethernet: DMA HW capability register supported [ 1.455287] meson8b-dwmac c9410000.ethernet: RX Checksum Offload Engine supported [ 1.455291] meson8b-dwmac c9410000.ethernet: COE Type 2 [ 1.455295] meson8b-dwmac c9410000.ethernet: TX Checksum insertion supported [ 1.455299] meson8b-dwmac c9410000.ethernet: Wake-Up On Lan supported [ 1.455374] meson8b-dwmac c9410000.ethernet: Normal descriptors [ 1.455379] meson8b-dwmac c9410000.ethernet: Ring mode enabled [ 1.455383] meson8b-dwmac c9410000.ethernet: Enable RX Mitigation via HW Watchdog Timer [ 1.455803] libphy: stmmac: probed [ 1.459043] dwc3-meson-g12a d0078080.usb: USB2 ports: 2 [ 1.459052] dwc3-meson-g12a d0078080.usb: USB3 ports: 0 [ 1.489659] mmc0: new high speed SDXC card at address aaaa [ 1.490479] mmcblk0: mmc0:aaaa SN64G 59.5 GiB [ 1.492299] mmcblk0: p1 p2 [ 1.528291] mmc1: new HS200 MMC card at address 0001 [ 1.529077] mmcblk1: mmc1:0001 8GME4R 7.28 GiB [ 1.529592] mmcblk1boot0: mmc1:0001 8GME4R partition 1 4.00 MiB [ 1.530043] mmcblk1boot1: mmc1:0001 8GME4R partition 2 4.00 MiB [ 1.530212] mmcblk1rpmb: mmc1:0001 8GME4R partition 3 512 KiB, chardev (242:0) [ 1.982216] dwc2 c9100000.usb: supply vusb_d not found, using dummy regulator [ 1.982381] dwc2 c9100000.usb: supply vusb_a not found, using dummy regulator [ 1.982586] dwc2 c9100000.usb: EPs: 7, dedicated fifos, 712 entries in SPRAM [ 1.984057] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller [ 1.984101] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1 [ 1.984238] xhci-hcd xhci-hcd.0.auto: hcc params 0x0228f664 hci version 0x100 quirks 0x0000000002010010 [ 1.984284] xhci-hcd xhci-hcd.0.auto: irq 50, io mem 0xc9000000 [ 1.984614] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10 [ 1.984619] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.984624] usb usb1: Product: xHCI Host Controller [ 1.984627] usb usb1: Manufacturer: Linux 5.10.90 xhci-hcd [ 1.984631] usb usb1: SerialNumber: xhci-hcd.0.auto [ 1.985061] hub 1-0:1.0: USB hub found [ 1.985096] hub 1-0:1.0: 2 ports detected [ 1.985457] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller [ 1.985485] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2 [ 1.985500] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed [ 1.985570] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM. [ 1.985660] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10 [ 1.985667] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.985671] usb usb2: Product: xHCI Host Controller [ 1.985675] usb usb2: Manufacturer: Linux 5.10.90 xhci-hcd [ 1.985679] usb usb2: SerialNumber: xhci-hcd.0.auto [ 1.986121] hub 2-0:1.0: USB hub found [ 1.986157] hub 2-0:1.0: config failed, hub doesn't have any ports! (err -19) [ 1.988988] meson-gx-mmc d0070000.mmc: allocated mmc-pwrseq [ 1.990123] scpi_protocol scpi: SCP Protocol legacy pre-1.0 firmware [ 1.994940] libphy: mdio_mux: probed [ 1.995942] libphy: mdio_mux: probed [ 2.015015] Freeing unused kernel memory: 2880K [ 2.035067] mmc2: new high speed SDIO card at address 0001 [ 2.049452] Run /init as init process [ 2.049463] with arguments: [ 2.049466] /init [ 2.049469] with environment: [ 2.049473] HOME=/ [ 2.049475] TERM=linux [ 2.049478] label=BATOCERA [ 2.119577] /dev/loop0: Can't open blockdev [ 2.127078] random: fast init done [ 2.798018] overlayfs: "xino" feature enabled using 2 upper inode bits. [ 3.066945] random: dbus-uuidgen: uninitialized urandom read (12 bytes read) [ 3.067000] random: dbus-uuidgen: uninitialized urandom read (8 bytes read) [ 3.113234] random: dbus-daemon: uninitialized urandom read (12 bytes read) [ 3.501029] udevd[1532]: starting version 3.2.11 [ 3.559015] udevd[1533]: starting eudev-3.2.11 [ 3.878378] meson-vrtc c81000a8.rtc: registered as rtc0 [ 3.878421] meson-vrtc c81000a8.rtc: setting system clock to 1970-01-01T00:00:03 UTC (3) [ 3.890190] Registered IR keymap rc-empty [ 3.890303] rc rc0: meson-ir as /devices/platform/soc/c8100000.bus/c8100580.ir/rc/rc0 [ 3.890486] rc rc0: lirc_dev: driver meson-ir registered at minor = 0, raw IR receiver, no transmitter [ 3.890637] input: meson-ir as /devices/platform/soc/c8100000.bus/c8100580.ir/rc/rc0/input0 [ 3.890958] meson-ir c8100580.ir: receiver initialized [ 3.915763] mc: Linux media interface: v0.10 [ 3.958352] Registered IR keymap rc-cec [ 3.958501] rc rc1: meson_ao_cec as /devices/platform/soc/c8100000.bus/c8100100.cec/rc/rc1 [ 3.958614] input: meson_ao_cec as /devices/platform/soc/c8100000.bus/c8100100.cec/rc/rc1/input1 [ 3.979967] meson-drm d0100000.vpu: Queued 3 outputs on vpu [ 4.001903] videodev: Linux video capture interface: v2.00 [ 4.012876] lima d00c0000.gpu: gp - mali450 version major 0 minor 0 [ 4.012933] lima d00c0000.gpu: pp0 - mali450 version major 0 minor 0 [ 4.012977] lima d00c0000.gpu: pp1 - mali450 version major 0 minor 0 [ 4.013021] lima d00c0000.gpu: pp2 - mali450 version major 0 minor 0 [ 4.013053] lima d00c0000.gpu: l2 cache 8K, 4-way, 64byte cache line, 128bit external bus [ 4.013062] lima d00c0000.gpu: l2 cache 64K, 4-way, 64byte cache line, 128bit external bus [ 4.013870] lima d00c0000.gpu: bus rate = 166666667 [ 4.013883] lima d00c0000.gpu: mod rate = 24000000 [ 4.013974] lima d00c0000.gpu: dev_pm_opp_set_regulators: no regulator (mali) found: -19 [ 4.015351] [drm] forcing Composite-1 connector off [ 4.054024] meson-dw-hdmi c883a000.hdmi-tx: Detected HDMI TX controller v2.01a with HDCP (meson_dw_hdmi_phy) [ 4.055777] meson-dw-hdmi c883a000.hdmi-tx: registered DesignWare HDMI I2C bus driver [ 4.056407] meson-drm d0100000.vpu: bound c883a000.hdmi-tx (ops meson_dw_hdmi_ops [meson_dw_hdmi]) [ 4.057380] [drm] Initialized meson 1.0.0 20161109 for d0100000.vpu on minor 1 [ 4.139285] meson_vdec: module is from the staging directory, the quality is unknown, you have been warned. [ 4.147067] [drm] Initialized lima 1.1.0 20191231 for d00c0000.gpu on minor 0 [ 4.182877] Bluetooth: Core ver 2.22 [ 4.184697] NET: Registered protocol family 31 [ 4.184710] Bluetooth: HCI device and connection manager initialized [ 4.184726] Bluetooth: HCI socket layer initialized [ 4.184733] Bluetooth: L2CAP socket layer initialized [ 4.185857] Bluetooth: SCO socket layer initialized [ 4.281045] Bluetooth: HCI UART driver ver 2.3 [ 4.281052] Bluetooth: HCI UART protocol H4 registered [ 4.281055] Bluetooth: HCI UART protocol BCSP registered [ 4.281154] Bluetooth: HCI UART protocol LL registered [ 4.281156] Bluetooth: HCI UART protocol ATH3K registered [ 4.281186] Bluetooth: HCI UART protocol Three-wire (H5) registered [ 4.281378] Bluetooth: HCI UART protocol Intel registered [ 4.282600] Bluetooth: HCI UART protocol Broadcom registered [ 4.282638] Bluetooth: HCI UART protocol QCA registered [ 4.282641] Bluetooth: HCI UART protocol AG6XX registered [ 4.282667] Bluetooth: HCI UART protocol Marvell registered [ 4.282729] hci_uart_bcm serial0-0: supply vbat not found, using dummy regulator [ 4.282908] hci_uart_bcm serial0-0: supply vddio not found, using dummy regulator [ 4.358291] Console: switching to colour frame buffer device 240x75 [ 4.395370] meson-drm d0100000.vpu: [drm] fb0: mesondrmfb frame buffer device [ 4.441748] debugfs: Directory 'c1105400.audio-controller' with parent 'GXL-S905X-P212' already present! [ 6.525423] Bluetooth: hci0: command 0xfc18 tx timeout [ 8.253436] random: crng init done [ 8.253449] random: 7 urandom warning(s) missed due to ratelimiting [ 8.459419] hdmi-audio-codec hdmi-audio-codec.4.auto: Not able to map channels to speakers (-22) [ 8.459431] hdmi-audio-codec hdmi-audio-codec.4.auto: ASoC: error at snd_soc_dai_hw_params on i2s-hifi: -22 [ 8.459438] gx-sound-card sound: ASoC: PRE_PMU: be.dai-link-2-playback event failed: -22 [ 8.908502] meson8b-dwmac c9410000.ethernet eth0: PHY [0.e40908ff:08] driver [Meson GXL Internal PHY] (irq=51) [ 8.920858] meson8b-dwmac c9410000.ethernet eth0: No Safety Features support found [ 8.920878] meson8b-dwmac c9410000.ethernet eth0: PTP not supported by HW [ 8.922590] meson8b-dwmac c9410000.ethernet eth0: configuring for phy/rmii link mode [ 9.814282] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null) [ 9.953785] squashfs: Unknown parameter 'iocharset' [ 9.953832] fuseblk: Unknown parameter 'iocharset' [ 10.611609] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx [ 10.611652] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 13.065788] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 13.065801] Bluetooth: BNEP filters: protocol multicast [ 13.065821] Bluetooth: BNEP socket layer initialized [ 14.557436] Bluetooth: hci0: BCM: failed to write update baudrate (-110) [ 14.557447] Bluetooth: hci0: Failed to set baudrate [ 16.573471] Bluetooth: hci0: command 0x0c03 tx timeout [ 24.797432] Bluetooth: hci0: BCM: Reset failed (-110)
` The AV port isn't fully tested because I don't have a Cable or TV for such LOL.
Not sure what's needed to get the full system running, but it would super cool to run Batocera or other custom OS on this device, the system is build like a tank, very solid. Might be a bit weak for other emulation, but it would great for NeoGeo and other Arcade games.
Thank you so much for this awesome distro.