Jump to content

Recommended Posts

Posted
48 minutes ago, ramawatar said:

I use usb burning tool but my box not recognise

many boxes get recognized only when you plug usb cable to specific usb port and some only as soon as you press reset button (it is often hidden in AV-output or just looks like a hole in the case). it is very hard (or almost impossible) to kill s905/s912 so just keep trying

Posted
45 minutes ago, ramawatar said:

I recover my box with emmc pin short method

that is the hardest of them all - normally you don't need this, but congratulations anyway ;)

Posted
On 8/22/2018 at 5:16 PM, MOHAMMAD HADI said:

Do you plan on adding libmali to the build?

some nice instructions provided by Neil here :

It will be possible in the next versions, but so far it is not the main task for me.

 

On 8/26/2018 at 11:17 AM, Kenrry Tam said:

Hi, Please add TCP BBR module into kernel it can increase the network speed much.

 

 

On 8/27/2018 at 9:40 PM, alopezinkt said:

great work with your images. I´m trying to use them with serial device which requires CONFIG_USB_ACM configured in the kernel. It was setup on 3.1X versions of your images but it´s not on this ones.  Could you enable it please?

 

Added in next version.

 

On 8/28/2018 at 12:31 PM, MOHAMMAD HADI said:

We should make a repository for our custom packages and add them to apt lists, it doesn't make sense to reflash the image or manually downloading and installing deb packages every time the kernel gets updated, I think we can use SourceForge to host the packages for free.

Who's going to do this ? Everyone is waiting for a good uncle to come and make them all their desires.

Posted

New firmware installed succeed.

modprobe dhd
modprobe: FATAL: Module dhd not found in directory /lib/modules/4.18.0-aml-s9xxx

Will next version support wifi and/or bluetooth module ?

Posted
On 8/29/2018 at 4:48 PM, balbes150 said:

Who's going to do this ? Everyone is waiting for a good uncle to come and make them all their desires.

1

It's actually not that hard, there is already a tool to simplify things called reprepro, I can do this myself but you're the one providing the images, so you know when to update the packages.

An easy tutorial to follow: https://www.tecmint.com/create-deb-pacakge-repository-in-ubuntu/

Besides, there are only four custom packages in your images

linux-bionic-root-aml-s9xxx
linux-dtb-aml-s9xxx
linux-image-aml-s9xxx
linux-u-boot-aml-s9xxx-default

all other packages are from Armbian and ubuntu repositories so the repository will be very small and easy to maintain.

The commands used to sign and upload packages can probably be scripted in Armbian build system so once you build the image the four custom packages will automatically be uploaded to the SourceForge repo.

 

Regards

Posted
On 8/30/2018 at 12:38 AM, balbes150 said:

New version 20180829.

A fixed package with firmware for legacy images. It must be installed with the command

https://yadi.sk/d/tNM7NdyB3afohU

sudo dpkg -I

If there are errors when installing this package, you must remove the packages that prevent it from being installed.

Hi,Check this out:

https://www.tecmint.com/increase-linux-server-internet-speed-with-tcp-bbr/

 

TCP BBR Requirements:

You should have Linux kernel version 4.9 or above installed, compiled with these options (either as a module or inbuilt into it):

CONFIG_TCP_CONG_BBR

CONFIG_NET_SCH_FQ

CONFIG_NET_SCH_FQ_CODEL

 

Your latest version only adds the first option, please add the remaining options in the next version, thank you!

 

 

Posted
On 8/29/2018 at 6:38 PM, balbes150 said:

New version 20180829.

A fixed package with firmware for legacy images. It must be installed with the command

https://yadi.sk/d/tNM7NdyB3afohU

sudo dpkg -I

If there are errors when installing this package, you must remove the packages that prevent it from being installed.

 

Is it possible to include the dtb for mecool K1 pro (gxl_p230_k1_pro.dtb) ? It was with the previous versions but I can't boot my device with the default one meson-gxl-s905d-p230.dtb ?

Posted

Hi everyone,

First of all thanks for the awesome builds. Had success with the S805 and S905 images with framebuffer display. Now trying the hardware accelerated builds.

So far..

Armbian_5.59_Aml-s9xxx_Ubuntu_bionic_default_4.18.0_desktop_20180829.img

Hardware: Mini MX

dtb.img from meson-gxbb-p200.dtb did not finish booting (LABEL=ROOTFS does not exist)error -110 whilst initialising SD card . In previous images gxbb-p200.dtb used to work

Boot screen was very garbled. I can provide images if anyone is interested.

Got to desktop using meson-gxbb-nexbox-a95x.dtb, although screen was garbled

 

Keep up the great work! Really appreciate it

 

UPDATE: got rid of the garbled screen :-) added video=1280x720 to the end of uEnv.ini, then boot messages became readable.

lightdm login screen still garbled. Still able to log into desktop, then did xrandr -s 1280x720 everything cleared up. Sweet!

 

Now to see why wifi & ethernet is not working...

 

UPDATE: able to boot to desktop with meson-gxbb-p200.dtb - only with usb & side usb port. Boot process takes a bit longer though. Wifi & ethernet still not working.

 

TX3 Mini (meson-gxl-s905w-tx3-mini.dtb, using sdcard or usb) boots to desktop (although slow to get login screen).

eth0 working, wifi not (kern.log message: Direct firmware load for brcm/brcmfmac4330-sdio.clm_blob failed with error -2).

Cannot switch vt out from X

 

Posted
On 8/29/2018 at 7:57 PM, hao said:

Will next version support wifi and/or bluetooth module ?

There are no such modules in this kernel.

 

On 9/4/2018 at 4:44 PM, pedrito said:

Is it possible to include the dtb for mecool K1 pro (gxl_p230_k1_pro.dtb) ? It was with the previous versions but I can't boot my device with the default one meson-gxl-s905d-p230.dtb ?

4.18, the kernel uses a different DTB format, you need to create a new (or convert older) dts file. If you do not know how to do it, you need to contact the manufacturer (seller) of the equipment.

 

 

 

Image update to version 20180908. In this update, u-boot is no longer written to the image. These images are generic and are used on different platforms, so it makes no sense to write u-boot from just one platform.

Posted

Image version 20180908

Mini MX - boots to desktop, no ethernet no wifi

TX3 mini - boots to desktop, ethernet ok, no wifi

 

Loving it, keep em coming

Posted

Today i've tried to build an image for Vim1, i've made Ubuntu xenial, 4.17 with lxde using fenix scripts available from Khadas.

 

I also tried to run Armbian script, but it looks like Vim isn't officially supported on Armbian, there are other s905/x devices, and there are also various meson64 files created, but there is no sign from Vim.

 

So, i probably need to clone your repo to be able to use this script, but it's funny that Vim has no support, it's not a tv box, it's a sbc?

 

Balbes150 can you tell me what are the steps needed to make Armbian Vim images, is it possible by editing some config file, or is it only possible by cloning your repo?

 

I forgot to mention that i've tried to build yocto image, but it showed me some errors during the build process, i followed instructions, but unfortunately it didn't complete succesfully.

 

Posted
4 hours ago, Tommy21 said:

I also tried to run Armbian script, but it looks like Vim isn't officially supported on Armbian, there are other s905/x devices, and there are also various meson64 files created, but there is no sign from Vim.

The official version of GIT (build) does not support TV boxes. This support is a fork.

 

4 hours ago, Tommy21 said:

can you tell me what are the steps needed to make Armbian Vim images, is it possible by editing some config file, or is it only possible by cloning your repo?

All steps to create images for TV boxes are the same as for the official versions. There is a lot of documentation with a detailed description.

 

 

Posted

For 4.x kernel and Wifi, I just use a range extender for my purpose. I use TP-Link RE350 for use with my X96 Mini. You can also use Power line or other means if there are no easy access to LAN port.

Posted

Image update 20180920.

Packages from online repositories have been updated to the current versions. There are no important changes in the images. You can get them through the regular "apt update" procedure.

Posted

New images 5.60 (20180921).

The kernel is not changed, all the changes equal a formal change in the transition Armbian 5.59->5.60.

Posted

I don't know much about video playback. I tried on the latest version of the Armbian 5.60 image (20180922) to perform a simple check. Installed ffmpeg (apt install ffmpeg). When run the vim1 (S905X) command.

 

ffmpeg -vcodec h264_v4l2m2m -i Test.mp4  test.avi

 

Everything is worked out without mistakes. Ie, I assume ffmpeg uses hardware decoder ? Question to specialists. How can force MPV to use a hardware decoder when playing ?

Posted

As far as i can see, Odroid c2 forum is maybe the right place for you, it isn't the same device, but from what i have seen, they are making great progress regarding to vpu hw acceleration.

Posted

Try

 

mpv --vd=h264_v4l2m2m -v --hwdec=vaapi Desktop/Test.mp4

 

mpv  --vd=h264_v4l2m2m -v Desktop/Test.mp4

 

ffplay -vcodec h264_v4l2m2m Desktop/Test.mp4

 

mpv --no-config --hwdec=auto Desktop/Test.mp4

 

Also versions

 

 mpv --version

ffmpeg

 

0.29 mpv should be better for this

 

 

Posted

Is it now possible to use hw accelerated Kodi with kernel 4.18, using this video driver?

If this is possible, does anyone know how?

Posted
17 hours ago, Tommy21 said:

Is it now possible to use hw accelerated Kodi with kernel 4.18, using this video driver?

If this is possible, does anyone know how?

If you build this version yourself, then HW will.

 

 

Posted
On 9/23/2018 at 12:30 AM, balbes150 said:

New images 5.60 (20180922).

Update kernel to 4.18.7.

Add new kernel deb packages.

My S905 boxes boots to desktop but still no ethernet or wifi.

S905w s905x ok

On to the next.

Posted

Good news. I tried installing the latest version of Armbian on VIM with the new u-boot-2018 in eMMC. Everything works. If write a last option Armbian (20180925) to the USB drive, the system starts from USB stick. That is, now you can have a new u-boot-2018 in eMMC and run any test system from USB media (Armbian Libreelec OpenSYSE etc ). Pay attention. The steps to configure the system to run from external media using u-boot-2018 have changed. Now you do NOT NEED to manually copy the dtb. You need to make changes to the text file “/extlinux/extlinux.conf”  . You must change the string with the name of the dtb you are using. The list of available files (name) can be seen in the "/dtb" directory. By default, the settings specify dtb for VIM1 (S905X). To use the new images with VIM2 (S912), you must correct the file name dtb for VIM2.

To install in the eMMC the latest version Armbian changed steps. Now you need to run only one installation script. To install with the old version of u-boot-2015, you need to run the script “/root/install.sh”. To install in the eMMC with uboot-2018, you need to first rename one of the existing files on the media "Sxxx-uboot.img" to “uboot.img” (select the option for your model). After renaming the file “uboot.img”, to install Armbian in eMMC, you need to run the script “/root/install-2018.sh”.

 

 

Pay attention. All tests of the new u-boot-2018 are performed on Khadas VIM and VIM2. I don't know how it will work on other models. Therefore installation in eMMC with replacement of regular u-boot on u-boot-2018, you do your own risk. I take no responsibility for your choices.

Posted
On 9/23/2018 at 5:34 PM, balbes150 said:

I don't know much about video playback. I tried on the latest version of the Armbian 5.60 image (20180922) to perform a simple check. Installed ffmpeg (apt install ffmpeg). When run the vim1 (S905X) command.

 

ffmpeg -vcodec h264_v4l2m2m -i Test.mp4  test.avi

 

Everything is worked out without mistakes. Ie, I assume ffmpeg uses hardware decoder ? Question to specialists. How can force MPV to use a hardware decoder when playing ?

looks like now it can't work via drm so no hw decoding under x11(i could not make it work)...  translate frames to kms looks work fine, but it not that thing what people want from "hw decoding". 

Posted

First of all, thanks @balbes150 .

I'm running your modified armbian(Armbian_5.60_Aml-s9xxx_Ubuntu_bionic_default_4.18.7_20180922.img) on my S905D box with dtb file meson-gxl-s905d-p230.dtb.

Everything works perfect, but I found there's 2 process kworker/0:1+events_power_efficient and irq/40-0.200808 keep occupy 14% of 1 cpu core, and result load average stay at 2.00 after system boot.

 

May I know if you have any trouble shooting guildline for this issue? I google these 2 processes, but didn't find any useful info. Thanks in advance.

 

Attached is the interrupts info, please kindly let me know if need more info. Thanks.

root@N1:/proc# cat interrupts
           CPU0       CPU1       CPU2       CPU3
  1:          0          0          0          0     GICv2  25 Level     vgic
  3:    8482421      75815      14769      21210     GICv2  30 Level     arch_timer
  4:          0          0          0          0     GICv2  27 Level     kvm guest timer
  6:          0          0          0          0     GICv2 169 Level     arm-pmu
  7:          0          0          0          0     GICv2 170 Level     arm-pmu
  8:          0          0          0          0     GICv2 185 Level     arm-pmu
  9:          0          0          0          0     GICv2 186 Level     arm-pmu
 10:          5          0          0          0     GICv2 105 Edge      c1108680.adc
 11:          0          0          0          0     GICv2 231 Edge      c8100100.cec
 12:          9          0          0          0     GICv2 225 Edge      ttyAML0
 13:          0          0          0          0     GICv2 228 Edge      c8100580.ir
 14:          0          0          0          0     GICv2  76 Edge      vdec
 15:          0          0          0          0     GICv2  64 Edge      esparserirq
 17:         11          0          0          0     GICv2 241 Edge      platform_mhu_link
 18:        235          0          0          0     GICv2 242 Edge      platform_mhu_link
 19:          0          0          0       5838     GICv2  40 Edge      eth0
 20:     218636      61257          0          0     GICv2 248 Edge      d0070000.mmc
 21:          0          0          0          0     GICv2 249 Edge      d0072000.mmc
 22:       4403       2151          0          0     GICv2 250 Edge      d0074000.mmc
 34:      49326          0          0          0     GICv2  35 Edge      meson
 35:          0          0          0          0     GICv2  89 Edge      dw_hdmi_top_irq, c883a000.hdmi-tx
 36:          0          0          0          0     GICv2  62 Level     xhci-hcd:usb1
 40:     235776          0          0          0  meson-gpio-irqchip  29 Level     0.2009087f:00
IPI0:      5809      65965      76143     107392       Rescheduling interrupts
IPI1:       679        937       1083        868       Function call interrupts
IPI2:         0          0          0          0       CPU stop interrupts
IPI3:         0          0          0          0       CPU stop (for crash dump) interrupts
IPI4:         0          0          0          0       Timer broadcast interrupts
IPI5:      4732        170         56         70       IRQ work interrupts
IPI6:         0          0          0          0       CPU wake-up interrupts

 

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines