hanguofu

Members
  • Content Count

    14
  • Joined

  • Last visited

 Content Type 

Forums

Member Map

Store

Crowdfunding

Raffles

Applications

Everything posted by hanguofu

  1. 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 ?
  2. 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
  3. Thanks for the tip. The point is : I would like to make change to the U-boot ( /home/hanguofu/Build-Armbian/cache/sources/u-boot-aml-s9xxx) instead of kernel ( /home/hanguofu/Build-Armbian/cache/sources/LINUX_DEFAULT/20180925 ). How to tell the tool to patch U-boot instead of the kernel please ? I didnot find out such an option or compile switch.
  4. I run Armbian tool ( checked out from https://github.com/150balbes/Build-Armbian )with command ./compile.sh CREATE_PATCHES="yes" , but only see the request for patch the kernel : [ warn ] Make your changes in this directory: [ /home/hanguofu/Build-Armbian/cache/sources/LINUX_DEFAULT/20180925 ] [ warn ] Press <Enter> after you are done [ waiting ] I would like to patch the U-boot ( u-boot-aml-s9xxx ) instead of kernel . Should I manually add the patch to the userpatches/u-boot directory for my aml-s9xxx board ?
  5. I installed Armbian_5.60_Aml-s9xxx_Ubuntu_xenial_default_4.18.7 to the EMMC of my s905x TV Box , so far so good . Yesterday I trimmed some drivers and built the kernel successfully . The following packages are generated with armbian build tool : linux-dtb-aml-s9xxx_5.60_arm64.deb linux-headers-aml-s9xxx_5.60_arm64.deb linux-libc-dev-aml-s9xxx_5.60_arm64.deb linux-image-aml-s9xxx_5.60_arm64.deb linux-source-default-aml-s9xxx_5.60_all.deb I am going to ssh into my box and run "dpkg -i " commands to update kernel . Is it safe to do so while Armbian is running ?
  6. I put the img. Armbian_5.59_Aml-s9xxx_Ubuntu_xenial_default_4.18.0_20180823.img into a usb disc. and boot it successfully with my TV box. I havenot flashed the emmc yet . Another word , I played with Armbian installed at the U-disc. However , when I tried to upload/download files to/from the box with tool "Xftp 5" ( from NetSarang ) , the tool failed to connected to the box. The box and my pc are in the same local network ( 192.168.0.xxx ) Of course , the ssh service is good and I can log into the box with tool "Xshell 5". Is the ftp service not avail. at the img. ?
  7. I am trying to build 150balbes/Build-Armbian at my Ubuntu18 PC . However , the download process of toolchains are very slow. I had already spent most of the day in it. Unfortunatly , some of the toolchains was downloaded with warnings : [ warn ] Verification failed Could you please tell me the list of all needed toolchains and its source ? I will try to downlaod them in another way. Thanks ! Guofu Han
  8. Since there is a well-known security issue at s905(x) SOCs : https://fredericb.info/2016/10/amlogic-s905-soc-bypassing-not-so.html Is it possible to disable serial console at s905 u-boot ? Does the setting at device tree apply to kernel only or both kernel and u-boot drivers ? Regards ! Guofu Han
  9. I am referring to s905(x) series SOCs. Is it possible to create a cryptpasswd at encrypted OTP and use it to unlock root file system on boot ? If not , is it possible to use a security chipset such as ATSHA204 / DX81C04 / ZW30I8 / SMEC98SP to feed s905(x) the key ? Regards ! GuoFu Han
  10. Yes . You are right . I did not notice s905x is a 64-bit SOC. Cheer ~~~
  11. arch ( ARM or ARM64 ) problem : Hi , All : I installed Armbian_5.41.1_S9xxx_Ubuntu_xenial_3.14.29_mate_20180421.img at the SD card for my s905x TV box and it seems O.K. Now I tried to cross compile an application at my Ubuntu PC for this lovely device. The first problem I encountered is the choice of arch. I worked out a 32-bit arm application ( target arch : ARM) with the cross compile tool . The generated binary is : hello-world : ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 3.2.0, not stripped Unfortunately , I did not find the needed interpreter at the tv box . The only interpreter I found at the img at the SD card is : /lib/ld-linux-aarch64.so.1 -> aarch64-linux-gnu/ld-2.23.so Does it mean that the img is for ARM64 arch ? Is there a ld-linux-armhf interpreter at the image ?
  12. Yes . You got it . I only have a traditional tv set with cvbs ( composite or AV ) input and a computer monitor with VGA input.
  13. Sorry for my question if it had been asked : is there any Ubuntu img available for MXQ PRO+ 4K ( s905x , 2G/16G ) with cvbs compatibility ? I donot have a hdmi monitor and I would like to try Ubuntu on my tv box. I tried multi-boot with Armbian_5.44_S9xxx_Ubuntu_xenial_3.14.29_server_20180515.img at my sd card , but there is no av ( cvbs ) output at all. I am not sure if the dtb.img is suitable for my tv box ( I tried several dtb files ) or the armbian Ubuntu img does not support cvsb output at all ?
  14. I think webrtc is a very interesting feature for such devices. Unfortunately , I only saw a drive ( UV4L : https://www.raspberrypi.org/forums/viewtopic.php?f=43&t=105019) for Raspberry Pi2/Pi3 in linux. Does somebody here have any idea to cross-compile native webrtc source code for such a device ? Regards ! GuoFu Han