Welcome! Log In Create A New Profile

Advanced

Debian on Dell Wyse 3020

Posted by Mischif 
Re: Debian on Dell Wyse 3020
July 08, 2023 06:33AM
bodhi Wrote:
-------------------------------------------------------
> Yes. Please do that. I think we are at the point
> for a detailed Howto.

Okey Dokey - ill start this when the unsullied one lands and post it for verification and feedback

interesting stuff to be had over here..... TX0d - homepage

buried in the files is an xml file that indicates what to install to what partition and also some informaton about the SPI - that bit is sailing over my head. but may help the community in understanding how to flash the spi

============================
Breaking stuff since 1994 :-)
============================



Edited 1 time(s). Last edit at 07/08/2023 06:58AM by Gravelrash.
Re: Debian on Dell Wyse 3020
July 08, 2023 01:24PM
> buried in the files is an xml file that indicates
> what to install to what partition and also some
> informaton about the SPI - that bit is sailing
> over my head. but may help the community in
> understanding how to flash the spi

That looks a bit more interesting!

I'm on travel currently, and will get back to this subject when I can.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on Dell Wyse 3020
July 08, 2023 02:51PM
bodhi Wrote:
> I'm on travel currently, and will get back to this
> subject when I can.


"Bodhi Bond" - International man of computing and all round nice guy with a licence to defeat uboot problems

xml code from above
<imageType><sourceMethod><merlinImage><versionNumber>3.4.0</versionNumber></merlinImage></sourceMethod></imageType><commandSet><commandEnvelope><downloadARMImageFromServerEx><transferEncoding><type>lzma</type><encodedSize>934186</encodedSize></transferEncoding><source><location>bootLoader.img</location><checksum>c67d</checksum><size>1179648</size></source><destination><securityKey><masterKey>0101072D</masterKey><masterKeyMask>FFFFFFFF</masterKeyMask><supportedKeySet><supportedKey><key>0101072D</key><mask>FFFFFFFF</mask></supportedKey></supportedKeySet></securityKey><bootLoader/></destination></downloadARMImageFromServerEx></commandEnvelope><commandEnvelope><downloadARMImageFromServerEx><transferEncoding><type>lzma</type><encodedSize>430</encodedSize></transferEncoding><source><location>cmos.img</location><checksum></checksum><size>327680</size></source><destination><securityKey><masterKey>0101072D</masterKey><masterKeyMask>FFFFFFFF</masterKeyMask><supportedKeySet><supportedKey><key>0101072D</key><mask>FFFFFFFF</mask></supportedKey></supportedKeySet></securityKey><cmos/></destination></downloadARMImageFromServerEx></commandEnvelope><commandEnvelope><downloadARMImageFromServerEx><transferEncoding><type>lzma</type><encodedSize>56563502</encodedSize></transferEncoding><source><location>par1.img</location><checksum></checksum><size>3909091328</size></source><destination><securityKey><masterKey>0101072D</masterKey><masterKeyMask>FFFFFFFF</masterKeyMask><supportedKeySet><supportedKey><key>0101072D</key><mask>FFFFFFFF</mask></supportedKey></supportedKeySet></securityKey><ide><channel>0</channel><drive>0</drive><scope><drive/></scope></ide></destination></downloadARMImageFromServerEx></commandEnvelope></commandSet><commandSet><configuration><spiflash><vendor>PCT</vendor><size>4</size></spiflash><spiflash><vendor>MXIC</vendor><size>4</size></spiflash><spiflash><vendor>MXIC</vendor><size>8</size></spiflash><spiflash><vendor>WINBOND</vendor><size>4</size></spiflash><spiflash><vendor>WINBOND</vendor><size>8</size></spiflash><spiflash><vendor>MICRON</vendor><size>8</size></spiflash><spiflash><vendor>GENERIC_SPI</vendor><size>4</size></spiflash><spiflash><vendor>GENERIC_SPI</vendor><size>8</size></spiflash></configuration></commandSet>

============================
Breaking stuff since 1994 :-)
============================



Edited 1 time(s). Last edit at 07/08/2023 02:53PM by Gravelrash.
Re: Debian on Dell Wyse 3020
July 11, 2023 10:17AM
Hi guys

That's my first topic here, as I am no specialist in linux. Actually, i know shit about it, but I have a new business idea related to usage of TX0d, as far as I would manage to make them run docker. That's for my introduction

I am trying to Install Fedora as described here: https://linux-mmp.docs.kernel.org/dell-wyse-3020.html but I cant find Fedora-Minimal-armhfp-32-1.6-sda.raw . In version armhpf-30-1.2 there's no dell-ariel dtb file,

Can someone please reupload Fedora-Minimal-armhfp-32-1.6-sda.raw or maybe mmp3-dell-ariel.dtb and dts ? I scrounged through whole Internet, twice, but there is no trace. :( Well I mean, there is only trace, here. So please, be that kind.
Re: Debian on Dell Wyse 3020
July 11, 2023 11:00PM
chomick,

I can't help you with Fedora, but you can find the DTS and DTB in my released tarball.

https://forum.doozan.com/read.php?2,32146

Quote

Latest released kernel: linux-6.3.8-mvebu-tld-1-bodhi.tar.bz2 (26 Jun 2023)

The ariel DTB is in this tarball:

linux-dtb-6.3.8-mvebu-tld-1.tar

DTS patch is in this file (the difference between the mainline Linux DTS and my customed Debian kernel linux-6.3.8-mvebu-tld-1):

linux-6.3.8-mvebu-tld-1.patch

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on Dell Wyse 3020
July 16, 2023 09:53AM
Go here for the latest equivalent of Fedora - as Bodhi says, this forum is typically for debian, but we help where we can :)

https://fedoraproject.org/wiki/Architectures/ARM

https://fedoraproject.org/wiki/Architectures/ARM/Fedora_Linux_35#ARMv7hl


chomick Wrote:
-------------------------------------------------------
Fedora-Minimal-armhfp-32-1.6-sda.raw . In version armhpf-30-1.2 there's no dell-ariel dtb file, Can someone please reupload Fedora-Minimal-armhfp-32-1.6-sda.raw or maybe mmp3-dell-ariel.dtb and dts ? I

============================
Breaking stuff since 1994 :-)
============================



Edited 1 time(s). Last edit at 07/16/2023 09:58AM by Gravelrash.
Re: Debian on Dell Wyse 3020
July 22, 2023 11:46AM
Guys

I am struggling for past two weeks. A lot, as I really don't know how to work with linux. Now i try with Debian. I believe I've done everything properly, but I get message "Initrd: Bad MAGIC (0x0): Try Legacy Mode and everything halts. Please help

Can I connect via SSH with switch, or should computers be linked together?
Re: Debian on Dell Wyse 3020
July 23, 2023 12:04AM
chomick Wrote:
-------------------------------------------------------
> Guys
>
> I am struggling for past two weeks. A lot, as I
> really don't know how to work with linux. Now i
> try with Debian. I believe I've done everything
> properly, but I get message "Initrd: Bad MAGIC
> (0x0): Try Legacy Mode and everything halts.
> Please help
>
> Can I connect via SSH with switch, or should
> computers be linked together?

Repeat what you did, and post the log of the terminal session (copy and paste everything) here.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on Dell Wyse 3020
July 24, 2023 05:36AM
Ok, so we would need to start from the beginning. Serial console shows only couple lines before WLoader takes it over and I am not sure I am reaching the point where the terminal connection is possible, unless I don't fully understand even that part. I am constantly pinging the IP adress which my 3020 gets while running ThinOS, but there is no response. I attach screenshots of last two things I see before it freezes

So how would I make it happen, to have a log?

I found out that the message I get before everything freezes is related to bad headers. I've done everything described here: https://forum.doozan.com/read.php?2,134563,135415#msg-135415 step by step
Attachments:
open | download - Screenshot_2023-07-24-12-33-44-046_com.miui.gallery.jpg (769.7 KB)
open | download - Screenshot_2023-07-24-12-33-38-705_com.miui.gallery.jpg (773.4 KB)
Re: Debian on Dell Wyse 3020
July 24, 2023 11:31AM
chomick,

> Serial console shows only couple lines before
> WLoader takes it over and I am not sure I am
> reaching the point where the terminal connection
> is possible, unless I don't fully understand even
> that part

Yes, the serial console does not output anything before the Linux kernel starts running.

> I am constantly pinging the IP adress
> which my 3020 gets while running ThinOS, but there
> is no response.

If you did everything correctly, and the system has booted, then there is a new dynamic IP address in your network router that Debian acquires, the Thin OS behavior is not applicable here. You can also try
ping debian.local

> I've
> done everything described here:
> https://forum.doozan.com/read.php?2,134563,135415#msg-135415
> step by step

> So how would I make it happen, to have a log?

That instruction is not complete (it is too abbreviate). There are many details that need to be spelled out further (Gravelrash will write out the details here :). So you might have missed (or not aware what you need to do certain things).

That's why I asked if you could, repeat the whole thing (create the partitions on USB drive, download the kernel tarball, download the rootfs tarball, and extract them to the partitions, create the wloader config file ... ). And then copy eveything on the terminal session and paste it here. And then try booting, and copy everything on serial console session and paste that log here.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 1 time(s). Last edit at 07/24/2023 01:29PM by bodhi.
Re: Debian on Dell Wyse 3020
July 27, 2023 02:54AM
I am back from my own prolonged travails... i have a few days me time next week so will start the howto then.

HOWTO - Install Debian on WYSE3020

============================
Breaking stuff since 1994 :-)
============================
Re: Debian on Dell Wyse 3020
July 28, 2023 11:35PM
Can anyone help me with making docker run?


root@debian:/mnt# docker run --restart=on-failure:5 iproyal/pawns-cli:latest -email=chomick@gmail.com -password=******* -device-name=debian -device-id=Arm1 -accept-tos
[  631.521036][ T1422] docker0: port 1(vethbd9e08c) entered blocking state
[  631.527806][ T1422] docker0: port 1(vethbd9e08c) entered disabled state
[  631.534766][ T1422] vethbd9e08c: entered allmulticast mode
[  631.550338][ T1422] vethbd9e08c: entered promiscuous mode
[  636.351607][ T1425] docker0: port 1(vethbd9e08c) entered disabled state
[  636.368898][ T1425] vethbd9e08c (unregistering): left allmulticast mode
[  636.375529][ T1425] vethbd9e08c (unregistering): left promiscuous mode
[  636.386877][ T1425] docker0: port 1(vethbd9e08c) entered disabled state
docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error setting cgroup config for procHooks process: bpf_prog_query(BPF_CGROUP_DEVICE) failed: invalid argument: unknown.
ERRO[0007] error waiting for container:
root@debian:/mnt#

Would it be possible to run x86_64 emulator ? I need Dell Wyse 3020 to run a set of internet-sharing apps, most of them should run in docker for ARM, but two most essential - will not.



Edited 5 time(s). Last edit at 07/29/2023 12:58PM by chomick.
Re: Debian on Dell Wyse 3020
July 30, 2023 06:09AM
i strongly recomend you move this request to a different thread so as not to "pollute"/"hijack" this post.

in the new post, upload the log files for docker and if someone is knowledgeable with it - i don't mind having a tinker, time allowing. - then they will offer advise on ways forward.


you are jumping straight in the deep end though :) trying to run docker and X86 emulator when you consider yourself a newby...... i applaud you sir! BEST way to learn is dive in and see where you go

============================
Breaking stuff since 1994 :-)
============================
Re: Debian on Dell Wyse 3020
August 22, 2023 04:32PM
Guys,

new package doesnt work on wyse 3020 :(

root@debian:/boot# package architecture (armel) does not match system (armhf)

is there anyway to fix this?
Re: Debian on Dell Wyse 3020
August 22, 2023 05:39PM
chomick,

> root@debian:/boot# package architecture (armel)
> does not match system (armhf)
>
> is there anyway to fix this?

Make sure you installing the MVEBU kernel linux-6.4.11-mvebu-tld-1-bodhi.tar.bz2. Sounds like you're installing the wrong kernel (i.e Kirkwood).

If you meant "Debian package" then your apt source might be wrong.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 1 time(s). Last edit at 08/22/2023 05:42PM by bodhi.
Re: Debian on Dell Wyse 3020
August 22, 2023 05:42PM
Do

cat /etc/apt/sources.list

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: