Jump to content

hanguofu

Members
  • Posts

    38
  • Joined

  • Last visited

Everything posted by hanguofu

  1. If the uart port is not connected , the u-boot stop after "Hit any key to stop autoboot: 2 1 0 " ---- it is just what I guessed. If I hooked up the uart port with a debug board , I saw no output from screen. But if I press "Enter" key , the u-boot shows "=>" and ready for commands . A "reset" command can make the u-boot to reboot . If the uart port is connected before power up , the u-boot boots normally.
  2. I am playing with X96 Max+ and it always stops at u-boot if its uart port is not connected . It is said that there is interference from uart port thus u-boot thinks it has received commands. Is that true ?
  3. I am trying to build an armbian img. with mainline kernels for s905x3 tvboxes ( especially h96 max x3 and X96_Max_plus ) . However , Since these boxes are not supported by armbian , I am wondering if anyone has even succeeded in building an up-to-date armbian without ethernet/sound issues ? Regards !
  4. Thanks for the tip . Could you please tell me how to use wayland/weston ? Currently I installed armbian ( kernel 5.7.16 ) built by balbes and I would like to try the improvements you mentioned. Regards !
  5. Just curious which WIFI chip is at your X96 Max+ stb ? Which OS are you playing with ?
  6. I installed Focal Armbian ( Desktop version ) at my tvbox and everything is so far so good . Only a small issue hassles me : after the desktop launches , I had to use the mouse to click the desktop so that it can receive focus . Only after that , can I use the arrow keys to move the focus between icons. If I press the arrow keys just after desktop launches , nothing happens ---- obviously , sth. steals the focus . Is it a normal behavior as expected ? May I config sth. to avoid using mouse to retrieve the focus to desktop ? Thankyou for your attention :)
  7. Hi , hexdump : Do you know the related code about setting video mode ? I would like to modify the legacy u-boot to make it right
  8. Thanks for sharing your experience ! Did you make the wifi works at X96 Max Plus too ? As much as I know , X96 Max plus comes with rtl8822cs which is different from the one at HK1Box . Does the wifi works at HK1Box with Armbian ?
  9. I try to compile armbian from git : https://github.com/150balbes/Build-Armbian/ ( should I use https://github.com/armbian/build instead ? ) However , I did not find the board option for Khadas Vim1 . Which board would be identical to it ? Does the https://github.com/armbian/build has this board ? Regards !
  10. Just curious , Does wifi 88x2ce/8822cs work in Android ? If yes , how fast is it ?
  11. Hi @balbes150, Would you mind telling me how to generate the u-boot-s905x-s912 at boot dir. of armbian release ? I cannot find any source/repository about it . Thanks !
  12. I would like to know the content of u-boot-s905x-s912 and u-boot-s905x2-s922 at the boot dir. of armbian release . Is there a tool to de-compile these script to plain text ? Sorry if this question had been asked or answered . I didnot find any clues from searching at this forum. Thanks !
  13. I didnot find a driver for MT7668RSN at armbian Armbian_20.02.0-rc1.038_Aml-s9xxx_eoan_current_5.5.0-rc6_desktop_20200205 . There is little info. about this chip on Internet either . But it works at the orignal android with kernel 3.14. Will it be avail. at the coming new armbian release ? Regards ! Guofu Han P.S. if this is not the right place to post it , please help me to move it . Thanks !
  14. I installed armbian_eoan_desktop_5.5 on my set-top box and updated mesa to 20.1-devl . But I found out the Xfce4 desktop is a little bit larger than my TV screen . I checked the Application->setting->display and used xrandr -q to print out the parameters : Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 3840 x 2160 HDMI-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 575mm x 323mm 1920x1080 60.00*+ 60.00 50.00 59.94 24.00 23.98 1920x1080i 60.00 50.00 59.94 1680x1050 59.88 1280x1024 60.02 1280x960 60.00 1360x768 60.02 1280x800 59.91 1280x720 60.00 50.00 59.94 1024x768 60.00 800x600 60.32 56.25 720x576 50.00 720x480 59.94 But I found out nothing . Is this a bug in mesa ?
  15. Thanks for your contribution ! May I apply this update to armbian debian bullseye too ?
  16. Thanks for sharing your knowledge ! I am going to check out the branch linux-5.6.y from https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git . But I had a problem to find out the kernel source version for the 'stable', 'current' and 'dev' builds : when I checked config/sources/families/meson-gxl.conf , I didnot find out the version name . Which patch version ( meson64-current , meson64-dev , meson64-legacy ) should I apply to that branch please ?
  17. Thanks for the tip. I tried to build the latest mesa 20.0.2 on my armbian Eoan with Linux 5.5.0-rc6-aml-s9xxx but failed . After the installation , the keyboard and mouse are very sluggish . Could you please tell me how to build it on armbian ? Regards !
  18. After the firmware installed , I tried mpv with option "vo=gpu gpu-context=drm hwdec=auto" , but it failed to start : [cplayer] v: Waiting for scripts... [ytdl_hook] v: script-opts/ytdl_hook.conf not found. [ytdl_hook] v: lua-settings/ytdl_hook.conf not found. [stats] v: script-opts/stats.conf not found. [stats] v: lua-settings/stats.conf not found. [cplayer] v: Done loading scripts. event: start-file [cplayer] info: Playing: http://www.justfortest.com/videoclip.mp4 [cplayer] v: Running hook: ytdl_hook/on_load [ytdl_hook] v: ytdl:// hook [ytdl_hook] v: not a ytdl:// url [stream_callback] v: Opening http://www.justfortest.com/videoclip.mp4 [demux] v: Trying demuxers for level=normal. [lavf] v: Found 'mov,mp4,m4a,3gp,3g2,mj2' at score=100 size=2048. [ffmpeg/demuxer] v: mov,mp4,m4a,3gp,3g2,mj2: Protocol name not provided, cannot determine if input is local or a network protocol, buffers and access patterns cannot be configured optimally without knowing the protocol [demux] v: Detected file format: mov,mp4,m4a,3gp,3g2,mj2 (libavformat) [cplayer] v: Opening done: http://www.justfortest.com/videoclip.mp4 event: tracks-changed event: tracks-changed [cplayer] v: Running hook: ytdl_hook/on_preloaded [lavf] v: select track 0 [lavf] v: select track 1 [cplayer] info: (+) Video --vid=1 (*) (h264 800x480 25.000fps) [cplayer] info: (+) Audio --aid=1 (*) (aac 2ch 44100Hz) event: metadata-update [vo/gpu/opengl] v: Initializing GPU context 'drm' [vo/gpu] error: VT_GETMODE failed: Inappropriate ioctl for device [vo/gpu/opengl] warn: Failed to set up VT switcher. Terminal switching will be unavailable. [vo/gpu/opengl] v: Initializing KMS [vo/gpu/opengl/kms] v: Connector 32 currently connected to encoder 31 [vo/gpu/opengl/kms] v: Selected Encoder 31 with CRTC 40 [vo/gpu/opengl] v: DRM Atomic support found [vo/gpu/opengl/kms] v: Using default plane 34 for OSD [vo/gpu/opengl/kms] v: Using default plane 37 for video [vo/gpu] v: GBM_FORMAT_ARGB8888 supported by OSD plane. [vo/gpu] v: Creating GBM device [vo/gpu] v: Initializing GBM surface (1920 x 1080) [vo/gpu/opengl] v: Initializing EGL [vo/gpu/opengl] v: EGL_VERSION=1.4 [vo/gpu/opengl] v: EGL_VENDOR=Mesa Project [vo/gpu/opengl] v: EGL_CLIENT_APIS=OpenGL OpenGL_ES [vo/gpu/opengl] v: Trying to create Desktop OpenGL context. [vo/gpu/opengl] v: Attempting to find EGLConfig matching GBM_FORMAT_ARGB8888 [vo/gpu/opengl] v: Found matching EGLConfig for GBM_FORMAT_ARGB8888 [vo/gpu/opengl] v: Initializing EGL surface [vo/gpu] v: GL_VERSION='2.1 Mesa 19.2.1' [vo/gpu] v: Detected desktop OpenGL 2.1. [vo/gpu] v: GL_VENDOR='lima' [vo/gpu] v: GL_RENDERER='Mali450' [vo/gpu] v: GL_SHADING_LANGUAGE_VERSION='1.20' [vo/gpu] v: Loaded extension GL_ARB_map_buffer_range. [vo/gpu] v: Loaded extension GL_ARB_vertex_array_object. [vo/gpu] v: Loaded extension GL_ARB_sync. [vo/gpu] v: Loaded extension GL_ARB_get_program_binary. [vo/gpu] v: Loaded extension GL_ARB_debug_output. [vo/gpu/opengl] v: Preparing framebuffer [vo/gpu] error: Failed to commit ModeSetting atomic request (-13) [vo/gpu/opengl] error: Failed to set CRTC for connector 32: Permission denied [vo/gpu] error: Failed initializing any suitable GPU context! [cplayer] fatal: Error opening/initializing the selected video_out (--vo) device. event: track-switched event: audio-reconfig [lavf] v: deselect track 0 [cplayer] info: Video: no video [ad] v: Codec list: [ad] v: aac - AAC (Advanced Audio Coding) [ad] v: aac_fixed (aac) - AAC (Advanced Audio Coding) [ad] v: Opening decoder aac [ad] v: Requesting 1 threads for decoding. [ad] v: Selected codec: aac (AAC (Advanced Audio Coding)) [af] v: User filter list: [af] v: (empty) event: audio-reconfig event: file-loaded [cplayer] v: Starting playback... [cplayer] v: EOF code: 6 event: audio-reconfig [ad] v: Uninit decoder. event: tracks-changed event: end-file event: idle =============================================================================================================== Do you have any idea on it ? Regards ! Guofu Han
  19. I saw there is some firmware at https://github.com/LibreELEC/meson-firmware/tree/master/meson . Just wonder if any of you has apply it to s905x tv box ? Does it utilize HW video decoder to play video ? Regards ! Guofu Han
  20. Thanks for the tips. Did you mean I should run the script https://packagecloud.io/install/repositories/zhangn1985/mesa/script.deb.sh on Armbian_20.02.0-rc1.037_Aml-s9xxx_buster_current_5.5.0-rc6_desktop_20200205.img ? Could you please shed some light on how to apply the ( which ? ) vdec patches ? Regards !
  21. @ning : Glad to hear that . Could you please tell me how to apply the codec to current mainline armbian OS ? I installed the latest armbian ( Armbian_20.02.0 with eoan desktop ) at my s905x tv box and I would like to try it . Thankyou !
  22. For reason I can't explain here , I had to run a video player at Non-X window OS ( Armbian_5.96_Aml-g12_Ubuntu_bionic_default_5.3.0_server ) at a S905X tv-box. I tried to play a mp4 video ( H.264 + AAC ) at the video player ( mpv ) with drm driver. The quality is just so so. Is there any other driver recommended ? Did Amlogic provide a linux video driver which can hard-decode h.264 ? Regards !
  23. How to enter armbian ? I installed Armbian_5.94_Aml-g12_Ubuntu_bionic_default_5.2.1_20190821 at a corrupted android stb ( s905x , 2g ddr3 , 8g emmc ). The original android system was damaged somehow and it halted during the launch process. But fortunately , its bootloader is good. So I stopped the uboot process when it is going to launch the kernel and installed armbian 5.94 with the autoscr cmd. The armbian system runs smoothly at the u-disc except for the following error messages at its first run : -------------------------------------------------------------------------------------- Enable G12 sound. AMLG12 amixer: Unable to find simple control 'FRDDR_A SRC 1 EN Switch',0 amixer: Unable to find simple control 'FRDDR_A SINK 1 SEL',0 amixer: Unable to find simple control 'FRDDR_B SRC 1 EN Switch',0 amixer: Unable to find simple control 'FRDDR_B SINK 1 SEL',0 amixer: Unable to find simple control 'FRDDR_C SRC 1 EN Switch',0 amixer: Unable to find simple control 'FRDDR_C SINK 1 SEL',0 amixer: Unable to find simple control 'TOHDMITX I2S SRC',0 amixer: Unable to find simple control 'TOHDMITX Switch',0 ------------------------------------------------------------------------------------- But I went on with the installation of armbian to the emmc of the stb and the installation went on smoothly . But it seems I did not clean up the android bootargs properly and the system runs into the recovery ( ? ) section of the original android system ( ? ) . I would like to get rid of the android system completely and play with armbian 5.94 . Could you please shed some light on it ? Enclosed please find the boot log : printenv.txt
  24. What is wrong with my compiled kernel ? I played with the official img : Armbian_5.77_Aml-s905_Ubuntu_bionic_default_5.0.2_20190401.img.xz on my usb stick and everything is good. However , a fter I replaced the original zImage with the one I compiled , there are a lot of failed to start services . The compiled kernel is built in the followin g way : git clone https://github.com/150balbes/Amlogic_s905-kernel.git git checkout 20190319 copy the official kernel config : config-5.0.2-aml-s905 to Amlogic_s905-kernel/.config export ARCH=arm64 export CROSS_COMPILE=/home/hanguofu/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu- and I built the kernel with a make flag : LOCALVERSION="-aml-s905" The compiled kernel has the same size as the zImage at the Armbian_5.77_Aml-s905_Ubuntu_bionic_default_5.0.2_20190401.img.xz However , the compiled kernel is not as good as the oringinal one . The startup process ( running at the USB stick ) shows a lot of failed services but it finally reached the login prompt. Is there sth. wrong with my built process ?
  25. Where is /boot/uInitrd ? I tried to build a specific version 5.77 myself . So I checked out https://github.com/150balbes/Build-Armbian and reset the header ( commit ) to f4dfe5f4bcfd261b10954504bc1be0f7537ddb69 ( the one dated 20190323 ) However , the generated img. does not has the uInitrd : ( excerpt from build log ) sent 350.16M bytes received 262.89K bytes 77.87M bytes/sec total size is 355.44M speedup is 1.01 [ .... ] Copying files to /boot directory symlink has no referent: "/home/hanguofu/build_armbian_577/Build-Armbian/.tmp/rootfs-default-aml-s905-bionic-no/boot/uInitrd" 54.52M 100% 302.10MB/s 0:00:00 (xfr#78, to-chk=0/82) The file list at /boot : Mode LastWriteTime Length Name ---- ------------- ------ ---- d----- 2019/6/6 14:34 .Thumbnail d----- 2019/6/6 14:34 Android d----- 2019/6/6 14:34 dtb d----- 2019/6/6 14:34 dtb-5.0.2-aml-s905 d----- 2019/6/6 14:34 extlinux d----- 2019/6/6 13:10 LOST.DIR -a---- 2019/6/1 16:00 829 aml_autoscript -a---- 2019/6/1 16:00 757 aml_autoscript.cmd -a---- 2019/6/1 16:00 651 aml_autoscript.zip -a---- 2019/6/1 16:00 1536 armbian_first_run.txt.template -a---- 2019/6/1 16:00 4882 boot-desktop.png -a---- 2019/6/1 16:00 38518 boot.bmp -a---- 2019/6/1 15:56 160374 config-5.0.2-aml-s905 -a---- 2019/6/1 16:00 521 emmc_autoscript -a---- 2019/6/1 16:00 449 emmc_autoscript.cmd -a---- 2019/6/1 16:01 7658731 initrd.img-5.0.2-aml-s905 -a---- 2019/6/1 16:00 901632 s905x-uboot.img -a---- 2019/6/1 16:00 1765 s905_autoscript -a---- 2019/6/1 16:00 1693 s905_autoscript.cmd -a---- 2019/6/1 15:56 4029826 System.map-5.0.2-aml-s905 -a---- 2019/6/1 16:00 215 uEnv.ini -a---- 2019/6/1 15:56 20090888 vmlinuz-5.0.2-aml-s905 -a---- 2019/6/1 15:56 20090888 zImage Is there sth. I missed ? Should I delete anything and rebuild the img. again ? Regards ! Guofu Han
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines