1 [2] 3 >>> MLD-5.x / Systems / Raspberry PI / (MLD 5.4 testing) Docker
 

Offline clausmuus

  • Administrator
  • Expert Member
  • ********
  • Posts: 20118
    • View Profile
    • ClausMuus.de
(MLD 5.4 testing) Docker
« Reply #15 on: April 01, 2020, 00:26:16 »
Maybe it's not so easy to run a ARM on a x86 MLD as on a x86 Debian. I do this only on a debian host. So maybe the host need some additional tolls or libs for that.
MLD 5.5 - Raspberry PI - 7" Touch TFT - Squeeze Play
MLD 5.5 - lirc yaUsbIR - OctopusNet - XFX GeForce 9300 mit Intel E3200 - 2GB RAM - 12TB HDD - Lian Li PC-C37B - Samsung LE40A559

Offline gr4vity

  • Expert Member
  • *****
  • Posts: 604
    • View Profile
(MLD 5.4 testing) Docker
« Reply #16 on: April 01, 2020, 00:50:17 »
Yeah, it seems there is some missing libs coz i have tried different qemu-arm-static files, still getting "exec format error" .

The thing is i don't have any spare MicroSD card to install MLD for RPi then install Docker for ARM on it.

I got a spare USB stick, is it possible to run MLD for RPi from USB like Raspbian?

Offline clausmuus

  • Administrator
  • Expert Member
  • ********
  • Posts: 20118
    • View Profile
    • ClausMuus.de
(MLD 5.4 testing) Docker
« Reply #17 on: April 01, 2020, 16:49:22 »
Yes, you can install it also on a USB stick.
MLD 5.5 - Raspberry PI - 7" Touch TFT - Squeeze Play
MLD 5.5 - lirc yaUsbIR - OctopusNet - XFX GeForce 9300 mit Intel E3200 - 2GB RAM - 12TB HDD - Lian Li PC-C37B - Samsung LE40A559

Offline rfehr

  • MLD-Developer
  • Expert Member
  • ******
  • Posts: 1462
    • View Profile
(MLD 5.4 testing) Docker
« Reply #18 on: April 01, 2020, 18:30:47 »
but?

Can the rpi boot from USB-Stick ?
1x OctopusNet 4x DVB-C
1x Zotac ITX-A Atom 330
1x RPI2 als Client
1x BananaPi
1x Wetekplay
1x MCC 100
2x RPI3
2x RPi4
1x https://www.zotac.com/at/product/mini_pcs/pi335

Offline gr4vity

  • Expert Member
  • *****
  • Posts: 604
    • View Profile
(MLD 5.4 testing) Docker
« Reply #19 on: April 01, 2020, 21:21:31 »
Hi Roland,

I think not all USB mass storage devices will work.
At 1st it didn't for for me however i did the following to make it work

Format a microSD card as FAT32 and copy bootcode.bin from MLD boot directory to it.
Insert the microSD card into the card slot.

Now boot the pi, bootcode.bin will be loaded from the microSD card then it will continue booting from the USB-stick.

@Claus, are you able to boot MLD without any microSD card present in the pi?

Best Regards.

Offline clausmuus

  • Administrator
  • Expert Member
  • ********
  • Posts: 20118
    • View Profile
    • ClausMuus.de
(MLD 5.4 testing) Docker
« Reply #20 on: April 01, 2020, 21:32:20 »
That should be possible if you use a RPI-3. The MLD installer should do all necessary configuration for that. I have test it only one time, during add this feature.
MLD 5.5 - Raspberry PI - 7" Touch TFT - Squeeze Play
MLD 5.5 - lirc yaUsbIR - OctopusNet - XFX GeForce 9300 mit Intel E3200 - 2GB RAM - 12TB HDD - Lian Li PC-C37B - Samsung LE40A559

Offline gr4vity

  • Expert Member
  • *****
  • Posts: 604
    • View Profile
(MLD 5.4 testing) Docker
« Reply #21 on: April 01, 2020, 21:47:29 »
Hello Claus.

I have RPi 3, so you added this feature today?
I mean, i should download new MLD image then it should work without any microSD present in the pi?

Offline clausmuus

  • Administrator
  • Expert Member
  • ********
  • Posts: 20118
    • View Profile
    • ClausMuus.de
(MLD 5.4 testing) Docker
« Reply #22 on: April 01, 2020, 23:59:23 »
I add the feature two years ago. So I do not remember any details.
MLD 5.5 - Raspberry PI - 7" Touch TFT - Squeeze Play
MLD 5.5 - lirc yaUsbIR - OctopusNet - XFX GeForce 9300 mit Intel E3200 - 2GB RAM - 12TB HDD - Lian Li PC-C37B - Samsung LE40A559

Offline gr4vity

  • Expert Member
  • *****
  • Posts: 604
    • View Profile
(MLD 5.4 testing) Docker
« Reply #23 on: April 02, 2020, 00:11:38 »
Unfortunately, it didn't work for me.
The only way that worked was as i described in the above post

Now system info looks like this



Anyway, i'm satisfied with that solution, i'm installing docker at the moment.

Offline gr4vity

  • Expert Member
  • *****
  • Posts: 604
    • View Profile
(MLD 5.4 testing) Docker
« Reply #24 on: April 02, 2020, 00:19:30 »
I forgot to mention something,
If i inserted the MLD image which i had installed on the microSD card into a USB card reader, my RPi boots from USB without a problem.  ???

Offline clausmuus

  • Administrator
  • Expert Member
  • ********
  • Posts: 20118
    • View Profile
    • ClausMuus.de
(MLD 5.4 testing) Docker
« Reply #25 on: April 02, 2020, 10:43:21 »
It is necessary to boot the RPI after installation one time with included SD card. After that you do not need the sd card any more. Now you can boot every image from USB, also raspian and so on.
I think this first boot will again start the netinstall. But I'm not really sure. After that you can remove the SD card and boot the USB device.
But remember this is only one time necessary. The USB boot is enabled for ever an can not be undo. Every RPI you now boot from the netinstall SD card will enable USB boot.
Since you have already enabled USB boot on your RPI, you can now also boot your USB device without the need of a SD cand.
« Last Edit: April 02, 2020, 10:55:31 by clausmuus »
MLD 5.5 - Raspberry PI - 7" Touch TFT - Squeeze Play
MLD 5.5 - lirc yaUsbIR - OctopusNet - XFX GeForce 9300 mit Intel E3200 - 2GB RAM - 12TB HDD - Lian Li PC-C37B - Samsung LE40A559

Offline gr4vity

  • Expert Member
  • *****
  • Posts: 604
    • View Profile
(MLD 5.4 testing) Docker
« Reply #26 on: April 02, 2020, 16:10:26 »
Hello Claus,
Docker was installed and the container was created successfully but when i run "make" the following messages will be displayed forever.

Code: [Select]
scripts/kconfig/conf  --syncconfig Kconfig
make[4]: warning:  Clock skew detected.  Your build may be incomplete.
make[3]: warning:  Clock skew detected.  Your build may be incomplete.
make[2]: Warning: File 'scripts/Makefile.ubsan' has modification time 501428 s in the future
make[3]: Warning: File 'arch/arm/Makefile' has modification time 501426 s in the future
make[4]: Warning: File 'scripts/Makefile.host' has modification time 501426 s in the future
  HOSTCC  scripts/basic/fixdep
make[4]: warning:  Clock skew detected.  Your build may be incomplete.
make[4]: Warning: File 'scripts/Makefile.host' has modification time 501426 s in the future
  HOSTCC  scripts/kconfig/conf.o
  YACC    scripts/kconfig/zconf.tab.c
  LEX     scripts/kconfig/zconf.lex.c
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf  --syncconfig Kconfig
make[4]: warning:  Clock skew detected.  Your build may be incomplete.
make[3]: warning:  Clock skew detected.  Your build may be incomplete.
make[2]: Warning: File 'scripts/Makefile.ubsan' has modification time 501409 s in the future
make[3]: Warning: File 'arch/arm/Makefile' has modification time 501408 s in the future
make[4]: Warning: File 'scripts/Makefile.host' has modification time 501408 s in the future
  HOSTCC  scripts/basic/fixdep
make[4]: warning:  Clock skew detected.  Your build may be incomplete.
make[4]: Warning: File 'scripts/Makefile.host' has modification time 501407 s in the future
  HOSTCC  scripts/kconfig/conf.o
  YACC    scripts/kconfig/zconf.tab.c
  LEX     scripts/kconfig/zconf.lex.c
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf  --syncconfig Kconfig

Offline clausmuus

  • Administrator
  • Expert Member
  • ********
  • Posts: 20118
    • View Profile
    • ClausMuus.de
(MLD 5.4 testing) Docker
« Reply #27 on: April 02, 2020, 17:22:29 »
It seems your clock (date/time) in the docker container ist wrong.
MLD 5.5 - Raspberry PI - 7" Touch TFT - Squeeze Play
MLD 5.5 - lirc yaUsbIR - OctopusNet - XFX GeForce 9300 mit Intel E3200 - 2GB RAM - 12TB HDD - Lian Li PC-C37B - Samsung LE40A559

Offline gr4vity

  • Expert Member
  • *****
  • Posts: 604
    • View Profile
(MLD 5.4 testing) Docker
« Reply #28 on: April 02, 2020, 17:53:01 »
Just googled it, the following command fixed it.

Code: [Select]
find -type f -exec touch {} +
Thanks Claus.
« Last Edit: April 02, 2020, 18:38:36 by gr4vity »

Offline clausmuus

  • Administrator
  • Expert Member
  • ********
  • Posts: 20118
    • View Profile
    • ClausMuus.de
(MLD 5.4 testing) Docker
« Reply #29 on: April 02, 2020, 19:40:51 »
Are you sure, that the time of your system (docker container) is correct?
MLD 5.5 - Raspberry PI - 7" Touch TFT - Squeeze Play
MLD 5.5 - lirc yaUsbIR - OctopusNet - XFX GeForce 9300 mit Intel E3200 - 2GB RAM - 12TB HDD - Lian Li PC-C37B - Samsung LE40A559

1 [2] 3 >>> MLD-5.x / Systems / Raspberry PI / (MLD 5.4 testing) Docker
 



Users Online Users Online

0 Members and 1 Guest are viewing this topic.