Jump to content

boobypi

Members
  • Posts

    47
  • Joined

  • Last visited

Everything posted by boobypi

  1. I jump into a hack try! Just bought an MXR10 same AX5 board but a better emmc chip 32GB 208mhz instead 16GB 103mhz. According to rock64 forum, it's possible to boot in spi mode and sdio can work with spi nor flash in spi mode 1Bit. So in theory it's possible to put spi flash in place of sdio wifi module. I will try to put openwrt on spi 16mbyte, to install linux, dump android image. I think this is why vendor put sdcard on the wrong sdio port, in order to block easy copying their android image. If it's work it's will be easy for someone to buy an spi flash, write it with an esp8266 (esptool can write 128mbit flash). The hard part is be able to boot an openwrt or an network boot from spi flash. On A5X or MX10 there is an usb hub, so i think it's possible to add an usb wifi to remplace the sdio wifi module removed
  2. Hi, I think the uart connector is under heathink near CPU - See on freaktab MX10 RK3328 (looklike same board) http://freaktab.com/forum/tv-player-support/rockchip-based-tv-players/rk3328-devices/674542-mx10-android-7-1-2-rk3328-4-32gb-tv-box-2-4ghz-wifi-fast-lan RK3328 only have 2 SDcard interface (SDIO), only sdcard0 can boot. If the SD slot don't boot, you have to unsoldering wifi module (find pinout of SDIO with datasheet) and soldering a new sd card socket.
  3. ofcourse i have an acces to serial over the air (esp8266)
  4. Hi! I would like to know if there is a way at the startup to load new uboot / system to sdcard or spi flash. The fact is for DIY waterproof system, it's hard to remove sdcard, sometimes OPi isn't close of my computer. Idealy i would like TFTP / serial upgrade like openwrt router. Maybe it's impossible since TFTP upgrade need to download before image to ram, check it and burn it. With OP PC we have 1G ram to store image before write it on sdcard... Any idea? thanks
  5. The datasheet of RK3328 said there is only 2 sdio controler so if the sdio of sdcard is not the sdio 0 for booting, you have tu use the sdio used by wifi bt chip - useless because none have mainline driver. There is datasheet for both module - 622B module from fn-link : http://www.fn-link.com/uploadfile/2017/0426/20170426024705812.pdf - SV6051P module from iComm : https://www.iottech-corp.com/datasheet/iot/iTM1020_Datasheet_V1.6_12052016.pdf These data give explicit pinout to soldering sdcard socket and should be on sdio 0 port for booting in maskmode I think it's the easy way
  6. And if fail? I have seen rkdumper utilty https://forum.xda-developers.com/general/rooting-roms/tool-rkdumper-utility-backup-firmware-t2915363 you made an backup of your android before? In fail case, it's more fast with sdcard socket and i don't like onboard wifi, i also planing to use these SDIO as few gpio for external use (SW I2C).
  7. Hi! Other way to may be possible boot, i have seen SV6051 wifi on Z28 Pro and MX9 MAX 2G 16G (a litle cheaper). SV6051P can be easyly desoldered and give access to all pin for sdcard connector. Do you know when the rock64 bootloader will change for more open? Now i understand it's work only in Maskroom mode. Rock64 start to be mainline, so maybe it's not just an other chineese box
  8. Many thks for information about differents versions. Look like hard way to prepare a working FS on Z28 Pro with different wifi chip. I read this : https://www.blackhat.com/docs/us-17/wednesday/us-17-Etemadieh-Hacking-Hardware-With-A-$10-SD-Card-Reader-wp.pdf about readind emmc from sdcard sdio. In order to put sdcard insdead emmc it's seem to be possible to find DATA0-DATA3 CMD CLK on the board but it's need to desoldering emmc to find the resistances about emmc, then soldering / glue an sdcard socket to make some dev test. When working resoldering emmc or buy new board...
  9. Hi, me too im asking if i buy Z28 or Z28Pro? - According to this blog (http://tvboxstop.blogspot.com/2017/07/alfawise-z28-pro-android-71-rockchip.html) Z28 pro can be rooted with an update, so backup emmc seem to be possible before testing armbian. Emmc may give better performance to play youtube video in browser with crappy vpu mali support (i don't know how it's related but X2 belink user notice that...). Rockchip tool work on windows only, bad bad bad! - Z28 cannot be rooted for now but can boot on sdcard (easy for testing armbian from linux desktop).
  10. There is an specification on onvif cam module named JPEG over RTP, it's the better way to offload the cpu and make realtime (H264 has less bandwitch but more delay) sending data to client but i don't know how get this steam on chinese onvif cam... Any idea about that?
  11. Hello, to save time, maybe it's easy to simlink to /tmp/ to write in ram instead flash. I agree, make realtime (<1sec delay) is hard and need lot of work. I already try myself with libffmpeg to decode h264 on end point but because buffering and video data topology add a long delay unwanted. There are some camera with good quality about 10$ (Module ip camera hi3518E V200 Onvif protocol) with dual output RTSP protocol - 1MP for recording and low quality to make preview or triggering processing like advanced motion capture. It's easy to save in mpeg_ts format (adding the minimal delay to have main frame, 2sec that was so bad realtime experience) but video quality is good. In my opinion the better way to have realtime with web cam is to make an kernel driver in order to reuse webcam driver and linking to tun tap driver - like that you can take data at low level and maybe a DMA to send to tun tap interface on a specified ip adress and port when you load kernel module... Easy to say, hard to make
  12. Hi, Finnaly i choose an easier way to have android on my OPI PC...Just using PhoenixCard_V310_20130618 to burn sdcard from newest (2017) original firmware from Beelink X2. The firmware tested : https://drive.google.com/file/d/0B37ZphGG_EYYRmMyLVNyazZmdEE/view my 2 cents : - Ethernet working but no wifi support for RT5370 Wireless Adapter - Console on uart is root and android is in developer mode - KODI 14.2 with good hw acceleration for playing video mp4 - No overheating with small heatshink when watching 1080P H264 video file in KODI - Audio ouput can be enable on HDMI or/and analog - only 2 USB HOST enabled (no automount but if device is rooted maybe it's easy to improve that)
  13. I extracted rootfs from system.fex with success (I use https://github.com/anestisb/android-simg2img) and mount filesystem in my linux desktop...android is here! I extracted (with https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/android-serialport-api/android_bootimg_tools.tar.gz) boot.fex to boot.fex-zImage and boot.fex-ramdisk.gz Now i need to be able to boot this kernel with the standard bootloader used by armbian...any idea?
  14. Hello, I need your help to know if it's possible to dump an img to sdcard to make it's working android on my orange pi pc? For testing purpose i 'm linux man and i will say android is a piece of shiit if you ask me! I find an image from Beelink X2 and now i supose i 'm succes to unpack img to fex files... Is needed to modify boot.fex to boot from sdcard (default choice on OPC H3) or just extract system.fex to have my rootfs and take normal armbian bootloader? I dreaming or there is a way like that? (I'm bambi in android world, don't hurt me) ./imgrepacker ../Android/update_X2_v106k4.img ==========================[ START ]========================== --- Firmware unpacking --- PhoenixSuit image format detected - image.cfg creating - image.cfg created - Files extracting - "/sys_config.fex" extracted (format: unknown) "/config.fex" extracted (format: unknown) "/split_xxxx.fex" extracted (format: unknown) "/sys_partition.fex" extracted (format: unknown) "/boot0_nand.fex" extracted (format: Allwinner BOOT0 file) "/boot0_sdcard.fex" extracted (format: Allwinner BOOT0 file) "/u-boot.fex" extracted (format: unknown) "/fes1.fex" extracted (format: Allwinner BOOT0 file) "/usbtool.fex" extracted (format: Windows PE file) "/aultools.fex" extracted (format: Compiled lua file) "/aultls32.fex" extracted (format: Compiled lua file) "/cardtool.fex" extracted (format: Windows PE file) "/cardscript.fex" extracted (format: unknown) "/sunxi_mbr.fex" extracted (format: unknown) "/dlinfo.fex" extracted (format: unknown) "/arisc.fex" extracted (format: unknown) "/bootloader.fex" extracted (format: FAT16 image) "bootloader.fex.iso" created "/Vbootloader.fex" extracted (format: unknown/empty?) "/env.fex" extracted (format: unknown) "/Venv.fex" extracted (format: unknown/empty?) "/boot.fex" extracted (format: Android boot image) "/Vboot.fex" extracted (format: unknown/empty?) "/system.fex" extracted (format: sparse image) "/Vsystem.fex" extracted (format: unknown/empty?) "/recovery.fex" extracted (format: Android boot image) "/Vrecovery.fex" extracted (format: unknown/empty?) "/diskfs.fex" extracted (format: unknown) ==========================[ STOP ]==========================
  15. Hi guys, Why just doing an backup in hot cloning mode? Thnks for iotop tip,,, but put data in read only mode like linux on usb key is a secure way to clone entire partition : fstab edition or mount -o remount,NEWARGS filesystem. Maybe it's possible to improve this tool. I go back to my openwrt system (take lot of time to get a ready -saying faster- system : gcc, ffmpeg, nodejs). H3 is expensive in time
  16. Hi I have some question about new ephy driver by linux sunxi (Chen-Yu Tsai - montjoie). I see the driver is unstable for the moment so i try to use with stmmac emac driver. There is an mdio support and sunxi A20 glue working, A31 seem to be working also... The fact is "allwinner,sun8i-h3-ephy" is loaded as ethernet phy and stmmac try to handle it as phy...and make probleme because 0x01c00030 is just an "EMAC clock register". I see in A31, this emac register is handle by "allwinner,sun7i-a20-gmac-clk" in clk@01c200d0 area. H3 seem have the exactly same registers in 0x01c00030 plus some registers handled with succes with "allwinner,sun8i-h3-ephy" (when i plug an eth cable, and ping to op pc, led blink with pinging so phy is working). Maybe it 's possible to merge this 2 drivers allwinner,sun7i-a20-gmac-clk and allwinner,sun8i-h3-ephy to be new one for H3 and keep generic stmmac (dwmac-sunxi) to handle EMAC? Or there is one good reason to not doing like that? ps : i try with 4.5.3 and uboot2016-03
  17. Hi guy, Once time i had datacorruption on my scard so i investigated a way to recovery entire sdcard or make an fsck at startup. Problem,,,root partition is mountedand in use! So you can edit fstab to put root fs in readonly mode, make an fsck and a dd like you want. Inconvenient : very long process and server is down. Avantage : you can reload original armbian OS into a new sdcard and after recovery your dd image directly on the OPPC (because I have some trouble with big 8GB dd transfert with sdcard usb adapter) from an external flash or hdd. Here is my note to doing that (in french sorry) : faire un dd de la sd: 1. editer fstab en ro remplacer defaults par ro,suid,dev,exec,auto,nouser,async # <file system> <mount point> <type> <options> <dump> <pass> # / was on /dev/sda7 during installation UUID=33b870b8-a81e-4203-a4fd-7affa9f412fb / ext4 errors=remount-ro 0 1 # /boot was on /dev/sda5 during installation UUID=c3cc32c0-b4bd-49f6-b23c-35fed37adea5 /boot ext2 defaults 0 2 # /home was on /dev/sda8 during installation UUID=c2d386a1-c2f9-4d2f-957a-65a5d9b4c4d7 /home ext4 defaults 0 2 2. mettre pass à 1 pour un fsck au demarage 3. faire le dd vers un cle usb 4. restaurer fstab comme avant en remontant en rw : mount -o remount,rw /dev/sda2 puis edition fstab 5. reinstaller lightdm 6. rebooter
  18. Hi guys, Thanks for tutorial, i discover rdesktop / xrdp... But i would try to make thing in the reverse way : Put x2goserver on OPPC and view from remote (linux or windows). It's finally easy with all needed .deb files and some helper from web. apt-get install libc6 lsof bc openssh-server openssh-client libconfig-simple-perl pwgen libdbd-pg-perl libdbd-sqlite3-perl libfile-basedir-perl libcapture-tiny-perl adduser xauth psmisc net-tools sshfs x11-apps x11-session-utils x11-utils x11-xfs-utils x11-xkb-utils x11-xserver-utils fontconfig xinit xfonts-base x11-common wget http://ftp.igh.cnrs.fr/pub/os/linux/raspbian/raspbian/pool/main/libj/libjpeg8/libjpeg8_8d-1+deb7u1_armhf.deb sudo dpkg [--force-conflicts --force-depends] -i libjpeg8_8d-1+deb7u1_armhf.deb git clone https://github.com/kapolos/armhf-x2go.git cd armhf-x2go-master/ sudo dpkg [--force-depends] -i *.deb sudo apt-get -f install WILL INSTALL ===> cups cups-client cups-common cups-core-drivers cups-daemon cups-filters cups-filters-core-drivers cups-ppdc cups-server-common desktop-file-utils ghostscript gsfonts libcupscgi1 libcupsmime1 libcupsppdc1 libfile-which-perl libfontembed1 libqpdf13 poppler-utils ssl-cert sudo apt-get install x2goclient on the remote machine. run x2goclient and type (server ip address) and your username and pwd as your remote ssh acces. Enjoy! I m happy to find my x2go app. Also a real firefox (firefox_45.0.2+build1-0ubuntu0.12.04.1_armhf.deb) (Webgl support with mesa compiled = glmark2 give 5 poor points but it's work lol
  19. Do you success an installation of x2go server on armbian? There is no package ready and there is a lot a dependancy to compile...If someone did the job, need help
  20. Hi, Another feedback about my testing : -Playing 720p movie is fine from usb flash. Around 50% on each core with ffplay in fullscreen 720p. -Use a Lipo battery instead 5Vcc supply is fine in short range : 4.25V minimum to boot the board (fully battery!). Stable use at 3.9V while running es2gears, maybe less without my poor "header connector" and short cable...just an option for prevent sdcard corruption after supply loss and make time enought to shutdown properly. Usb Hardrive don't start with that low voltage, wireless RT5370 and usb flash are working fine. I agree with "methodical approach". Need stabilty in first goal.
  21. When OPPC play The martian 720p with ffplay, each core was between 25-35% used. (edit : it's not 720p but 720x360 video...) I try a 1080p youtube video (h264 (high) 3182kb/s) i was unable to play it from /tmp/. Maybe an profile (high) issue... My display is configured in 720p (h3disp -m 5)
  22. Hi, just a big thanks to your great and helpfull armbian. I remove xfce4 to kde because i like Konsole with full selection, copy, pastle easy with one hand (and one beer). KDE-standard work perfectly (automount for usb device) and sound work great (buggy driver to activate it on mixer) on jack output. (just remove nodm, xfce4 package after deactivate X at startup, then install kde, lightdm). I have been suprised about vdpau, first i try VLC...unusable for 720p divx. mpv work fine but poorly gui. So I try to compile myself FFmpeg with vdpau support,,,some depandancy error about mesa or mali driver, I choose to override header used for sunxi mali driver by standard header and it's work fine. I have FFplay to play 720p smoothly without bug like sunxi vdpau. Perfectly usable in fullscreen in SDL mode (FFplay use Single Display Library for overlay) ans same cpu usage as sunxi vdpau...very strange story! So i try to compile VLC myself with my new FFmpeg library but i didn't success to have same speed like FFplay...no understanding about that for now. To have sound (jackoutput) in SDL overlay mode (ffplay) you have to set some value (default system sound driver) : /etc/asound.conf pcm.!default { type hw card 0 } ctl.!default { type hw card 0 } ans set two env variable : export SDL_AUDIODRIVER=alsa export AUDIODEV=plughw:audiocodec,0 I hope it's help someone. Again thank you very much for Armbian OS team, ready outthebox on a H3 OPPC! You rocks guy!!
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines