Bruce

  • Posts

    9
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Bruce got a reaction from balbes150 in [Howto] Install Armbian to Orbsmart RX-01 / Vensmile U1 / Unuiga S905   
    HOWTO install Armbian_5.32_S9xxx_Ubuntu_xenial_4.14.0-rc2-next-20170929_mate + Wifi on Orbsmart RX-01 / Vensmile U1 / Unuiga S905 (Windows 10)
     
    THIS IS DEV. No Support. 
    Tools: 7zip (unpack Balbes FIles form Yandisk), Etcher (Burn unpacked Image to SD Card)
    Hardware: Orbsmart RX-1 , min. 8GB (Micro)SD Card, (Micro)SDCard Reader

    1. go to url: https://yadi.sk/d/srrtn6kpnsKz2/Linux/ARMBIAN/Test
    2. Download Armbian_5.32_S9xxx_Ubuntu_xenial_4.14.0-rc2-next-20170929_mate.img.xz
    3. Download & Install 7 Zip : http://7-zip.org/download.html
    4. Extract with 7zip: Armbian_5.32_S9xxx_Ubuntu_xenial_4.14.0-rc2-next-20170929_mate.img.xz C:\temp (Create Folder if needed)
    5. Now you have: Armbian_5.32_S9xxx_Ubuntu_xenial_4.14.0-rc2-next-20170929_mate.img
    6. Download & Install & Run Etcher: https://etcher.io/ (Ir Win32 DiskImager ..or another DiskImagining tool or use dd in linux)
    7. Put your SD Card into the PC and Flash (With Etcher) the Micro-SD Card with the Armbian_5.32_S9xxx_Ubuntu_xenial_4.14.0-rc2-next-20170929_mate.img
    8. Safely Remove and then put your SD card back 
    9. Watch this Tutorial from Min 2: https://www.youtube.com/watch?v=Q0Sdu9pTMs4&feature=youtu.be&t=2m 
    10. Instead od using meson_gxbb_201.dtb in the video use meson-gxbb-vega-s95-telos.dtb from the dtb_4.14.0-rc2-next-20170929_mate folder.
    11. copy meson-gxbb-vega-s95-telos.dtb into the root folder of your SD Card [BOOT] and safely remove the drive from Windows 10.
    12. Put Micro SD Card to your Orbsmart RX-01 aka / Vensmile U1 / aka Unuiga U1
    13. Orbsmart RX-01 should again start to Remix OS 2.0 [If not it should start Armbian now :D]
    14. Download via Goole Play Store "APK Manager"
    15. Make Orbsmart RX-01 boot from SD Card : Download http://update-backup.apk.black/ and install it via APK Manager
    16. Open now this "Update&Backup" APP in REMIX OS on the Orbsmart RX-01
    17. Install aml_autoscript.zip which is on the SDCard - THAT should make the machine boot from SD Card
    18. Power it on - et voila! It should work!
     
    Additionals: 
    Make Wifi work (in Linux):
    1. wget https://forum.armbian.com/applications/core/interface/file/attachment.php?id=1879
    or copy this code to a file of your choice: https://github.com/OpenELEC/wlan-firmware/blob/master/firmware/brcm/ap6330-nvram.txt
    2. cp attachment.php?id=1879 /lib/firmware/brcm/brcmfmac4330-sdio.txt
    # Now the brcmfmac4330-sdio.txt contains the correct information for the brcmfmac4330-sdio.bin
    3. reboot
     
    Fix Ethernet MAC RTL 8211F (in Linux):
    At the moment the MAC Adress of the Ethernet is changing after every reboot.  Maybe it has something to do with EMAC.
    url: http://linux-sunxi.org/Ethernet#Setting_the_MAC_address
    nano /etc/network/interfaces
    -> EDIT and ADD here hwadress ether with the Original MAC or a Fantasy Mac
    # Wired adapter #1
    allow-hotplug eth0
    no-auto-down eth0
    iface eth0 inet dhcp
      hwaddress ether xx:xx:xx:xx:xx:xx   <- Fix the Mac here
     
    Thx @Balbes150!
    Thx @ARMBIAN Developers!
    Thx @MXQProject
     
     
    To DOs:
    - This is Developer: I isolated original "meson1.dtb" it is attached. feel free to decompile and develop
    - Did not test Audio or Bluetooth
    - Did not Install Mali Driver yet
     
     
     
    Cheers Bruce
    meson1.dtb

    ap6330-nvram.txt
  2. Like
    Bruce got a reaction from balbes150 in Orbsmart RX-01 / Unuiga S905 / Vensmile U1 - Armbian working but need help with Wifi Driver Mapping   
    Hi all, 
     
    I am writing because i took the AMLogic Project to get deeper in Linux. First of all @balbes150 and to every Armbian Developer : GREAT F()/"§! WORK!
    I used the " ARMBIAN 5.32 user-built Ubuntu 16.04.3 LTS 4.14.0-rc2-next-20170929-amlogics905x"
     
    So let's get to the point.
    $dmesg | grep brcm .. [   10.139138] brcmfmac: F1 signature read @0x18000000=0x16044330 [   10.140995] brcmfmac: brcmf_fw_map_chip_to_name: using brcm/brcmfmac4330-sdio.bin for chip 0x004330(17200) rev 0x000004 ..  SO actually this is telling me there is a special wifi driver mapped.
    I was not able to find the mapping. Even not in the decompiled dtb .
    There it is mapping to 4329 (?!)
     
    [Extract from DTB "meson-gxbb-vegas-95-telos.dtb" (decompiled to dts)]
     
    wifi@1 { reg = <0x1>; compatible = "brcm,bcm4329-fmac"; };  
     
    I need to map it to "fw_bcm40183b2.bin" which is in the /lib/firmware/brcm folder.
    I took the "nvram.txt" from the original Android Remix OS 2.0 and renamed it to "fw_bcm40183b2.txt"
     
    The only thing i gotta do is to remap the driver and I have no clue where to find it. Sorry for beeing stupid.
     
    With a trick I just overwrote the drivers which are mapped with renamed files
    -> "fw_bcm40183b2.bin" is now "brcmfmac4330-sdio.bin"
    -> "fw_bcm40183b2.txt" is now "brcmfmac4330-sdio.txt"
     
    That worked 100% for testing! (After /etc/wpa_supplicant/wpa-supplicant.conf AND etc/network/interfaces were adjusted)
    wlan0 Link encap:Ethernet HWaddr 44:2c:05:00:df:3a inet addr:192.168.178.106 Bcast:192.168.178.255 Mask:255.255.255.0 inet6 addr: fe80::462c:5ff:fe00:df3a/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:25617 errors:0 dropped:0 overruns:0 frame:0 TX packets:27158 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:9415173 (9.4 MB) TX bytes:19477541 (19.4 MB)  But now I wanna map the right driver.
     
    Thanks for any help 
     
    PS: And after that there is a bunch more of S905 TV boxes, which will run properly with <3 Armbian <3