SliTaz PPC Linux

AmigaOne X1000 platform specific issues related to Linux only.
aperezbios
Posts: 35
Joined: Mon Jan 13, 2014 7:02 pm

Re: SliTaz PPC Linux

Post by aperezbios »

Christian

I can confirm that this works on my PASemi Electra reference board, with the most recent Electra-specific kernel you built. In my case, I loaded the payloads via tftp:

Code: Select all

CFE> ramdisk -tftp 1.2.3.4:slitaz23.gz
CFE> boot -elf -tftp 192.168.2.246:vmlinux-3.14

Code: Select all

Loader:elf Filesys:tftp Dev:eth0 File:1.2.3.4:PPC/vmlinux-3.14 Options:(null)
Loading: 0x0000000000000000/13282688 0x0000000000CAAD80/594140 Entry at 0x0000000000000000
Closing network.
Starting program at 0x0000000000000000
[RUN!]console is uart0
OF stdout device is: /pxp@0,80000000/serial@1d
Preparing to boot Linux version 3.14.0 (christian@AmigaoneX1000) (gcc version 4.6.4 (Debian 4.6.4-5) ) #1 SMP M
on Mar 31 13:41:15 CEST 2014
Detected machine type: 0000000000000500
User avatar
xeno74
Posts: 9349
Joined: Fri Mar 23, 2012 7:58 am

Re: SliTaz PPC Linux

Post by xeno74 »

aperezbios wrote:Christian

I can confirm that this works on my PASemi Electra reference board, with the most recent Electra-specific kernel you built. In my case, I loaded the payloads via tftp:

Code: Select all

CFE> ramdisk -tftp 1.2.3.4:slitaz23.gz
CFE> boot -elf -tftp 192.168.2.246:vmlinux-3.14

Code: Select all

Loader:elf Filesys:tftp Dev:eth0 File:1.2.3.4:PPC/vmlinux-3.14 Options:(null)
Loading: 0x0000000000000000/13282688 0x0000000000CAAD80/594140 Entry at 0x0000000000000000
Closing network.
Starting program at 0x0000000000000000
[RUN!]console is uart0
OF stdout device is: /pxp@0,80000000/serial@1d
Preparing to boot Linux version 3.14.0 (christian@AmigaoneX1000) (gcc version 4.6.4 (Debian 4.6.4-5) ) #1 SMP M
on Mar 31 13:41:15 CEST 2014
Detected machine type: 0000000000000500
Woowwwwww! Amazing :-) Impressive :-) Thank you for testing!
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
Posts: 9349
Joined: Fri Mar 23, 2012 7:58 am

Re: SliTaz PPC Linux

Post by xeno74 »

Hi All,

Snapshot 24 is available. :-)

New:

- added Xpdf version 3.03

Image

Download: slitaz24.gz
SliTaz_PPC_with_Xpdf.jpg
Cheers,

Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
Posts: 9349
Joined: Fri Mar 23, 2012 7:58 am

Re: SliTaz PPC Linux

Post by xeno74 »

If you got this message (Busybox : Using fallback suid method) when you login as a user, then execute the following command:

Code: Select all

chmod u+s /bin/busybox
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
Posts: 9349
Joined: Fri Mar 23, 2012 7:58 am

Re: SliTaz PPC Linux

Post by xeno74 »

Just for info: What is BusyBox and passwords + users on SliTaz:

User "amigaone" with password "amigaone"
User "root" with password "amigaone"

What is BusyBox?

Image

BusyBox provides several stripped-down Unix tools in a single executable file. It is beside the Linux kernel the most important part of SliTaz.

Have a lot of fun with SliTaz PPC Linux. :-)
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
Posts: 9349
Joined: Fri Mar 23, 2012 7:58 am

Re: SliTaz PPC Linux

Post by xeno74 »

And here is the next snapshot. :D

Image

New:
  1. Set SUID bit for the BusyBox binary
  2. Added Xosview - X based system monitor
  3. Added xeyes - a follow the mouse X demo
  4. Added xclock - analog / digital clock for X
Download: slitaz25.gz

You can boot it with following commands:

Code: Select all

CFE> ramdisk -z -addr=0x24000000 -fatfs cf0:slitaz25.gz

Code: Select all

CFE> boot -elf -noints -fatfs cf0:vmlinux-3.13.14
Image

SliTaz login via SSH:
SliTaz_login_via_SSH.png
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
Posts: 9349
Joined: Fri Mar 23, 2012 7:58 am

Re: SliTaz PPC Linux

Post by xeno74 »

The graphical user interface of SliTaz is AmiWM. It tries to make your display look and feel like an Amiga Workbench screen. It is fully functional and can do all the usual window manager stuff, like moving and resizing windows. You can start AmiWM with the script "startamiwm".

The script startamiwm contains the following command:

Code: Select all

Xfbdev -retro -mouse mouse,device=/dev/input/mice -keybd evdev,,device=/dev/input/event0 | xterm -e amiwm
Sometimes, the keyboard isn't connected to the device file event0. Please try event1 instead.

Code: Select all

Xfbdev -retro -mouse mouse,device=/dev/input/mice -keybd evdev,,device=/dev/input/event1 | xterm -e amiwm
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
Posts: 9349
Joined: Fri Mar 23, 2012 7:58 am

Re: SliTaz PPC Linux

Post by xeno74 »

SliTaz PPC Linux with the final kernel 4.9:

Image
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
musa
Posts: 709
Joined: Tue Aug 23, 2011 7:58 pm

Re: SliTaz PPC Linux

Post by musa »

Hi Cristian
How do you write the CFE MENU command line to SliTaz? It is the statement of the RAM disk I can not figure out.
Thanks
AmigaX1000
Follow me on twitter @basjoo_dk
User avatar
xeno74
Posts: 9349
Joined: Fri Mar 23, 2012 7:58 am

Re: SliTaz PPC Linux

Post by xeno74 »

musa wrote:Hi Cristian
How do you write the CFE MENU command line to SliTaz? It is the statement of the RAM disk I can not figure out.
Thanks
Here is my CFE entry for SliTaz:

Code: Select all

MENU_4_LABEL=SliTaz Snapshot 25 Kernel 4.9
MENU_4_COMMAND=set pmu -astate=A4 ; ramdisk -z -addr=0x24000000 -fatfs cf0:slitaz25.gz ; boot -elf -noints -fatfs cf0:vmlinux-4.9
Instructions for creating:

Code: Select all

CFE> setenv -p MENU_4_LABEL "SliTaz Snapshot 25 Kernel 4.9"

Code: Select all

CFE> setenv -p MENU_4_COMMAND 'set pmu -astate=A4 ; ramdisk -z -addr=0x24000000 -fatfs cf0:slitaz25.gz ; boot -elf -noints -fatfs cf0:vmlinux-4.9'
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
Post Reply