Spekkie Posted October 3, 2016 Posted October 3, 2016 Hi Balbes, Very nice work on your roms! Still I'd like to ask, is there any news on S905X support? I've read somewhere that you were expecting a S905X box and I've tried your latest ARMBian builds on my Tanix TX3 pro and TX5 but unfortunately both are stuck at boot logo when I try to boot from SD. I guess something goes wrong with the uboot, but didn't have time yet to crack one box open and attach UART...
kuszi Posted October 3, 2016 Posted October 3, 2016 Sukanime, thanks for the ideas. The recommended OpenELEC image runs smoothly with Wifi. I extracted the driver sources as you mentioned. Later on I'll try to see them. Did you have any success with the build? regards Robert
kuszi Posted October 3, 2016 Posted October 3, 2016 Hmmm Following some minor patch in the makefile and adding the missing includes from and odroidc2 file set it compiled: CC [M] /home/kuszi/Downloads/wifi/rtl8189ES/hal/phydm/rtl8188e/halphyrf_8188e_ce.o CC [M] /home/kuszi/Downloads/wifi/rtl8189ES/hal/phydm/rtl8188e/phydm_regconfig8188e.o CC [M] /home/kuszi/Downloads/wifi/rtl8189ES/hal/phydm/rtl8188e/hal8188erateadaptive.o CC [M] /home/kuszi/Downloads/wifi/rtl8189ES/hal/phydm/rtl8188e/phydm_rtl8188e.o CC [M] /home/kuszi/Downloads/wifi/rtl8189ES/platform/platform_ops.o CC [M] /home/kuszi/Downloads/wifi/rtl8189ES/core/rtw_mp.o CC [M] /home/kuszi/Downloads/wifi/rtl8189ES/core/rtw_mp_ioctl.o LD [M] /home/kuszi/Downloads/wifi/rtl8189ES/8189es.o Building modules, stage 2. MODPOST 1 modules CC /home/kuszi/Downloads/wifi/rtl8189ES/8189es.mod.o LD [M] /home/kuszi/Downloads/wifi/rtl8189ES/8189es.ko make[1]: Leaving directory '/usr/src/linux-headers-3.14.79-vegas95' kuszi@vegas95:~/Downloads/wifi/rtl8189ES$ WHAT TO DO NOW? Now I have these: kuszi@vegas95:~/Downloads/wifi/rtl8189ES$ ls -l total 4252 -rw-r--r-- 1 kuszi kuszi 2116840 okt 3 15:06 8189es.ko -rw-r--r-- 1 kuszi kuszi 543 okt 3 15:06 8189es.mod.c -rw-r--r-- 1 kuszi kuszi 2264 okt 3 15:06 8189es.mod.o -rw-r--r-- 1 kuszi kuszi 2116296 okt 3 15:06 8189es.o -rw-r--r-- 1 kuszi kuszi 64 júl 20 16:13 clean drwxr-xr-x 3 kuszi kuszi 4096 okt 3 15:06 core drwxr-xr-x 8 kuszi kuszi 4096 okt 3 15:04 hal -rw-r--r-- 1 kuszi kuszi 54 júl 20 16:13 ifcfg-wlan0 drwxr-xr-x 4 kuszi kuszi 12288 okt 3 08:58 include -rw-r--r-- 1 kuszi kuszi 110 júl 20 16:13 Kconfig -rw-r--r-- 1 kuszi kuszi 51732 okt 3 15:03 Makefile -rw-r--r-- 1 kuszi kuszi 54 okt 3 15:06 modules.order -rw-r--r-- 1 kuszi kuszi 455 okt 3 15:06 Module.symvers drwxr-xr-x 3 kuszi kuszi 4096 okt 3 15:04 os_dep drwxr-xr-x 2 kuszi kuszi 4096 okt 3 15:06 platform -rw-r--r-- 1 kuszi kuszi 423 júl 20 16:13 runwpa -rw-r--r-- 1 kuszi kuszi 294 júl 20 16:13 wlan0dhcp kuszi@vegas95:~/Downloads/wifi/rtl8189ES$
kuszi Posted October 3, 2016 Posted October 3, 2016 OK, still need to learn a lot. So I did: sudo insmod 8189es OK loaded. wlan is ok, can connect to my wifi (on my mobile right now). There is no comunication yet. I loaded max80211 as it is usually there... There was no web but I called chclient wlan0 and now I write this message on my belowed new ARM box: Linux vegas95 3.14.79-vegas95 #11 SMP PREEMPT Wed Sep 21 17:29:25 MSK 2016 aarch64 GNU/Linu root@vegas95:/home/kuszi/Downloads/wifi/rtl8189ES# lsmod Module Size Used by mac80211 524273 0 8189es 1274469 0 meson_ir 3380 0 i2c_gpio 4312 0 i2c_algo_bit 6300 1 i2c_gpio bonding 117581 0 fuse 88214 3 autofs4 27889 2 btrfs 966758 0 xor 8157 1 btrfs raid6_pq 86452 1 btrfs root@vegas95:/home/kuszi/Downloads/wifi/rtl8189ES# So, what I need to know: how to install the module, load it (and others) at start, run fair dhcp request and then I'm ready. Hopefully this information will be available at other forums, since it is not Armbian specific. Thanks for all your patience and support! I'm getting email notifications from this forum I hope I can help others as well later on as well. best regards Robert
balbes150 Posted October 3, 2016 Author Posted October 3, 2016 (edited) Hi Balbes, Very nice work on your roms! Still I'd like to ask, is there any news on S905X support? I've read somewhere that you were expecting a S905X box and I've tried your latest ARMBian builds on my Tanix TX3 pro and TX5 but unfortunately both are stuck at boot logo when I try to boot from SD. I guess something goes wrong with the uboot, but didn't have time yet to crack one box open and attach UART... Yeah, I got the model with the chip s905x. Not a lot of details can be read here. By the way, this model is very interesting from the point of view Linux support as a tool for development. I think that with minimal modifications, can get the good solution for platform S905X. The price the result of this TV box is very good. http://freaktab.com/forum/tv-player-support/amlogic-based-tv-players/s905/inphic/568208-amlogic-s905x-inphic-spot-i7-pro-a-product-development-story/page6 One minute without a soldering iron, I connected the console UART. And can get all the necessary information about the boot process. Control data in the bootloader and operate it. By the way, universal multiboot already tested and works - here are the details of the run test option LE from the external media. http://freaktab.com/forum/tv-player-support/amlogic-based-tv-players/s905/inphic/firmware-roms-tools-bi/601100-libreelec-for-inphic-i7-pro-s905x Foto UART https://yadi.sk/i/UOWsKR1ew9Mvn https://yadi.sk/i/ogODHJVaw9NM4 Edited October 3, 2016 by balbes150
mdel Posted October 4, 2016 Posted October 4, 2016 @@balbes150 if you're looking for testers, i also have one s905x device here, can't remember its specs or name, i bought it by error and haven't opened it yet. And maybe for the sake of clarity i would suggest you open another thread for s905x images. it's already complicated enough that we have devices like my nexbox a95x that has both a s905 (first) and s905x (later) versions.. i saw your box on aliexpress it looks nice but the s905x 2g/16g is a bit too expensive and i'll probably never need 2G of ram. do you know if it's a Gbe or 100Mbps model ? the s905x has Mac and PHY Gbe right ?
balbes150 Posted October 4, 2016 Author Posted October 4, 2016 I agree with You, it would be nice if the moderators have helped us and shared these themes. Highlighting the discussion S905X in a separate topic.
Jefken3 Posted October 4, 2016 Posted October 4, 2016 UPDATE 2016/09/08: after apt-get distupgrade, the uboot package was updated and this was rewriting the uboot data from emmc, but the Mini m8s is not working with the uboot from Hardkernels Ordroid uboot. I got this after boot: ***** Warning!! ************************************************** *** * This board have not been autorized or product keys are not valid. * * Please contact with Hardkernel or your distributor * ************************************************** ******************* After shorten the emmc at boottime, I was able to recover the stockimage via OTG USB and amlogic's windows tool, thanks to balbes150, I found a info on freaktab. So after first armbian boot from SD, you have to remove the uboot package with "apt-get remove linux-u-boot-odroidc2". Hi tpc010, I had exactly the same problem, I 've done "apt-get distupgrade", only I don 't have OTG USB, only USB male/male, my box is Q-Box, amlogic 905, please would You be so kind to inform me in detail how I can resolve this? Regards, Jefken3.
tpc010 Posted October 4, 2016 Posted October 4, 2016 Hi tpc010, I had exactly the same problem, I 've done "apt-get distupgrade", only I don 't have OTG USB, only USB male/male, my box is Q-Box, amlogic 905, please would You be so kind to inform me in detail how I can resolve this? Regards, Jefken3. Hello Jefken3, you have to open the Box and search for the Nand or EMMC Flash, then figure out which pins you have to shorten to recover over USB OTG, the Mini M8S has also only full size USB, one of them has OTG. See this for more informations http://freaktab.com/forum/tv-player-support/amlogic-based-tv-players/s905/tronsmart-ac/firmware-roms-tools-at/565449-running-linux-from-sd-card-or-usb-flash-drive-using-balbes150-method-and-files/page13 br Tpc01 1
sukanime Posted October 5, 2016 Posted October 5, 2016 For your question in here http://forum.armbian.com/index.php/topic/1143-armbian-for-amlogic-s905/page-5#entry16844Sory for the late reply.... until now , i still try to make the wifi to work...i can build the driver, and load it with insmod.but, after i check the dmesg , i only got the Bluetooth.RTL8723BS is a single chip with Wifi and Bluetooth.right now i still try to solve....after i read it http://forum.armbian.com/index.php/topic/1180-orange-pi-lite-now-available/page-2he use RTL8192 , looks like i need to check DTS.... but i doesn't have the knowledge about it.... still try to learn it.... OK, still need to learn a lot. So I did: sudo insmod 8189es OK loaded. wlan is ok, can connect to my wifi (on my mobile right now). There is no comunication yet. I loaded max80211 as it is usually there... There was no web but I called chclient wlan0 and now I write this message on my belowed new ARM box: Linux vegas95 3.14.79-vegas95 #11 SMP PREEMPT Wed Sep 21 17:29:25 MSK 2016 aarch64 GNU/Linu root@vegas95:/home/kuszi/Downloads/wifi/rtl8189ES# lsmod Module Size Used by mac80211 524273 0 8189es 1274469 0 meson_ir 3380 0 i2c_gpio 4312 0 i2c_algo_bit 6300 1 i2c_gpio bonding 117581 0 fuse 88214 3 autofs4 27889 2 btrfs 966758 0 xor 8157 1 btrfs raid6_pq 86452 1 btrfs root@vegas95:/home/kuszi/Downloads/wifi/rtl8189ES# So, what I need to know: how to install the module, load it (and others) at start, run fair dhcp request and then I'm ready. Hopefully this information will be available at other forums, since it is not Armbian specific. Thanks for all your patience and support! I'm getting email notifications from this forum I hope I can help others as well later on as well. best regards Robert Now.... for your question above...You can Install the driver, with command run make install in the folder /home/kuszi/Downloads/wifi/rtl8189ES/ , and then for AutoLoad the Driver, you can edit /etc/modules and put 8189es in there.or, you can put the command in /etc/rc.local before exit 0 # Install module driver insmod /home/kuszi/Downloads/wifi/rtl8189ES/8189es.ko # conect to wifi chclient wlan0 I'am glad you can solved your problem.
sukanime Posted October 5, 2016 Posted October 5, 2016 Hi, here is a short howto to boot Armbian on Mini M8S from SD Card. You have to change the u-boot environment to check the SD-Card and then start a autoscript script. To boot the Armbian image you have to change some files from Armbian, change all mmcblk0 to mmcblk1 in file /etc/fstab /etc/init.d/firstrun /etc/init.d/resize2fs You need the file boot-s905.txt and have to convert it to autoscript, the Mini M8S u-boot can't work with Armbians u-boot boot.ini. setenv cec "cecf" setenv mesontimer "0" setenv nographics "0" setenv condev "console=ttyS0,115200n8 console=tty0 consoleblank=0" setenv verbosity "255" setenv bootargs "root=/dev/mmcblk1p2 rootwait rootflags=data=writeback rw ${condev} no_console_suspend hdmimode=${hdmimode} m_bpp=${display_bpp} fsck.repair=yes loglevel=${verbosity} net.ifnames=0" setenv initrd_loadaddr "0x13000000" fatload mmc 0:1 ${initrd_loadaddr} uInitrd fatload mmc 0:1 ${loadaddr} zImage fatload mmc 0:1 ${dtb_mem_addr} dtb/meson8_Mini-M8S.dtb fdt addr ${dtb_mem_addr} if test "${mesontimer}" = "1"; then fdt rm /timer; fi if test "${nographics}" = "1"; then fdt rm /reserved-memory; fdt rm /aocec; fi booti ${loadaddr} ${initrd_loadaddr} ${dtb_mem_addr} Convert it with u-boot tools to autoscript. mkimage -A arm -O linux -T script -C none -d boot-s905.txt s905_autoscript Copy it to SD-Card to the boot partition, and also copy the file "meson8_Mini-M8S.dtb" the Boot partition in folder "dtb". Now open the case and connect the UART connector. Read this Howto for more informations. http://www.cnx-software.com/2015/12/06/how-to-run-headless-linux-on-amlogic-s905-devices-such-as-mini-mx-or-k1-plus/# setenv preboot "run factory_reset_poweroff_protect;run upgrade_check;run bootmode_check;run init_display;run storeargs;run upgrade_key;run user_start;run switch_bootmode;" setenv user_start "if mmcinfo; then run linux_start_mmc;fi;" setenv linux_start_mmc "if fatload mmc 0 ${loadaddr} s905_autoscript; then echo ===[LINUX START from mmc]===;autoscr ${loadaddr};fi;" saveenv After reboot the Mini M8S should boot from SD-Card. Please check the lines and be careful, an error can brake the possibility to interrupt the boot sequence. UPDATE 2016/09/08: after apt-get distupgrade, the uboot package was updated and this was rewriting the uboot data from emmc, but the Mini m8s is not working with the uboot from Hardkernels Ordroid uboot. I got this after boot: ***** Warning!! ************************************************** *** * This board have not been autorized or product keys are not valid. * * Please contact with Hardkernel or your distributor * ************************************************** ******************* After shorten the emmc at boottime, I was able to recover the stockimage via OTG USB and amlogic's windows tool, thanks to balbes150, I found a info on freaktab. So after first armbian boot from SD, you have to remove the uboot package with "apt-get remove linux-u-boot-odroidc2". Hi tcp010.... I have Mini M8S, and i have a question about RTL8723BS Module driver for the Wifi in Mini M8S.... I have build the driver, but i cannot make the Wifi to work.... if can make the Wifi to work, please share the "how to" about it. Thanks....
tpc010 Posted October 5, 2016 Posted October 5, 2016 Hi tcp010.... I have Mini M8S, and i have a question about RTL8723BS Module driver for the Wifi in Mini M8S.... I have build the driver, but i cannot make the Wifi to work.... if can make the Wifi to work, please share the "how to" about it. Thanks.... Hi sukamine, I'm using Ethernet, so I don't need Wifi, sorry, but if I have time I will check it. br tpc010 1
Jefken3 Posted October 5, 2016 Posted October 5, 2016 Hello Jefken3, you have to open the Box and search for the Nand or EMMC Flash, then figure out which pins you have to shorten to recover over USB OTG, the Mini M8S has also only full size USB, one of them has OTG. See this for more informations http://freaktab.com/forum/tv-player-support/amlogic-based-tv-players/s905/tronsmart-ac/firmware-roms-tools-at/565449-running-linux-from-sd-card-or-usb-flash-drive-using-balbes150-method-and-files/page13 br Tpc01 Thanks also many thanks to balbes150, I finally found the right two pins, my system is running again!!!! regards, Jefken3.
sukanime Posted October 5, 2016 Posted October 5, 2016 Hi sukamine, I'm using Ethernet, so I don't need Wifi, sorry, but if I have time I will check it. br tpc010 Thanks for the reply, i will wait good news from you. mean time, i will try to make it working.
sukanime Posted October 7, 2016 Posted October 7, 2016 On 5/10/2016 at 11:40 PM, tpc010 said: Hi sukamine, I'm using Ethernet, so I don't need Wifi, sorry, but if I have time I will check it. br tpc010 Hi tcp010, i have solve the problem, and now i can make Realtek RTL8723BS and Soundcard in Mini M8S to work. Now My Mini M8S have Wifi, Bluetooth, Sound and X11 Accelerated Mali OpenGL I can play Movie with VLC using X11 Video Output (XCB) its very smooth. I use Firefox 32bit, and its stable. Btw, i use Odroid Ubuntu Mate from Koxx release with custom kernel. I'am very happy.... FYI, after i looking OpenELEC dmesg, lsmod, then you must recompile the whole kernel to make the Wifi and Bluetooth (i'am not test the bluetooth) if you just compile module driver, you cannot turn on the wifi, its need sdio. so i compile using linux amlogic source code from Koxx, its 3.14.29 , then copy amlogic wifi folder from OpenELEC kernel source to linux amlogic source code, and edit Makefile, Kconfig to just enable RTL8723BS. and enable sdio in amlogic wifi section. here the dmesg log: [ 6.673892] RTL871X: module init start [ 6.673896] RTL871X: rtl8723bs v4.3.16_13854.20150410_BTCOEX20150119-5844 [ 6.673897] RTL871X: rtl8723bs BT-Coex version = BTCOEX20150119-5844 [ 6.673899] ######platform_wifi_power_on: [ 6.673903] ------------[ cut here ]------------ [ 6.673919] WARNING: CPU: 3 PID: 192 at drivers/gpio/gpiolib.c:207 gpio_ensure_requested+0x84/0x100() [ 6.673920] autorequest GPIO-234 [ 6.673929] Modules linked in: 8723bs(+) cfg80211 ipv6 autofs4 [ 6.673934] CPU: 3 PID: 192 Comm: systemd-modules Not tainted 3.14.29+ #28 [ 6.673937] Call trace: [ 6.673945] [<ffffffc001088b64>] dump_backtrace+0x0/0x138 [ 6.673948] [<ffffffc001088cbc>] show_stack+0x20/0x30 [ 6.673955] [<ffffffc0017c363c>] dump_stack+0x7c/0xc0 [ 6.673960] [<ffffffc0010ad2dc>] warn_slowpath_common+0x94/0xc0 [ 6.673963] [<ffffffc0010ad37c>] warn_slowpath_fmt+0x74/0x88 [ 6.673967] [<ffffffc001387d1c>] gpio_ensure_requested+0x80/0x100 [ 6.673970] [<ffffffc00138976c>] gpiod_direction_output+0x70/0x314 [ 6.673975] [<ffffffc00163eb4c>] set_wifi_power+0x28/0x38 [ 6.673978] [<ffffffc00163eca8>] extern_wifi_set_enable+0x114/0x1ac [ 6.674069] [<ffffffbffc1f7820>] $x+0x28/0x54 [8723bs] [ 6.674133] [<ffffffbffc29904c>] $x+0x4c/0x104 [8723bs] [ 6.674136] [<ffffffc0010816a8>] do_one_initcall+0xd4/0x138 [ 6.674142] [<ffffffc00112527c>] load_module+0x14b0/0x1e04 [ 6.674144] [<ffffffc001125d48>] SyS_finit_module+0x80/0x90 [ 6.674146] ---[ end trace 415d4918197c627e ]--- [ 6.674171] [extern_wifi_set_enable] WIFI Disable! 234 [ 6.860922] systemd-journald[198]: Received request to flush runtime journal from PID 1 [ 7.178833] [extern_wifi_set_enable] WIFI Enable! 234 [ 7.223138] hdmitx: system: [edid_tx_segaddr] err = -6 [ 7.223141] hdmitx: system: [gpio_read_edid] setptr = 0 [ 7.339729] BT_RADIO going: on [ 7.344490] BCM_BT: going ON [ 7.360050] hdmitx: system: [edid_tx_segaddr] err = -6 [ 7.366971] hdmitx: system: [gpio_read_edid] setptr = 0 [ 7.530649] cfg80211: World regulatory domain updated: [ 7.537283] cfg80211: DFS Master region: unset [ 7.539078] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) [ 7.555848] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm) [ 7.563681] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm) [ 7.571708] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm) [ 7.579685] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm) [ 7.592774] 00ffffffffffff004c2dc007000000002e140103804627780aee91a3544c9926 0f5054bdef80714f8100814081809500950fb300a940023a801871382d40582c 4500a05a0000001e662150b051001b3040703600a05a0000001e000000fd0018 4b1a5117000a202020202020000000fc0053414d53554e470a2020202020017c [ 7.594689] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz), (N/A, 2000 mBm) [ 7.594692] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm) [ 7.594694] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm) [ 7.594696] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm) [ 7.782403] sdio: new high speed SDIO card at address 0001 [ 7.782592] sdio: clock 50000000, 4-bit-bus-width [ 7.782592] [sdio_reinit] finish [ 7.782848] RTL871X: register rtw_netdev_ops to netdev_ops [ 7.782854] RTL871X: rtw_wdev_alloc(padapter=ffffff80015ea000) [ 7.782894] RTL871X: Register RTW cfg80211 vendor cmd(0x67) interface [ 7.783358] RTL871X: rtw_hal_config_rftype RF_Type is 3 TotalTxPath is 1 [ 7.783365] RTL871X: Chip Version Info: CHIP_8723B_Normal_Chip_TSMC_F_CUT_1T1R_RomVer(0) [ 7.783451] RTL871X: EEPROM type is E-FUSE [ 7.785718] RTL871X: SetHwReg8723B: bMacPwrCtrlOn=1 [ 7.786044] RTL871X: PowerOnCheck: val_mix:0x0000063f, res:0x0000063f [ 7.786046] RTL871X: PowerOnCheck: 0x100 the result of cmd52 and cmd53 is the same. [ 7.786098] RTL871X: PowerOnCheck: 0x1B8 test Pass. [ 7.786373] RTL871X: _ReadAdapterInfo8723BS, 0x4e=0xe2 [ 7.786668] RTL871X: hal_EfuseSwitchToBank: Efuse switch bank to 0 [ 7.821580] RTL871X: hal_ReadEFuse_WiFi: data end at address=0xad [ 7.821585] RTL871X: Efuse Realmap: [ 7.821597] 29 81 03 7C 51 08 28 00 62 07 0D 45 10 02 00 00 [ 7.821607] 2C 2D 2D 2C 2A 2A 2E 2F 2F 2E 2C E0 FF FF FF FF [ 7.821616] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF [ 7.821625] FF FF FF FF FF FF FF FF FF FF 2D 2D 2D 2D 2D 2D [ 7.821635] 2D 2D 2D 2D 2D E0 FF FF FF FF FF FF FF FF FF FF [ 7.821644] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF [ 7.821654] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF [ 7.821663] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF [ 7.821673] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF [ 7.821682] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF [ 7.821692] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF [ 7.821701] FF FF FF FF FF FF FF FF 20 23 23 00 00 00 FF FF [ 7.821710] FF 29 20 11 00 00 00 FF 00 FF 12 FF FF FF FF FF [ 7.821720] 3E 10 01 02 23 00 00 FF 20 04 4C 02 23 B7 21 02 [ 7.821729] 0C 00 22 04 00 08 00 32 FF 21 02 0C 00 22 2A 01 [ 7.821738] 01 00 00 00 00 00 00 00 00 00 00 00 02 00 FF FF [ 7.821747] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 7.821757] 00 EB 00 6E 01 00 00 00 00 FF CC 79 CF 47 FF 8D [ 7.821766] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF [ 7.821776] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF [ 7.821785] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF [ 7.821794] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF [ 7.821804] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF [ 7.821813] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF [ 7.821823] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF [ 7.821832] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF [ 7.821842] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF [ 7.821851] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF [ 7.821860] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF [ 7.821870] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF [ 7.821879] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF [ 7.821889] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF [ 7.822010] RTL871X: Hal_EfuseParseBTCoexistInfo_8723B: Enable BT-coex, ant_num=1 [ 7.822304] RTL871X: Hal_EfuseParsePackageType_8723B phy efuse read 0x1FB =fc [ 7.822324] RTL871X: PackageType = 0x4 [ 7.822327] RTL871X: Hal_EfuseParseVoltage_8723B hwinfo[EEPROM_Voltage_ADDR_8723B] =62 [ 7.822329] RTL871X: Hal_EfuseParseVoltage_8723B pHalData->adjuseVoltageVal =6 [ 7.822330] RTL871X: AutoloadFail =0, [ 7.822453] RTL871X: pHalData->EEPROMRFGainVal=0 [ 7.822454] RTL871X: EEPRORFGainOffset = 0x29 [ 7.822926] RTL871X: SetHwReg8723B: bMacPwrCtrlOn=0 [ 7.823346] RTL871X: <==== _ReadAdapterInfo8723BS in 40 ms [ 7.823492] RTL871X: Hal_ChannelPlanToRegulation ChannelPlan:0x20,Regulation(2_4G/5G):0x03,0x03 [ 7.823495] RTL871X: init_channel_set ChannelPlan ID 20 Chan num:13 [ 7.823948] RTL871X: rtw_alloc_macid(eth%d) if1, hwaddr:ff:ff:ff:ff:ff:ff macid:1 [ 7.823951] RTL871X: rtw_register_early_suspend [ 7.823967] RTL871X: Init_ODM_ComInfo_8723b(): fab_ver=0 cut_ver=0 [ 7.823973] RTL871X: rtw_macaddr_cfg mac addr:cc:79:cf:47:ff:8d [ 7.824050] RTL871X: bDriverStopped:1, bSurpriseRemoved:0, bup:0, hw_init_completed:0 [ 7.824066] RTL871X: rtw_ndev_init(wlan0) [ 7.824789] RTL871X: _rtw_drv_register_netdev, MAC Address (if1) = cc:79:cf:47:ff:8d [ 7.824957] RTL871X: module init ret=0 Linux lsmod and uname: odroid@odroid64:~$ lsmod Module Size Used by joydev 10320 0 fuse 77553 3 i2c_gpio 3595 0 i2c_algo_bit 5458 1 i2c_gpio 8723bs 1676771 0 cfg80211 397824 1 8723bs ipv6 335455 44 autofs4 24901 2 odroid@odroid64:~$ uname -a Linux odroid64 3.14.29+ #28 SMP PREEMPT Fri Oct 7 07:53:05 WIB 2016 aarch64 aarch64 aarch64 GNU/Linux odroid@odroid64:~$ Thanks to everyone in this forum who help me...
balbes150 Posted October 11, 2016 Author Posted October 11, 2016 Uploaded the updated images. The Assembly version is 5.21. Checked the desktop Debian, the terminal is displayed correctly. Colors returned to normal. Images with Ubuntu not tested (very short time). I would be grateful if someone would check the Ubuntu images, and write the results.
balbes150 Posted October 11, 2016 Author Posted October 11, 2016 (edited) Collected two BETA image with a full Debian (based on Armbian). There are apt and other packages, the default configuration files, mapped network turnip, you can install any software from them. Finished the console version and desktop version. Note that to use these images, you must perform the initial setup when you first start. While this can be done only via SSH connection (as root user with password 1234), either from the console UART. So far, I have not configured normal operation of the console on the TV monitor. The images are intended for use with SD card, booting from USB does not work yet. The images work fine USB keyboard and mouse. In the desktop version there is an interesting feature, after initial setup, this version works fine on TV monitor (TV output desktop) with a USB keyboard and mouse. Soon will be added another two images from console and desktop versions on Ubuntu. https://yadi.sk/d/lnMowa-Swau3E Ready to use images (used for the initial setup). The minimum size for recording the images to 8 GB. User name user password 1 , the password for the root user "1q2w3e4r". https://yadi.sk/d/IfuNtxDbwedna Edited October 12, 2016 by balbes150
garyang Posted October 13, 2016 Posted October 13, 2016 /sbin/ldconfig.real: /lib/libstdc++.so.6.0.20-gdb.py is not an ELF file - it has the wrong magic bytes at the start. I've got this error. Is armbian support h/w acceleration?
balbes150 Posted October 13, 2016 Author Posted October 13, 2016 These images are not yet fully operational. They are best used for development and debugging. There's a lot to gather again (debug, cross references in the code).
balbes150 Posted October 16, 2016 Author Posted October 16, 2016 (edited) Gathered for a versatile look that can work on both platforms S905 and S905X. In the images used a new kernel. A side effect from the use of the new engine is not running the output to the console on the monitor\TV. Therefore, for the primary system configuration you must use either connect via SSH or UART console. After the initial setup begins to work normally the system and the system can be used normally using the keyboard and mouse. Positive nuance from the new kernel - it was OK to work off. Now after turning off, you can turn on the TV console as usual with the remote control. In the image included two ready-made startup script for different screen resolutions. To use them, it is necessary to rename the appropriate option in s905_autoscript. To use the image on the platform S905 - it is necessary to copy and rename "dtb.img" directory dtb file. On the platform S905X must work the startup dtb from the internal memory. If it does not work - must similarly copy the correct dtb file. Armbian_5.21_Amlogic-s905x_Debian_jessie_3.14.29_desktop_20161016.img Armbian_5.21_Amlogic-s905x_Ubuntu_xenial_3.14.29_desktop_20161016.img Please note, for SSH access and the initial settings you must wait for a secondary reload. At the first start of the image created before the settings for the network and SSH, expanding the secondary section. Then restarts automatically. Only then can you start setting up via SSH or the console UART. Edited October 16, 2016 by balbes150 1
balbes150 Posted October 16, 2016 Author Posted October 16, 2016 For a versatile look. http://forum.armbian.com/index.php/topic/1143-armbian-for-amlogic-s905/?p=17709
vcka Posted October 16, 2016 Posted October 16, 2016 Gathered for a versatile look that can work on both platforms S905 and S905X. In the images used a new kernel. A side effect from the use of the new engine is not running the output to the console on the monitor\TV. Therefore, for the primary system configuration you must use either connect via SSH or UART console. After the initial setup begins to work normally the system and the system can be used normally using the keyboard and mouse. Positive nuance from the new kernel - it was OK to work off. Now after turning off, you can turn on the TV console as usual with the remote control. In the image included two ready-made startup script for different screen resolutions. To use them, it is necessary to rename the appropriate option in s905_autoscript. To use the image on the platform S905 - it is necessary to copy and rename "dtb.img" directory dtb file. On the platform S905X must work the startup dtb from the internal memory. If it does not work - must similarly copy the correct dtb file. Armbian_5.21_Amlogic-s905x_Debian_jessie_3.14.29_desktop_20161016.img Armbian_5.21_Amlogic-s905x_Ubuntu_xenial_3.14.29_desktop_20161016.img Please note, for SSH access and the initial settings you must wait for a secondary reload. At the first start of the image created before the settings for the network and SSH, expanding the secondary section. Then restarts automatically. Only then can you start setting up via SSH or the console UART. Hi, How about EGL? Is it working?
vcka Posted October 17, 2016 Posted October 17, 2016 EGL is OpenGL ES ? Yes it is. And X what driver is using, fbdev or mali x11?
sukanime Posted October 17, 2016 Posted October 17, 2016 Gathered for a versatile look that can work on both platforms S905 and S905X. In the images used a new kernel. A side effect from the use of the new engine is not running the output to the console on the monitor\TV. Therefore, for the primary system configuration you must use either connect via SSH or UART console. After the initial setup begins to work normally the system and the system can be used normally using the keyboard and mouse. Positive nuance from the new kernel - it was OK to work off. Now after turning off, you can turn on the TV console as usual with the remote control. In the image included two ready-made startup script for different screen resolutions. To use them, it is necessary to rename the appropriate option in s905_autoscript. To use the image on the platform S905 - it is necessary to copy and rename "dtb.img" directory dtb file. On the platform S905X must work the startup dtb from the internal memory. If it does not work - must similarly copy the correct dtb file. Armbian_5.21_Amlogic-s905x_Debian_jessie_3.14.29_desktop_20161016.img Armbian_5.21_Amlogic-s905x_Ubuntu_xenial_3.14.29_desktop_20161016.img Please note, for SSH access and the initial settings you must wait for a secondary reload. At the first start of the image created before the settings for the network and SSH, expanding the secondary section. Then restarts automatically. Only then can you start setting up via SSH or the console UART. Have you include Mini M8S S905 Support , like Soundcard and Wifi driver in the kernel. Fyi, Mini M8S using Soundcard AML M8 and Realtek RTL8723BS. if not, what about kernel source, do you include it so i can re compile it for AML M8 Soundcard and Realtek RTL8723BS module driver. Did it support a Modified Kodi with HW Acceleration from here http://forum.odroid.com/viewtopic.php?t=19433 Thanks.
balbes150 Posted October 17, 2016 Author Posted October 17, 2016 Fixed the output in the console. Now the images are fully working. For initial system configuration standard keyboard and monitor / TV connected to the media box. Also in the new images is significantly updated kernel (added support for many elements of file systems, some WiFi, BT, etc.). More good news - last version of the image (20161017) universal can run on both processors S905 and S905X. For these images, you can use the dtb files from the directory from Kszaq Lebreelec. As far as I could understand the kernel sources close to the source LE, then you can try to apply the General patches. Also in the images attached two files aml_autoscript and aml_autoscript.zip to activate universal multi-boot (if it is not done on the device). Of the minuses - not working yet running the system from USB flash drives. While the system can only be run from SD cards. The kernel sources and profile to build the images posted, as usual, on github. p.s. As in actual testing proved that the kernel can run simultaneously in both options of chips, I suggest merging the threads about S905 and S905X.
sukanime Posted October 17, 2016 Posted October 17, 2016 hmm, i will wait and see....if its close to LE , i hope there will be support for Kodi...afaik, kernel source from github will change every time, thats why i ask about kernel source.can you give the hint, which commit is you using for the Armbian_5.21_Amlogic-s905x_Debian_jessie_3.14.29_desktop_20161016.img
balbes150 Posted October 17, 2016 Author Posted October 17, 2016 I recommend to try the latest version of the images. There are a lot of changes in the kernel. The kernel sources with the current state (which is in the images) just on github. Ie current images = the current state of the kernel on github. Note that the kernel configuration that you want images to be in git LIB https://github.com/150balbes/lib/blob/master/config/kernel/linux-amlogics905x-default.config To collect - possible additional scripts git (set_make). To build the kernel you need to properly configure the compiler. Alternatively, you can mark the right compiler in /opt and register it in the user profile under which the build. Please note that building the kernel demanding on the compiler version and the "correct" version may not give clear glitches.
sukanime Posted October 17, 2016 Posted October 17, 2016 I recommend to try the latest version of the images. There are a lot of changes in the kernel. The kernel sources with the current state (which is in the images) just on github. Ie current images = the current state of the kernel on github. Note that the kernel configuration that you want images to be in git LIB https://github.com/150balbes/lib/blob/master/config/kernel/linux-amlogics905x-default.config To collect - possible additional scripts git (set_make). To build the kernel you need to properly configure the compiler. Alternatively, you can mark the right compiler in /opt and register it in the user profile under which the build. Please note that building the kernel demanding on the compiler version and the "correct" version may not give clear glitches. Thanks, i will compile it under my Mini M8S with Armbian_5.21_Amlogic-s905x_Debian_jessie_3.14.29_desktop_20161017.img.xz i hope i can download it from Yadi.sk , my internet connection is not so good to download from Yadi.sk
Recommended Posts