Jump to content

Recommended Posts

Posted
  On 1/15/2019 at 5:54 PM, klamath123 said:

tried but fails see

Expand  

 

You have not added the desired file to the media or incorrectly specified it in the settings.

 

reading /dtb/mxiii.dtb

** Unable to read "/dtb/mxiii.dtb" from mmc 0:1 **

Posted
  On 1/16/2019 at 7:03 AM, balbes150 said:

 

You have not added the desired file to the media or incorrectly specified it in the settings.

 

reading /dtb/mxiii.dtb

** Unable to read "/dtb/mxiii.dtb" from mmc 0:1 **

Expand  

Thanks for prompt reply.. will try again.. also another quick question if i may.. I'm trying to copy system to nand my box has /dev/data /dev/boot /dev/system /dev/recovery /dev/cache

 

I managed to copy / to /dev/data and modified uenv.ini to use /dev/data as /, is there a way to make it boot entirely from nand? coudl you give me some quick pointers.

 

Thanks !

Posted

You need to build your version of s805_script (the name can be any), specify where to load the kernel, initrd and DTB. Write it in NAND. To edit variables of u-boot, add after the check run the script with USB and SD, run your new script. Then when you run u-boot, it will run a new script from NAND, and the script will already run the system from NAND with the specified parameters.

Posted

I can run, on my MXIII Plus box (S812), the Armbian_5.44_S812_Ubuntu_bionic_3.10.108_server_20180521 image, using MXIIIPlus dtb file.
It runs fine: eth0 network, HDMI video etc.

 

But, when I upgrade (sudo apt upgrade) and system reboots, device doesn't work. Screen flickers, I wait for hours, but no boot.

Tried to run any newer image (from 5.64 on), Ubuntu and Debian, but no boot too.
Tried using other dtb files, always fail.

 

Help please!

Posted

i all

 

  On 1/27/2019 at 4:05 PM, gtiberio said:

I can run, on my MXIII Plus box (S812), the Armbian_5.44_S812_Ubuntu_bionic_3.10.108_server_20180521 image, using MXIIIPlus dtb file.
It runs fine: eth0 network, HDMI video etc.

 

But, when I upgrade (sudo apt upgrade) and system reboots, device doesn't work. Screen flickers, I wait for hours, but no boot.

Tried to run any newer image (from 5.64 on), Ubuntu and Debian, but no boot too.
Tried using other dtb files, always fail.

 

Help please!

Expand  

you can update only single paket with " apt-get [Option(s)] install PAKET1 [PAKET2] " maybe you find the one that doesnt work ( my banana pi had some problems with the cups update sometime)

 

@balbes150

After over 1 1/2 year with your s812 Armbian 5.27 ubuntu 16.0 Rom i´m still happy that it works perfect

but i have two questions

1. is the motd login message static ? Because i got today armbian 5.6 Firmware update and my login say 5.27?

2. also i look at your yandisk folder and see 5.67 with ubuntu bionix ; is it worth to change ? is the default the server image? can i use the old dtb to boot or do i need a new one ? can i use the broadcom chip AP6330  (like the in the 5.27 image where i  change the blacklist.conf)

 

 

 

@balbes150

Posted
  On 1/27/2019 at 4:05 PM, gtiberio said:

But, when I upgrade (sudo apt upgrade) and system reboots, device doesn't work. Screen flickers, I wait for hours, but no boot.

Tried to run any newer image (from 5.64 on), Ubuntu and Debian, but no boot too.
Tried using other dtb files, always fail. 

Expand  

Are you setting up the DTB correctly in the new versions ?

 

  On 1/27/2019 at 7:15 PM, RaptorSDS said:

1. is the motd login message static ? Because i got today armbian 5.6 Firmware update and my login say 5.27?

Expand  

I didn't understand the question. Write more about the problem.

 

  On 1/27/2019 at 7:15 PM, RaptorSDS said:

2. also i look at your yandisk folder and see 5.67 with ubuntu bionix ; is it worth to change ? is the default the server image? can i use the old dtb to boot or do i need a new one ? can i use the broadcom chip AP6330  (like the in the 5.27 image where i  change the blacklist.conf) 

Expand  

In new versions, the kernel has been updated and you need to check whether it will work on your hardware or not. Run from external media and see how it will work.

Posted
  On 1/28/2019 at 8:01 AM, balbes150 said:

I didn't understand the question. Write more about the problem.

Expand  

i have the box as headless server with shh login. After Login i get the  Armbian S812  MOTD Screen with IP ; Stay-Alive Time and CPU Usage

at this MOTD Screen the text say Armbian 5.27 Ubuntu 16.0 LTS ... ; Yesterday my box get the armbian-5.6-Firmware-full update from apt-get update  command  , and i ask is the MOTD message static or is the firmware-full update not the Armbian 5.6 version update ? (should the MOTD screen print text Armbian 5.6 Ubuntu 16.0 LTS  ?)

Posted
  On 1/28/2019 at 5:10 PM, RaptorSDS said:

i have the box as headless server with shh login. After Login i get the  Armbian S812  MOTD Screen with IP ; Stay-Alive Time and CPU Usage

at this MOTD Screen the text say Armbian 5.27 Ubuntu 16.0 LTS ... ; Yesterday my box get the armbian-5.6-Firmware-full update from apt-get update  command  , and i ask is the MOTD message static or is the firmware-full update not the Armbian 5.6 version update ? (should the MOTD screen print text Armbian 5.6 Ubuntu 16.0 LTS  ?)

Expand  

Judging by the message, it is information on emergence of new packages. This is not an update Armbian.

You can get more information about the packages that will be updated if you run the "apt" command with the necessary options.

Posted

New Ubuntu Server image 5.73 for S812 with kernel 5.0-rc4.

 

HDMI does not work. Control via UART or SSH. I checked on Tronsmart MXIII Plus running from SD card and USB flash drive. Installation in eMMC was not checked.

Posted

@balbes150 WiFi does not seem to be working in this version, i cannot load the dhd module for WiFi and Ethernet does not seem to work either .

My board is MX III with gigabit Ethernet (S812)  , WiFi chip is ap6330 . Boot logs did not suggest anything was going wrong.

The old 3.10.108 kernel had everything working except the GPIO interface... which i needed for my project .The GPIO interface works on the newer next kernel but everything else doesn't :lol:.

Posted

Has there been a massive change to the Armbian build script for s812 ? , i can no longer get WiFi or Ethernet in any kernel version . I noticed i no longer see amlogic drivers in the make config.

Posted
  On 2/19/2019 at 1:15 AM, Xelor said:

Has there been a massive change to the Armbian build script for s812 ? , i can no longer get WiFi or Ethernet in any kernel version . I noticed i no longer see amlogic drivers in the make config.

Expand  

For WiFi on kernel 3.x, install the FIRMWARE package deb from the 5.73 directory (to site). The build environment now uses packages for the main kernel (they are not suitable for the old kernel).

Posted

Hi,

First of all many thanks for this work @balbes150!! I've give this OS a try on my minix x8h-plus (S812) this weekend and worked out of the box and is great!

 

To give this box a 2nd life I was trying to install docker on it  using the Armbian 5.73 image, but so far I've been unable to do it.

I've tried a couple of methods I've found on internet with no success, docker is unable to start.

 

Running the command "journalctl" the issue I've found with docker is related with cgroup, please see below.

I've found some possible causes and solutions on google that I've tried to implement but without success.

I've also saw some comments saying that this is only solved by changing kernel.

 

Can anyone share is experience with Docker on this OS/Kernel/HW? Are you able to run it? if is possible to run on it, this means that the issue is the usual one = me :), and I will keep looking and trying.

 

As a side note I've also tried Armbian with Kernel 4.20 and 5.0 available on repository (using meson8m2-mxiii-plus.dtb) but Minix did not boot, got stuck on minix logo screen.

-- Unit docker.service has begun starting up.
Feb 18 13:45:27 aml dockerd[5681]: time="2019-02-18T13:45:27.333966089Z" level=info msg="libcontainerd: new containerd process, pid: 5687"
Feb 18 13:45:28 aml dockerd[5681]: time="2019-02-18T13:45:28.402673425Z" level=info msg="[graphdriver] using prior storage driver: overlay"
Feb 18 13:45:28 aml dockerd[5681]: time="2019-02-18T13:45:28.419603143Z" level=info msg="Graph migration to content-addressability took 0.00 seconds"
Feb 18 13:45:28 aml dockerd[5681]: time="2019-02-18T13:45:28.420095164Z" level=warning msg="Your kernel does not support cgroup memory limit"
Feb 18 13:45:28 aml dockerd[5681]: time="2019-02-18T13:45:28.420187168Z" level=warning msg="Your kernel does not support cgroup cfs period"
Feb 18 13:45:28 aml dockerd[5681]: time="2019-02-18T13:45:28.420237170Z" level=warning msg="Your kernel does not support cgroup cfs quotas"
Feb 18 13:45:28 aml dockerd[5681]: time="2019-02-18T13:45:28.420292173Z" level=warning msg="Unable to find blkio cgroup in mounts"
Feb 18 13:45:28 aml dockerd[5681]: time="2019-02-18T13:45:28.420322174Z" level=warning msg="Unable to find cpuset cgroup in mounts"
Feb 18 13:45:28 aml dockerd[5681]: time="2019-02-18T13:45:28.420462180Z" level=warning msg="mountpoint for pids not found"
Feb 18 13:45:28 aml dockerd[5681]: Error starting daemon: Devices cgroup isn't mounted
Feb 18 13:45:28 aml systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE
Feb 18 13:45:28 aml systemd[1]: Failed to start Docker Application Container Engine.
-- Subject: Unit docker.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit docker.service has failed.

 

Posted
  On 2/20/2019 at 11:07 AM, lcmg said:

Can anyone share is experience with Docker on this OS/Kernel/HW? Are you able to run it? if is possible to run on it, this means that the issue is the usual one = me :), and I will keep looking and trying.

 

Expand  

 

Hi,

 

I managed to have docker running on a S812 box (Minix X8-H Plus model same as you), you need to recompile the kernel with all the required flags set for docker to work.

I started from Balbes150's latests images with 4.x kernel (but should be good as well using 5.0), downloaded the kernel sources from Kevin Hilman's repo (https://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-amlogic.git), made the .config changes required for docker to work (you can have a look at docker's site, or to the script that validates current kernel flags for docker), build the kernel uImage, headers and modules, installed everything and rebooted. After that the docker service runs fine (even in swarm mode).

 

The only thing I didn't managed to get working was wifi, but since I'm plugged in ethernet i didn't investigate that much to get the ap6335 to work. I'm using the default mxiii dtb from balbes' release, it works fine.

Posted

Hi,

 

  On 2/27/2019 at 2:39 PM, ntux said:

I managed to have docker running on a S812 box (Minix X8-H Plus model same as you), you need to recompile the kernel with all the required flags set for docker to work.

I started from Balbes150's latests images with 4.x kernel (but should be good as well using 5.0), downloaded the kernel sources from Kevin Hilman's repo (https://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-amlogic.git), made the .config changes required for docker to work (you can have a look at docker's site, or to the script that validates current kernel flags for docker), build the kernel uImage, headers and modules, installed everything and rebooted. After that the docker service runs fine (even in swarm mode).

Expand  

 

Many thanks @ntux for your answer and sharing. Exactly the feedback I was looking for!

I will try to build the kernel with the required flags.

 

One additional question, your are running Armbian on SDcard, USB or internal?

 

Kind regards,

Posted
  On 2/28/2019 at 9:01 AM, lcmg said:

Hi,

 

 

Many thanks @ntux for your answer and sharing. Exactly the feedback I was looking for!

I will try to build the kernel with the required flags.

 

One additional question, your are running Armbian on SDcard, USB or internal?

 

Kind regards,

Expand  

 

You're welcome!

 

Regarding storage, I am using a usb hard drive, but plugged into the otg port (with the box provided otg adapter) to save the other ports' bandwidth for other stuff (otg and 'regular' usb ports are on 2 different usb buses, so I assume not shared bandwidth but I haven't tested). The only drawbacks are that the otg port doesn't provide power (I am using a non-bus-powered 3.5" hd sata usb adapter so I'm fine) and does not boot (so I have to put the /boot partition on a sdcard or usb stick on one of the regular usb ports).

 

I haven't played with internal memory, I'm not sure how the mainline kernels support this... Has anyone tried?

 

Thanks & regards,

Posted

Hi,

Many thanks @ntux!

I tried again to boot using Armbian with Kernel 4.x and 5.0 but with no luck, the Minix doesn't boot.  I think I have the Minix X8h+ gen1 version, not sure if is because of the hw version.

 

Anyway I decided to give a try using the kernel 3.10. I've sucessfully build the kernel and manage to solve part of dependecies pointed by the docker depencies script, playing with .config. But I was not able to solve all of them, I didn't found some of dependencies to activate on the .config file. I've tried to add them manually with no luck. Meanwhile I runned out of time... 

Any sugestion are welcome :).

Posted
  On 3/7/2019 at 9:49 AM, lcmg said:

Hi,

Many thanks @ntux!

I tried again to boot using Armbian with Kernel 4.x and 5.0 but with no luck, the Minix doesn't boot.  I think I have the Minix X8h+ gen1 version, not sure if is because of the hw version.

 

Anyway I decided to give a try using the kernel 3.10. I've sucessfully build the kernel and manage to solve part of dependecies pointed by the docker depencies script, playing with .config. But I was not able to solve all of them, I didn't found some of dependencies to activate on the .config file. I've tried to add them manually with no luck. Meanwhile I runned out of time... 

Any sugestion are welcome :).

Expand  

 

Hi,

 

I think I read somewhere (maybe the OpenElec forums but I don't remember exactly) that the 3.10 was just too old/hacked by AmLogic to support docker properly. Also it only exposes 1.6G of ram due to I think memory dedicated to the gpu (that I don't need personally as my box is headless, I prefer have the full 2G of ram for software).

 

I don't know about the gen of my Minix box, I'm not sure if there is a simple way for me to know?

I just reinstalled armbian using the 5.0 kernel, and I had some issues booting directly from the usb drive, what is working for me right now is having the boot partition on the sdcard and the rootfs on the usb drive. Also the otg port did work for me using a 2.5 usb hdd with the double power usb ports (data port on the otg adapter, power port on one of the other usb ports), but it doesn't seem to work using a powered 3.5 usb hdd adapter. I don't know if you somehow need to backfeed current to the otg port for it to work, or if it's an issues with the 5 kernel...

 

Anyway, if I were you and wanted to test step by step, I would:

- Grab a sdcard and try with flashing the latest balbes' image with 5.0.0-rc4 kernel (not on a usb drive, I had less issues booting from sdcards)

- See if it boots. Remember there's no gpu support so no video output, see with your router's dhcp allocations or a network scan (personally I use a network scan app on my android phone) to detect the ethernet IP and try to ssh to it (root/1234)

- Grab the 5.0.0 kernel sources, and the config file I attached (there's no dot in the filename I provided, add it)

- try to compile it, and install:

make -j 4 LOADADDR=0x00208000 uImage dtbs modules

sudo make modules_install

sudo make headers_install

sudo cp arch/arm/boot/uImage /boot

- reboot, see if it boots with the compiled 5.0.0 kernel. If it does you should be able to install docker

- from there you could play with migrating the rootfs partition to a usb drive. Remember that the boot process will look for a ext4 partition with the "ROOTFS" label. That's how you should be able to switch between the sdcards and usb drive rootfs partitions. What I did is that I flashed balbes' image on a usb drive, and removed the rootfs label from the sdcard partition (sudo e2label /dev/mmcblk0p2 "")

 

Also, the .config file I provided is clearly not optimized. I grabed a default one that includes lots of stuff for many boards and added the docker flags I needed. It clearly needs optimization as it include support for a lot of unnecessary bloat. But it works for me, I'll make some cleanup in the future if I have some time...

 

I hope that helps,

 

 

 

 

Posted
  On 3/7/2019 at 6:24 PM, balbes150 said:

Update image 5.76 kernel 3.10

Expand  

 

Thanks a lot!

 

Also, could you consider making one of your builds with the 5.0 kernel and a btrfs ROOTFS? I tried converting the ext4 partition to btrfs and adjusting the uEnv.ini file to change the rootfstype but it wouldn't boot either... I don't know if there are other things to change?

Posted

I'm getting an strange error. When I connect to the tv-box (MXIII 4k S812) via ssh it's tell me to change the root password and when I try to set the new password it's close the ssh session immediately.

I'm getting the same error both ubunto and debian versions 5.44, 5.64, 5.73 and 5.76 it's giving me the same error. I tryed with other dtb.img files (mxiii plus and others, with the same error or not boot).

 

 

The log from putty.

Incoming raw data at 2019-03-20 00:03:04
  00000000  26 04 36 54 33 c0 15 72 ad b3 36 d5 9e 80 0f b9  &.6T3..r..6.....
  00000010  69 3a b4 08 33 78 43 71 11 ce 19 b9 02 4b 1a 16  i:..3xCq.....K..
  00000020  12 02 62 e4 e6 8b 55 d9 36 1e 03 f3 3e 37 0e e0  ..b...U.6...>7..
  00000030  2f bd 6c af e7 23 70 f6 67 02 7d 98 c8 7c 41 b4  /.l..#p.g.}..|A.
  00000040  93 d6 85 cf 3f 6d 58 16 29 9d 89 dd d9 a5 4d 90  ....?mX.).....M.
  00000050  09 2f 71 fa dd e6 47 22 11 16 4d a3 94 07 24 a2  ./q...G"..M...$.
  00000060  f1 fd 15 86 96 85 c3 75 04 71 ce b0 78 da b2 5f  .......u.q..x.._
  00000070  f5 64 ce c0 f3 9f 80 7c 91 b2 34 f3 5b 5d 20 80  .d.....|..4.[] .
Incoming packet #0x1c, type 98 / 0x62 (SSH2_MSG_CHANNEL_REQUEST)
  00000000  00 00 01 00 00 00 00 0b 65 78 69 74 2d 73 74 61  ........exit-sta
  00000010  74 75 73 00 00 00 00 ff                          tus.....
Event Log: Server sent command exit status 255
Incoming packet #0x1d, type 97 / 0x61 (SSH2_MSG_CHANNEL_CLOSE)
  00000000  00 00 01 00                                      ....
Event Log: Disconnected: All channels closed

 

Posted (edited)

hi,

im trying to boot my m8 square box with s802 2gb ram and 8gb nand.

made sd card, activated multiboot (rebooted twice),

selected meson8_k200b_2G_emmc_sdhc.dtb in uEnv.ini

but after this box doesnt boot to sd card.

 

this my printenv

  Reveal hidden contents

and booting

  Reveal hidden contents

im using 64gb micro sdxc card, same card boots alexelec no problem. is it something with u-boot? do i need to upgrade it somehow?

thanks

 

Edited by Tido
added spoiler
Posted

one error i saw is that dtb file not working for you you need another one

  Quote

Multi dtb detected, support 6 dtbs. aml_dt soc: m8 platform: k200 variant: 2gsdhc dtb 0 soc: m8 plat: k200 vari: 2gsdhc dtb 1 soc: m8 plat: k200 vari: 2gsdio dtb 2 soc: m8 plat: k200 vari: sdhc dtb 3 soc: m8 plat: k200 vari: sdio dtb 4 soc: m8m2 plat: n200 vari: 1G dtb 5 soc: m8m2 plat: n200 vari: 2G Find match dtb: 0

Expand  

 

Posted
  On 3/21/2019 at 7:27 PM, RaptorSDS said:

one error i saw is that dtb file not working for you you need another one

Expand  

what is proper way of selecting dtb?

is it to edit uEnv.ini first line, or rename to dtb.img and copy to root folder?

Posted

on old image was the way to  copy working dtb to boot Fat partiotion and rename to dtb.img

on new image edit the uEnv.ini

 

for selecting proper dtb file it is testing only , one after another until one is working

Posted

renamed boot.img-second.gz to meson8.dtb, copied to dtb folder, edited uEnv.ini

still exactly same:

  Reveal hidden contents

 

i must be doing something wrong? any help?

Posted

do you test the other dtb that are inside the dtb folder because older dtb files may not compatible with dtb selector; also do you look inside extracted dbt files did it look the same structure as the dtb that are inside the folder 

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

Important Information

Terms of Use - Privacy Policy - Guidelines