Jump to content

martos

Members
  • Posts

    142
  • Joined

  • Last visited

Everything posted by martos

  1. you buy the equipment with your money, could we donate to you ?
  2. @hexdump Thank's a lot , if you need help ...
  3. Hello, Could we help you with same donate process ?
  4. Hello, Some news of my device : i think it's hardware trouble , i compare 2 device and the sdard reader is not the same ID , i think the boot can't work so i try a physical change ...
  5. with my H96MAX H2 (not +) with the serial console (of course i try to hit "ENTER" at the begininng of the boot without succes ) , i have a login when Android is started : rk3328_box:/ and i can go in root mode : rk3328_box:/ $ su rk3328_box:/ # i have a look on the /mnt/ directory and i see the sdcar or the USB key Can i change something to boot after in the sdcard ? Other way is to write armbian in the eMMC in loader mode or in MaskRom mode But i dont understand the solution to make it, if someone can help ...
  6. For information , with the device H96MAX H2 (not +), it don't want to start from SDcard (or usb) i flash an another android image with an another boot release (2.44 -> 2.49 ) its the same ... ( i put the serial boot log ) rk3328_4.txt
  7. Hello, Just for information , the boot log of on RK3328 (H96 MAX h2 ) who can't boot on sdcard. rk3328_1.txt
  8. i buy this box 64 € : https://urlz.fr/b0qA Model ON-DMI-16D Chipset Hi3516D Works perfectly from ONE hdmi source , perfect with my box tv !
  9. Of course nobody speak of this hardware version ( V1.3 ) and the uart TTL pinout is not easy to find ... I think it's the 3 point , but very hard to sold The other solution is to flash emmc firectly with maskrom mode ...
  10. Thank's a lot ! but i think H96 Max+ (it have Android 8.1 PCB:8D4 ) and H96 MAX (it have Android 7.1.2 PCB:D4 ) is not the same motherboard : H96 MAX PLUS = PCB is labelled as "RK3328_8D4_V1.1" other Firts Model have mxq_rk3328_D4_A ( i find some MX10,MXR Pro ... ) mxq_rk3328_D4_B V1.1 ( A5X MAX, ...) H96 MAX PCB is labelled : h1=mxq_rk3328_D4 v1.1 , h2=mxq_rk3328_D4 v1.2 or last version h3=mxq_rk3328_D4 v1.3 (my picture ) But i will try this dts quickly
  11. Hello this device : https://www.ebay.fr/itm/HummingBoard-i2-i-MX6-Dual-Lite-1GHz-64bit-1Gb-RAM/182913801267?hash=item2a96831c33:g:fW4AAOSwCcZaEuT2 i.MX6 Dual Lite 1GHz 3D GPU GC880 OpenGL ES1.1,2.0 64bit 1Gb RAM Standard micro USB connector 5V as a DC power HDMI CEC 1080p 10/100Mbps Ethernet Connector Powered 2xUSB 2.0 host ports MIPI 2 Lane CSI-2 26 pin header compatible with the Raspberry pi header Analog audio out (PWM based) Coax SPDIF out for digital audio LEDs 8 pin header for FlexCAN, system reset and 5V / GND pins micro SD interface (for OS image and user data) the transcode h264 HD to H264 low resolution could works ? (only one dual core and only 1gb )
  12. I find another user (armm ) have this trouble : ( https://forum.armbian.com/topic/8082-armbian-for-tv-box-rk3328/page/15/ ) "i have an MXR PRO 4gb 32gb emmc (gearbest link) and this box doesn't boot from SD (i tried all the tips given but no way), the solution to install armbian on this box is to write it directly to the emmc," It seems the same motherboard .. I don't find the UART serial port, could someone have find it ? in this case i can make the boot log to check the trouble ... The exact model is : H96 MAX H2 Colorful Edition and i think the Boot version: 2.44 i find the last firmware here : http://blog.geekbuying.com/2018/07/h96-max-h2-colorful-edition-4gb64gb-tv-box-firmware-update-20180620/ so i download it and i try to check the uboot inside the file ...
  13. In first escuse me ... I crash my old RK3328 and i buy a new used one in ebay. I receive it this day, and i test : Armbian_5.98_Rk3328-tv_Ubuntu_bionic_default_4.4.154_desktop_20191923.img.xz i try all the dtb (editing the /extlinux/extlinux.conf and change the line FDT ) without sucess I try LE img with same result. So i open this box ( H96 Max NOT H96 MAX + ) with android 7.1.2 with 4g Ram32 Flash The motherboard is : mxq_rk3328_d4 v1.3 20180306 BUT i see the memory chipset is K4B4G0446Q-HYK0 so its DRAM Chip DDR3L SDRAM 4Gbit so it's not DDR4. I don't connect serial cable to the motherboard now, but in your opinion ?
  14. if i understand this : https://www.phoronix.com/scan.php?page=news_item&px=Amlogic-H264-Decode-Almost https://lkml.org/lkml/2019/10/7/692 https://kodi.tv/article/devcon-2019-belgrade-part-iii we have this in the kernel 5.5 ... But now how it's made in LE ?
  15. just for information, in dmesg repeat when i made my test : [29560.295075] meson-dw-hdmi c883a000.hdmi-tx: channels=2 sample_width=16 sample_rate=44100 [29560.295134] meson_aiu_i2s_dma_hw_params: physical_width=16 buffer_bytes=17664 period_bytes=4352 [29582.217953] meson-aiu-i2s meson-aiu-i2s.4.auto: Failed to set sysclk to 0Hz and i think i have trouble with the sound ( horrible )
  16. hello, What is the device with imx6q SoC ? what is your linux ? ram ? ... thank's
  17. Hello all, i download the new DEV image 20191025 ( kernel 5.4.0 rc4 ) For the dtb is use : meson-gxm-s912-kiii-pro.dtb ( h96 pro+ hardware like the k3 pro ) in the file : uEnv.ini change this line : dtb_name=/dtb/amlogic/meson-gxm-s912-kiii-pro.dtb install packages : sudo apt-get install nasm sudo apt-get install yasm apt install autoconf automake cmake libtool git checkinstall nasm yasm libass-dev libfreetype6-dev libsdl2-dev p11-kit libva-dev libvdpau-dev libvorbis-dev libxcb1-dev libxcb-shm0-dev libxcb-xfixes0-dev pkg-config texinfo wget zlib1g-dev libchromaprint-dev frei0r-plugins-dev gnutls-dev ladspa-sdk libcaca-dev libcdio-paranoia-dev libcodec2-dev libfontconfig1-dev libfreetype6-dev libfribidi-dev libgme-dev libgsm1-dev libjack-dev libmodplug-dev libmp3lame-dev libopencore-amrnb-dev libopencore-amrwb-dev libopenjp2-7-dev libopenmpt-dev libopus-dev libpulse-dev librsvg2-dev librubberband-dev librtmp-dev libshine-dev libsmbclient-dev libsnappy-dev libsoxr-dev libspeex-dev libssh-dev libtesseract-dev libtheora-dev libtwolame-dev libv4l-dev libvo-amrwbenc-dev libvorbis-dev libvpx-dev libwavpack-dev libwebp-dev libx264-dev libx265-dev libxvidcore-dev libxml2-dev libzmq3-dev libzvbi-dev liblilv-dev libopenal-dev opencl-dev libjack-dev v4l-utils compile aom : cd ~/ffmpeg_sources mkdir aom cd aom git clone https://aomedia.googlesource.com/aom cmake aom/ -DBUILD_SHARED_LIBS=1 make -j8 sudo checkinstall -y --deldoc=yes --pkgversion=1.0.0 cd .. Compile ffmpeg : mkdir -p ~/ffmpeg_sources ~/bin cd ~/ffmpeg_sources && \ wget -O ffmpeg-snapshot.tar.bz2 https://ffmpeg.org/releases/ffmpeg-snapshot.tar.bz2 && \ tar xjvf ffmpeg-snapshot.tar.bz2 && \ cd ffmpeg && \ PATH="$HOME/bin:$PATH" PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig" ./configure \ --prefix="$HOME/ffmpeg_build" \ --pkg-config-flags="--static" \ --extra-cflags="-I$HOME/ffmpeg_build/include" \ --extra-ldflags="-L$HOME/ffmpeg_build/lib" \ --extra-libs="-lpthread -lm" \ --bindir="$HOME/bin" \ --enable-gpl \ --enable-libaom \ --enable-libass \ --enable-libfdk-aac \ --enable-libfreetype \ --enable-libmp3lame \ --enable-libopus \ --enable-libvorbis \ --enable-libvpx \ --enable-libx264 \ --enable-libx265 \ --enable-version3 \ --enable-shared --enable-small --enable-avisynth --enable-chromaprint \ --enable-frei0r --enable-gmp --enable-ladspa \ --enable-libaom --enable-libass --enable-libcaca --enable-libcdio \ --enable-libcodec2 --enable-libfontconfig --enable-libfreetype \ --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack \ --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb \ --enable-libopencore-amrwb --enable-libopencore-amrwb \ --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse \ --enable-librubberband --enable-libshine \ --enable-libsnappy --enable-libsoxr --enable-libspeex \ --enable-libssh --enable-libtheora \ --enable-libtwolame --enable-libvo-amrwbenc \ --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp \ --enable-libx264 --enable-libx265 --enable-libxvid \ --enable-libzvbi --enable-lv2 \ --enable-openal --enable-opencl --enable-opengl --enable-libdrm \ --enable-nonfree --enable-libfdk-aac \ --enable-nonfree && \ PATH="$HOME/bin:$PATH" make -j8 && \ make install && \ hash -r some changes : open /etc/ld.so.conf add this line in this file /root/ffmpeg_build/lib/ launch : ldconfig the ffmpeg bin is on : /root/bin/ test sofware decode and encode ( h264 1920*1080 to 320*240 ) /root/bin/ffmpeg -vcodec h264 -i http://192.168.1.50:8001/1:0:19:606:6:20FA:EEEE0000:0:0:0: -s 320x240 /tmp/test.avi (works but not enough cpu , don't forget the s912 have 8 arm A53 core BUT 4 at 1600 Ghz and 4 at 1 Ghz AND IT'S NOT 8 core at 2Ghz ... so we need speed 1 , we have max 1.1 and 0.7 with S912 without hw decoder ) my best conf for software decoder/encoder : /root/bin/ffmpeg -threads 16 -i http://192.168.1.50:8001/1:0:19:415:4:20FA:EEEE0000:0:0:0: -b:a 32k -b:v 300k -s 320x240 /tmp/test.avi or /root/bin/ffmpeg -benchmark -filter_threads 16 -threads 16 -thread_queue_size 3276800 -i http://192.168.1.50:8001/1:0:19:415:4:20FA:EEEE0000:0:0:0: -ac 1 -ar 22050 -b:a 8k -max_muxing_queue_size 9999999 -b:v 275k -s 320x240 /home/martos/test.avi test hardware decode and software decode ( h264 1920*1080 to 320*240 ) /root/bin/ffmpeg -vcodec h264_v4l2m2m -i http://192.168.1.50:8001/1:0:19:606:6:20FA:EEEE0000:0:0:0: -s 160x120 /tmp/test.avi BUT : [h264_v4l2m2m_decoder @ 0xaaaac47b5b00] Could not find a valid device [h264_v4l2m2m @ 0xaaaac477fe70] can't configure decoder do you know if this kernel have the change for Hardware aml decoder ?
  18. kernel request : https://www.phoronix.com/scan.php?page=news_item&px=Linux-5.3-Media-Updates - new Atmel microship ISC driver; - coda has gained support for mpeg2 and mpeg4; - cxusb gained support for analog TV; - rockchip staging driver was split into two separate staging drivers; - added a new staging driver for Allegro DVT video IP core; - added a new staging driver for Amlogic Meson video decoder; - lots of improvements and cleanups. Must wait to make more tests ...
  19. Ah ! The rockchip mpp ( https://github.com/rockchip-linux/mpp ) and ffmpeg ( hardware data path for libswscale ) have make so change to encode in hardware , so i need to make some new test ... Come back wit result soon ...
  20. If i read correctly ( http://linux-meson.com/doku.php ) , the S922x is a g12b, no yet implemeted ( i see some odroid guy dev work on it) but : v5.3 (work in progress) ... G12B: add support for the S922X SoC and G12B : Identical to GXL but with Quad Cortex-A73 + dual Cortex-A53 cores S922X: mostly pin compatible with S905X2 And if i read correctly , lot of similarity with S905X2, so it could be quick (https://patchwork.kernel.org/cover/10964079/ ) ... to come back with the subject, i wait the new kernel and i try to transcode with my amlogic ( i have s912, TX3 Mini ) and come back with result.
  21. Perfect if "elyotna"continue and yes i see it : https://lkml.org/lkml/2019/6/6/535 and i understand the decoding is the most important at this time. And if amlogic help : "We have received a redistributable license from Amlogic and the firmwares have been merged in linux-firmware" So i continue to wait, because if decoding use the complete hardware , i have more cpu to encode ... Thank you for giving me hope ! my news read : https://patchwork.kernel.org/project/linux-amlogic/list/
  22. No way to hardware encoding with aml chipset : the hack of hardware decoding use the V4L2 M2M and it use less cpu it don t use all the hardware decoding. ( i make lot of tests ). the autor of the hack have stopped To work on it. ( check with google ely, french guy, and v4l2 m2m you can find a vidéo with beautifull explain ) If nobody continue and work on the encoding the only way it to make in software. With my test only s912 can make some encoding but i wait the new s922 To make new tests of encoding h264 with an odroid n2 or the hardware tested by balbes150. Another hope is rockchip have a roadmap for the mpp ffmpeg plugin to hardware encode for this years ...
  23. normaly i write all i use in the begining of the post, but i try it again this week end ( i m not at home this week) with the new kernel and put here the details.
  24. Yes, I make it with V4l2-m2m , but this way don't use all the hardware , so we can use use for decode in realtime (it's not perfect at all ) , but not for encode . So for Amlogic ( or other device using the v4l2_m2m ) it's not enough ok for me ( just reduce cpu using ) For rockchip i wait the encode hardware in mpp ( in the roadmap this year ) and someone in the ffmpeg team have a look on my ticket ( open 6 month ago )
  25. Hello, I have tested a lot of tv box to decode video, and lot use special kernel of vendor ( the kernel provide by android 3.14 ... ) with not completely opensource solution. And a guy (maxime jourdan) have make an "hack" of the amlogic, and use V4L2M_M2M to make the amlogic hardware decode with new kernel ( patch in 4.19 if i remenber ). It's not perfect ( the performance is poor than the special kernel ) but it's works and it's not a vendor solution and completely opensource . And the guy explain it : https://www.youtube.com/watch?v=pF6i19oscqg In english i can understand It's a french guy It's my new hero ...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines