Linux (with GUI) release

https://github.com/MiSTer-devel/Main_MiSTer/wiki
alanswx
Captain Atari
Captain Atari
Posts: 225
Joined: Sat Nov 25, 2017 4:34 pm

Re: Linux (with GUI) release

Post by alanswx »

Sorgelig wrote:I suggest even better - make a LUbuntu 16.04 LTS (same as Terasic's one) installation from scratch. I believe there should be LUbuntu armhf installer.
I just don't want to participate to it as i have many other tasks already.
Sounds like a great plan. Let me look into it. How did you make the base image for the MiSTer side? Was it also a subset of LUbuntu?
Sorgelig
Ultimate Atarian
Ultimate Atarian
Posts: 6348
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: Linux (with GUI) release

Post by Sorgelig »

alanswx wrote: Sounds like a great plan. Let me look into it. How did you make the base image for the MiSTer side? Was it also a subset of LUbuntu?
No. It's buildroot. It's completely different approach used for embedded locked down systems.
Locutus73
Atari Super Hero
Atari Super Hero
Posts: 579
Joined: Wed Feb 07, 2018 6:13 pm

Re: Linux (with GUI) release

Post by Locutus73 »

alanswx wrote:I suggest we build a shell script that we can put into github with the changes.
Interesting. Some years ago I managed to install a full blown Debian on my old Sharp Zaurus using debootstrap (from its embedded Linux). Maybe it could be used in order to prepare a script that can be launched from standard MiSTer Linux (through ssh) in order to prepare a brand new root image file from scratch.
Speaking of full Linux MiSTer core, if I recall correctly (I’m not home these days), Terasic’s Linux did not show anything on screen until Lxde is launched; I mean no video output from terminal. Is it so with current Linux core?

Locutus73
Sorgelig
Ultimate Atarian
Ultimate Atarian
Posts: 6348
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: Linux (with GUI) release

Post by Sorgelig »

I've added volume control to sound card, so no pulseaudio is required anymore.
alanswx
Captain Atari
Captain Atari
Posts: 225
Joined: Sat Nov 25, 2017 4:34 pm

Re: Linux (with GUI) release

Post by alanswx »

This isn't fully working yet, and I don't have the timezone or wpa_supplicant figured out yet. But it does seem to boot Lubuntu in x windows. More to come, if you want to get an idea of how I am pulling it together see the github WIP:
https://github.com/alanswx/Linux_LubuntuMiSTer
Sorgelig
Ultimate Atarian
Ultimate Atarian
Posts: 6348
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: Linux (with GUI) release

Post by Sorgelig »

I've added modification to existing Terasic image, so ftpd/sshd/wpa/timezone are working fine and reflect original MiSTer settings.
I will release update image soon.
But i agree we need to start it from scratch. I didn't test your scripts yet. I guess it will need some discussion and clarification how to build the image.
alanswx
Captain Atari
Captain Atari
Posts: 225
Joined: Sat Nov 25, 2017 4:34 pm

Re: Linux (with GUI) release

Post by alanswx »

Sorgelig wrote:But i agree we need to start it from scratch. I didn't test your scripts yet. I guess it will need some discussion and clarification how to build the image.
I will keep working on it and let you know when it is worth walking through.I will try to document the readme better. Where can I grab the latest image?
Sorgelig
Ultimate Atarian
Ultimate Atarian
Posts: 6348
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: Linux (with GUI) release

Post by Sorgelig »

alanswx wrote:Where can I grab the latest image?
i didn't release it yet.
alanswx
Captain Atari
Captain Atari
Posts: 225
Joined: Sat Nov 25, 2017 4:34 pm

Re: Linux (with GUI) release

Post by alanswx »

I finally fixed a bunch of bugs in the scripts. If you run this on a debian based system, it will create an arm image. It doesn't have any additions for wifi,ftp,etc. It creates a mister account that can sudo, with the password mister.

I had a problem that the latest version of firefox doesn't seem to run on arm ubuntu 16. So I told the apt to freeze an old version. I also added a version of chromium. If you want to add any packages, they go in the multistrap.conf file.

This also mounts the SD card as /media/fat/ so that it matches the MiSTer distribution.

If you attach any configuration files you changed, or somehow get me the couple of pieces I need to finish setting up the image the way you want it, I will make the changes.

https://github.com/alanswx/Linux_LubuntuMiSTer
alanswx
Captain Atari
Captain Atari
Posts: 225
Joined: Sat Nov 25, 2017 4:34 pm

Re: Linux (with GUI) release

Post by alanswx »

For some reason the sound doesn't seem to work. Any suggestions would be great!
Sorgelig
Ultimate Atarian
Ultimate Atarian
Posts: 6348
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: Linux (with GUI) release

Post by Sorgelig »

alanswx wrote:If you attach any configuration files you changed, or somehow get me the couple of pieces I need to finish setting up the image the way you want it, I will make the changes.
script and changes required for standard linux image are here:
https://github.com/MiSTer-devel/Linux_I ... tor_MiSTer
alanswx
Captain Atari
Captain Atari
Posts: 225
Joined: Sat Nov 25, 2017 4:34 pm

Re: Linux (with GUI) release

Post by alanswx »

Sorgelig wrote: script and changes required for standard linux image are here:
https://github.com/MiSTer-devel/Linux_I ... tor_MiSTer
This is helpful. It looks like:

1) proftpd.conf
- i need to setup ftp access. I think that I would modify it to use the mister user instead of root - i didn't set a password for the root user
- should the ftp be able to get to the mister user, as well as the /media/fat/ ? or just /media/fat? I need to think about the permissions
2) localtime should link to /media/fat/timezone
3) I need to get the network interface working with the wifi usb. I need to get my wifi usb working in general! I have some more coming from aliexpress

Anything else?
Sorgelig
Ultimate Atarian
Ultimate Atarian
Posts: 6348
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: Linux (with GUI) release

Post by Sorgelig »

Since MiSTer linux and full linux are on the same physical device, i would prefer to use the same login and password for ftp/ssh, i.e. user: root, pass:1
I understand you have your own thought about root access - that's fine - you can do it. In this case i will use my own version of linux since i don't want to care about user rights on this embedded system which is just a toy.
Sorgelig
Ultimate Atarian
Ultimate Atarian
Posts: 6348
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: Linux (with GUI) release

Post by Sorgelig »

about /mount/fat mounting:
Originally it's automounted inside the kernel if boot device is loop. If boot device is physical partition then it won't be mounted as there is no clue what to mount.
alanswx
Captain Atari
Captain Atari
Posts: 225
Joined: Sat Nov 25, 2017 4:34 pm

Re: Linux (with GUI) release

Post by alanswx »

Sorgelig wrote:about /mount/fat mounting:
Originally it's automounted inside the kernel if boot device is loop. If boot device is physical partition then it won't be mounted as there is no clue what to mount.
I seem to have this working correctly, it comes up with /media/fat based on an fstab that I have:

Code: Select all

/dev/mmcblk0p1  /media/fat/ fat defaults 0 0
I understand the root/1 thing. I will make the change, it should be super simple. That will make the FTP easier and the same. I can put some comments in the script if people want to do it a different way.
Sorgelig
Ultimate Atarian
Ultimate Atarian
Posts: 6348
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: Linux (with GUI) release

Post by Sorgelig »

New Desktop Linux release.
Here is the Wiki page: https://github.com/MiSTer-devel/Main_Mi ... ktop-Linux

- New parameters has been added (see Wiki)
- Multiple configs per RBF.
- ftp/ssh work. Same login and pass as for MiSTer Linux.
- timezone follows MiSTer Linux.
- Many improvements in frame buffer.
- Native audio volume control. Pulse audio is not required anymore.

Release includes updated Linux image with all fixes incorporated.
Release doesn't include installer as current MiSTer Linux release already supports multiboot. Make sure you've updated the MiSTer Linux to today's release.
alanswx
Captain Atari
Captain Atari
Posts: 225
Joined: Sat Nov 25, 2017 4:34 pm

Re: Linux (with GUI) release

Post by alanswx »

I fixed a few more problems in my version:

https://github.com/alanswx/Linux_LubuntuMiSTer

I still can't get the sound to work in your image or mine, I am not sure why. I added a root/1 password, but I left mister/mister as well. We can pull it out easily enough. We can pull it out easily enough

I added mc as a package to load so it will have midnight commander installed. You need to log in with "other" when it boots into the gui. The ssh and ftp works - i copied your configuration files over into the "extras" folder in this repo

Feel free to send me other fixes, I want to make it exactly as you wish.
Sorgelig
Ultimate Atarian
Ultimate Atarian
Posts: 6348
Joined: Mon Dec 14, 2015 10:51 am
Location: Russia/Taiwan

Re: Linux (with GUI) release

Post by Sorgelig »

I've read somewhere that audio is muted on linux by default. So, did you check the volume control on my image?
Do you get any error regarding the sound?
Did you try analog audio output?
dgarman
Atarian
Atarian
Posts: 2
Joined: Sat Nov 23, 2019 2:33 am

Re: Linux (with GUI) release

Post by dgarman »

Sorgelig, sorry but you broke the gui desktop with todays update. it boots to a black screen no matter which one i try. that's a ntsc setup using the hdmi. it also doesn't matter what i set the resolution to.

Dennis
robng15
Atari User
Atari User
Posts: 31
Joined: Sat Nov 16, 2019 8:59 am

Re: Linux (with GUI) release

Post by robng15 »

dgarman wrote:Sorgelig, sorry but you broke the gui desktop with todays update. it boots to a black screen no matter wich one i try. that's a ntsc setup using the hdmi. it also doesn't matter what i set the resolution to.

Dennis
Sadly the same, but will patiently await the fix.
mrchrister
Atarian
Atarian
Posts: 7
Joined: Thu Dec 05, 2019 4:43 am

Re: Linux (with GUI) release

Post by mrchrister »

great work! so now we can use mame on fpga? ;)
djmartins
Captain Atari
Captain Atari
Posts: 328
Joined: Wed Nov 21, 2018 10:26 pm

Re: Linux (with GUI) release

Post by djmartins »

mrchrister wrote:great work! so now we can use mame on fpga? ;)
:twisted:

You little devil, we see what you did there....
cugel
Atarian
Atarian
Posts: 5
Joined: Sun May 10, 2020 1:34 am

Re: Linux (with GUI) release

Post by cugel »

A coupe questions on this:

1. Would it perform better if I ran it from usb?

2. If I update it, would it break everything?

thanks!

Return to “MiSTer”