rafaelSorel

Members
  • Content Count

    44
  • Joined

  • Last visited

 Content Type 

Forums

Member Map

Store

Crowdfunding

Raffles

Applications

Everything posted by rafaelSorel

  1. rafaelSorel

    Need help AZW w95 s905W 2gb box with linux or other OS

    you need to find a dtb file that could be used with that particular box, the S905W are quite different , so with some luck, one of the dtb files for the s905x or s905 will work. Otherwise you need to extract the dtb file in use on android and adapt it.
  2. Hello, I am using mxq pro 4k and the only dtb file that goes untill the end is the gxbb_p200.dtb, so I have installed every thing on the SD card and every thing works very well. Things getting worse when I installed the linux on the eMMC using the ./install.sh script. The installation goes very well, and every thing starts correctly, the only problem is that many drivers behave strangely, So I have compared the dmesg logs from SD and eMMC and many changes were noticed. So I suspected the dtb file to be not the one used in the SD card, so I have extracted the dtb file used when booting from eMMC and compare it with the one used in SD, and I got a very changed dtb file. I have attached the two dts files. I don't know why the dtb file has changed/patched ? Is there a way to correct the dtb file used in the eMMC ? Thanks for help, mxq_eMMC.dts mxq_SD.dts
  3. rafaelSorel

    Strange behaviour after installing linux on emmc.

    [Update] I manage to change the bootup logo successfully, basically we need to unpack the logo.img and change the bootup.bmp with the wanted one, the format needs to be (16bit RGB565 BMP)
  4. rafaelSorel

    Strange behaviour after installing linux on emmc.

    @balbes150: I have checked the u-boot help command line and I could see the sdc_update command. So basically it is possible to update the bootloader from u-boot command line. My question is : What is the best way to flash a new u-boot on emmc (sdc_update from u-boot console or running dd if=u-boot.bin of=/dev/bootloader from running linux on SD card) ? The second thing is since I want to update the boot screen logo, I managed to extract the bootup.bmp from logo.img partition using this script https://github.com/steeve/aml-imgpack then I have repacked a new logo.img with the changed bootup.img file using the same script. so is it possible to update the logo.img using this command: "dd if=logo.img of=/dev/logo bs=32M" ? Thanks,
  5. rafaelSorel

    uart over SD port.

    No update at all, I have used the device as shipped, (no changes were made to dtb files) .
  6. rafaelSorel

    uart over SD port.

    Hello Guys , I have ordered Micro SD Card Breakout for Exporting UART and JTAG Pins to get serial output on the SD card port without making any welding on the box. I have test it and it seems to work. The problem is that the output is some king of unreadable characters. I don't know whether it is a config issue or something else ? Does any one have used the UART over SD port ? Thanks,
  7. rafaelSorel

    uart over SD port.

    Well it was a connector issue, I have changed connector and it worked like a charm, I have tested the device connector on S905, S905X and S905W with a success. This is good news because we don't need anymore to weld any thing on the board to get a serial output, we could even setenv on u-boot without booting on android or even root it. For those who are interested here is the link from where I have ordered the devices: Micro-SD-Card-Breakout-for-Exporting-UART-and-JTAG Have a nice uarting
  8. rafaelSorel

    uart over SD port.

    That is the model that I was referring to: https://linux-sunxi.org/MicroSD_Breakout I have bought something similar and it does send uart data over SD(It is the case for all amlogic socs.), the only problem is that this data is unreadable (unreadable chars). knowing that I'am using the S905X soc.
  9. rafaelSorel

    alsamixer volume does not work !

    I have found the issue, indeed the server packages does not contain pulseaudio and it seems that the alsa config files are not well configured to handle the volume control. I have installed and configured the pulse along with alsa config files and now I can perfectly control volume on all outputs (analog, hdmi, spdif.)
  10. rafaelSorel

    alsamixer volume does not work !

    Hello, I am trying to control volume Up/Down and mute through alsamixer with no success. When launching alsamixer the only changable device is DAC Digital, but actually it does not change anything, the volume remains at "56" and won't change. It is almost not possible to control volume through alsamixer or amixer command line. The only control I have found is the mute/unmute through /sys/class/amaudio but not the volume level ! It is the case for all armbian (debian, ubuntu) servers packages. I think some thing goes wrong... Any help or hint would be appreciated. Thanks
  11. rafaelSorel

    a5x max+ confirmation for spdif connection

    Typically most of the android boxes contains 1/8" coaxial spdif. So if your AV receiver (home theater) doesn't have a coaxial spdif input, you need to convert it to optical spdif. So you gonna need a cable like this: https://www.amazon.com/Micca-Premium-SPDIF-Digital-Coaxial/dp/B00V436UQU and to convert it to optical output something like this: https://www.ramelectronics.net/pof-820-1.aspx I know it is a hell of devices but this is the only way to get your optical output. But check may be your home theater has a coaxial spdif input and you are only going to need the first cable.
  12. rafaelSorel

    MXQ Pro 4K doesn't recognize eMMC

    Hello, Have you made a backup of your android image from emmc before ? I have got a same situation and I backup the emmc from running linux from SD card, so basically you need to bootup on linux from SD card then reflash the emmc using ddbr_restore script. may be uboot could not init emmc , but linux does.
  13. rafaelSorel

    Strange behaviour after installing linux on emmc.

    Ok I will check the help command. And make some search and get back if found something weird. Thanks,
  14. rafaelSorel

    Strange behaviour after installing linux on emmc.

    Is there a way to check the team of the u-boot installed ?
  15. rafaelSorel

    Strange behaviour after installing linux on emmc.

    What is the recommended way to flash the emmc uboot ? is it like so: dd if=u-boot.bin of=/dev/bootloader Thanks,
  16. rafaelSorel

    Strange behaviour after installing linux on emmc.

    @balbes150, yes of course I will record the /dev/bootloader which is the original u-boot that I could reflash it in case of problem. otherwise is it possible to flash the U-Boot that is used on the SD card to the /dev/bootloader ? Thanks,
  17. rafaelSorel

    Strange behaviour after installing linux on emmc.

    @balbes150: Is there a way to flash a fresh compiled u-boot directly on the emmc, by doing this , it is quite easy to do what ever we wants ? Thanks,
  18. rafaelSorel

    Strange behaviour after installing linux on emmc.

    That is what I did, I have created a new dtb file based on the default one present in the emmc, but with minor changes , and when I flash it dd if=./new_dtb.img of=/dev/dtb bs=256k with the new created one and reboot, the system is always using the old one present in the emmc !
  19. rafaelSorel

    Strange behaviour after installing linux on emmc.

    Thanks for reply, What do you mean by correct option dtb proper ID ? Is it something that I can do ? Thanks,
  20. rafaelSorel

    Strange behaviour after installing linux on emmc.

    @balbes150 Here is attached the serial output of the tvbox. Thanks for help console.log
  21. rafaelSorel

    Strange behaviour after installing linux on emmc.

    Ok , I will manage to get the UART output , need to make the UART output on the board.
  22. rafaelSorel

    Strange behaviour after installing linux on emmc.

    No not yet , is it possible to do so via serial console ? because via this command : dd if=./dtb.img of=/dev/dtb bs=256k it does not work !
  23. rafaelSorel

    Strange behaviour after installing linux on emmc.

    Thanks balbes150 for your reply. Yes but I have validate the fact that the dtb used in SD is the suitable one. I want to know Why when booting linux from eMMC it uses different dtb and how to change this dtb ? despite the fact that it is an Amlogic s905W, it works perfectly.
  24. rafaelSorel

    Strange behaviour after installing linux on emmc.

    I succeded to generate a dtb.img in android format (linux kernel header + dtb.img), The problem comes when I try to update the dtb using this command from LE running on SD or eMMC dd if=./dtb.img of=/dev/dtb bs=256k After rebooting the old dtb is always used !! it seems that u-boot is generating another dtb file and never taking the one that I have flashed on /dev/dtb !!! Any idea on how to resolve this dtb emmc issue ?
  25. rafaelSorel

    Strange behaviour after installing linux on emmc.

    [Update] I manage to make linux booting from the eMMC, it seems that the boot.img needs to be the same one recovered from android firmware. If we put anther one, the linux one it will ends up onto the recovery screen. [nextstep]: How to change the dtb file to be in sync with the one used on the SD card ? knowing that in andoird the dtb.img file is concatenated with some linux kernel header. any ideas ? Thanks