Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
20 user(s) are online (16 user(s) are browsing Forums)

Members: 0
Guests: 20

more...

Support us!

Headlines

 
  Register To Post  

A1222+ - linux Debian / Ubuntu instalation questions
Quite a regular
Quite a regular


See User information
Hello,

I succesfully installed linux onto my A1222+. Linux installation guide and downloads are perfect. But I still have some questions:

- Is possible use onboard Display Interface Unit with Radeon card installed? For example with some kernel parameter...
It will be great if I have RX5xx card for AmigaOS, use DIU for linux. In Linux installation manual is written Note: It's not possible to use the DIU with an installed Radeon graphics card. But linux and impossible?

I also setup linuxboot variable to boot from USB. It works, but I want put kernel + tabor2.dtb to sdcard.

- In A1222+ manual is this SDcard memory map:
Resized Image

Is safe write kernel + dtb to address 0x4800 and above? Or are there any other boot images?

- or is possible place MBR to SDcard like is witten here and place kernel+dtb to ext2 partition?

AmigaOS3: Amiga 1200
AmigaOS4: Micro A1-C, AmigaOne XE, Pegasos II, Sam440ep, Sam440ep-flex, AmigaOne X1000
MorphOS: Efika 5200b, Pegasos I, Pegasos II, Powerbook, Mac Mini, iMac, Powermac Quad
Go to top
Re: A1222+ - linux Debian / Ubuntu instalation questions
Not too shy to talk
Not too shy to talk


See User information
@sailor

Hi, i use the SDcard Gparted method with my X5000.
So kernel and DTB file on SD (mmc) for years now and works great.

The RX cards wont work with the Linux kernel.

AmigaOne X5000 -> 2GHz / 16GB RAM / Radeon RX 550 / ATI X1950 / M-Audio 5.1 -> AmigaOS 4.1 FE / Linux / MorphOS
Amiga 1200 -> Recapped / PiStorm CM4 / SD HDD / WifiPi connected to the NET
Vampire V4SE TrioBoot
RPI4 AmiKit XE
Go to top
Re: A1222+ - linux Debian / Ubuntu instalation questions
Quite a regular
Quite a regular


See User information
@SkatemanQuote:
Skateman wrote:@sailor

Hi, i use the SDcard Gparted method with my X5000.
So kernel and DTB file on SD (mmc) for years now and works great.

The RX cards wont work with the Linux kernel.


I know that RX cards not work - and thus I want ( if have RX installed ) use for linux Display interface ( DIU ) on P1022 CPU. But no success. lspci output gives no device - ( it is not pci bus ).

Regarding the SD card, I see no SDcard device /dev/sdx. Is it normal? Should it be visible if I prepare card + MBR on other computer? Or is needed certain kernel version?

AmigaOS3: Amiga 1200
AmigaOS4: Micro A1-C, AmigaOne XE, Pegasos II, Sam440ep, Sam440ep-flex, AmigaOne X1000
MorphOS: Efika 5200b, Pegasos I, Pegasos II, Powerbook, Mac Mini, iMac, Powermac Quad
Go to top
Re: A1222+ - linux Debian / Ubuntu instalation questions
Not too shy to talk
Not too shy to talk


See User information
@sailor

Hi, a SDcard with Uboot is unreadable in a normal pc, thats correct. /dev/mmcblk0 is the SD card when using the SDcard slot on my linux laptop.

I would first make a image of your Uboot SD card. then take a new sd card and follow the tutorial for creating the partition.

Then DD the Uboot image back to the new SD.

In uboot the SD card is defined as MMC

AmigaOne X5000 -> 2GHz / 16GB RAM / Radeon RX 550 / ATI X1950 / M-Audio 5.1 -> AmigaOS 4.1 FE / Linux / MorphOS
Amiga 1200 -> Recapped / PiStorm CM4 / SD HDD / WifiPi connected to the NET
Vampire V4SE TrioBoot
RPI4 AmiKit XE
Go to top
Re: A1222+ - linux Debian / Ubuntu instalation questions
Quite a regular
Quite a regular


See User information
At the end I used free space on SD card: blocks from 0x4800 and write here tabor2.dtb + kernel. It works fine.

AmigaOS3: Amiga 1200
AmigaOS4: Micro A1-C, AmigaOne XE, Pegasos II, Sam440ep, Sam440ep-flex, AmigaOne X1000
MorphOS: Efika 5200b, Pegasos I, Pegasos II, Powerbook, Mac Mini, iMac, Powermac Quad
Go to top
Re: A1222+ - linux Debian / Ubuntu instalation questions
Quite a regular
Quite a regular


See User information
@sailorQuote:
sailor wrote:At the end I used free space on SD card: blocks from 0x4800 and write here tabor2.dtb + kernel. It works fine.

Oops!
Boot images ( 0x4800 - 0x 31FFF ) written in manual are pictures + animations, not space for linux images as I suspected.

I corrupt a little my nice bootscreen . Fortunately, I had a sdcard backup.

So the kernel images + .dtb must be on sdcard block address 0x32000 and above.
No problem, there are much more space.
Now I have on mmc: tabor2.dtb ... block #32000, 1st uimage block #35000, 2nd uImage at #39000, etc...

It works fine, I do not need usb for kernels. Only disadvantage is, that kernel are not backuped with SDbackup tool, only with dd under linux.

AmigaOS3: Amiga 1200
AmigaOS4: Micro A1-C, AmigaOne XE, Pegasos II, Sam440ep, Sam440ep-flex, AmigaOne X1000
MorphOS: Efika 5200b, Pegasos I, Pegasos II, Powerbook, Mac Mini, iMac, Powermac Quad
Go to top
Re: A1222+ - linux Debian / Ubuntu instalation questions
Quite a regular
Quite a regular


See User information
I played a litle with Debian 8 powerpcspe.
It works great. But I need some advice.

OOTB it has in souces.list debian-ports unstable
It is not exists now, so I changed repo to last powerpcspe snapshot:
deb [trusted=yes] http://snapshot.debian.org/archive/debian-ports/20190519T171610Z/ unstable

I can install nore packages, like hwloc and nano, but libreoffice is removed. When I install it manually, it have missing libreglo.so
Also I cannot use DIU inteface. Probably it is caused by missing xserver-xorg-video-fbdev package. Again cannot install, unmet dependencies.

I have some questions:

- please, what is the best practise for linux on A1222? Install directly Debian 8 powerpcspe, or install Ubuntu 16.04 and Debian 8 powerpcspe in chroot environment? I am not tested Ubuntu yet..

- please, what is best snapshot for installing powerpcspe packages ? I.e. the one with biggest number of packages . Or howto setup sources.list to not remove libre office

- please, is possible to install fbdev on Debian or Ubintu? And how? I see it is possible with SliTaz... Or some other trick how to use DIU / display on A1222 with Debian or Ubuntu?

- are there still any repo for Ubuntu 16.04?

AmigaOS3: Amiga 1200
AmigaOS4: Micro A1-C, AmigaOne XE, Pegasos II, Sam440ep, Sam440ep-flex, AmigaOne X1000
MorphOS: Efika 5200b, Pegasos I, Pegasos II, Powerbook, Mac Mini, iMac, Powermac Quad
Go to top
Re: A1222+ - linux Debian / Ubuntu instalation questions
Not too shy to talk
Not too shy to talk


See User information
@sailor

For now i would suggest using the VOID Linux image, and adjust the repository settings so the package manager is working again.

http://www.xenosoft.de/void-live-powerpc-20230317.img.tar.gz

Repo adjust here: https://forum.hyperion-entertainment.c ... wtopic.php?p=58185#p58185

This is all working X5K stuff so i cant say anything regarding SPE and other A1222 related stuff.

AmigaOne X5000 -> 2GHz / 16GB RAM / Radeon RX 550 / ATI X1950 / M-Audio 5.1 -> AmigaOS 4.1 FE / Linux / MorphOS
Amiga 1200 -> Recapped / PiStorm CM4 / SD HDD / WifiPi connected to the NET
Vampire V4SE TrioBoot
RPI4 AmiKit XE
Go to top
Re: A1222+ - linux Debian / Ubuntu instalation questions
Quite a regular
Quite a regular


See User information
@Skateman
thank you, I will test it.

Please, is it whole image ( i.e. dd of=/dev/sdb ) or partition image ( of=/dev/sdb3 ) ?
Probably whole disk image, as it's name is live...
And please, root passwd is the same like in first post?

AmigaOS3: Amiga 1200
AmigaOS4: Micro A1-C, AmigaOne XE, Pegasos II, Sam440ep, Sam440ep-flex, AmigaOne X1000
MorphOS: Efika 5200b, Pegasos I, Pegasos II, Powerbook, Mac Mini, iMac, Powermac Quad
Go to top
Re: A1222+ - linux Debian / Ubuntu instalation questions
Not too shy to talk
Not too shy to talk


See User information

AmigaOne X5000 -> 2GHz / 16GB RAM / Radeon RX 550 / ATI X1950 / M-Audio 5.1 -> AmigaOS 4.1 FE / Linux / MorphOS
Amiga 1200 -> Recapped / PiStorm CM4 / SD HDD / WifiPi connected to the NET
Vampire V4SE TrioBoot
RPI4 AmiKit XE
Go to top
Re: A1222+ - linux Debian / Ubuntu instalation questions
Quite a regular
Quite a regular


See User information
Just now I testing Ubuntu 16.04 and after that I will try void linux.

Ubuntu and void are powerpc ( not powerpcspe ) versions.
How is it possible that they work with SPE FPU and powerpc code?

Are there also some software emulation layer in linux kernel?

AmigaOS3: Amiga 1200
AmigaOS4: Micro A1-C, AmigaOne XE, Pegasos II, Sam440ep, Sam440ep-flex, AmigaOne X1000
MorphOS: Efika 5200b, Pegasos I, Pegasos II, Powerbook, Mac Mini, iMac, Powermac Quad
Go to top
Re: A1222+ - linux Debian / Ubuntu instalation questions
Not too shy to talk
Not too shy to talk


See User information
@sailor

I dont know if they work on a A1222 as you mentioned they are Powerpc distros.. so you need to check yourself.
I dont have a A1222.

AmigaOne X5000 -> 2GHz / 16GB RAM / Radeon RX 550 / ATI X1950 / M-Audio 5.1 -> AmigaOS 4.1 FE / Linux / MorphOS
Amiga 1200 -> Recapped / PiStorm CM4 / SD HDD / WifiPi connected to the NET
Vampire V4SE TrioBoot
RPI4 AmiKit XE
Go to top
Re: A1222+ - linux Debian / Ubuntu instalation questions
Quite a regular
Quite a regular


See User information
@Skateman
I tested Ubuntu 16.04 yesterday, and it works on A1222+ OOTB.
It is slower ( especially Mate deskrop ) than Debian 8 powerpcspe, but works. Even office and similar.
Void I will try on weekend.

With Ubuntu, sources.list is set to /ubuntu-ports/dists/xenial and there are only powerpc port, not powerpcspe. I installed sw from there and it works.

So linux kernel should use some sort of soft floats if there is no FPU. It is my speculation only, but it makes sense as very popular ARM cpus have also several types of FPU units with incompatible API.

I will try to ask Adrian Glaubitz about that.

AmigaOS3: Amiga 1200
AmigaOS4: Micro A1-C, AmigaOne XE, Pegasos II, Sam440ep, Sam440ep-flex, AmigaOne X1000
MorphOS: Efika 5200b, Pegasos I, Pegasos II, Powerbook, Mac Mini, iMac, Powermac Quad
Go to top
Re: A1222+ - linux Debian / Ubuntu instalation questions
Quite a regular
Quite a regular


See User information
@Skateman
void linux also works on A1222.
I tested only terminal, not desktop.

AmigaOS3: Amiga 1200
AmigaOS4: Micro A1-C, AmigaOne XE, Pegasos II, Sam440ep, Sam440ep-flex, AmigaOne X1000
MorphOS: Efika 5200b, Pegasos I, Pegasos II, Powerbook, Mac Mini, iMac, Powermac Quad
Go to top
Re: A1222+ - linux Debian / Ubuntu instalation questions
Not too shy to talk
Not too shy to talk


See User information
@sailor

On the X5000 the desktop is also working fine.
Change the driver in Xorg.conf from FBdev to radeon depending on the card you are using for Hardware acceleration.

AmigaOne X5000 -> 2GHz / 16GB RAM / Radeon RX 550 / ATI X1950 / M-Audio 5.1 -> AmigaOS 4.1 FE / Linux / MorphOS
Amiga 1200 -> Recapped / PiStorm CM4 / SD HDD / WifiPi connected to the NET
Vampire V4SE TrioBoot
RPI4 AmiKit XE
Go to top
Re: A1222+ - linux Debian / Ubuntu instalation questions
Quite a regular
Quite a regular


See User information
Quote:
Ubuntu and void are powerpc ( not powerpcspe ) versions.
How is it possible that they work with SPE FPU and powerpc code?

Are there also some software emulation layer in linux kernel?


I received answer from debian mailing list. It is caused by kernel parameter:
CONFIG_MATH_EMULATION=y
CONFIG_MATH_EMULATION_FULL
=y

I.e. our custom kernels has buitlin FPU emulator.
Explanation from Kconfig:
config MATH_EMULATION
    bool 
"Math emulation"
    
depends on 44x || PPC_8xx || PPC_MPC832x || BOOKE || PPC_MICROWATT
    select PPC_FPU_REGS
    help
      Some PowerPC chips designed 
for embedded applications do not have
      a floating
-point unit and therefore do not implement the
      floating
-point instructions in the PowerPC instruction set.  If you
      say Y here
the kernel will include code to emulate a floating-point
      unit
which will allow programs that use floating-point
      instructions to run
.

      
This is also useful to emulate missing (optionalinstructions
      such 
as fsqrt on cores that do have an FPU but do not implement
      them 
(such as Freescale BookE).

config MATH_EMULATION_FULL
    bool 
"Emulate all the floating point instructions"
    
help
      Select this option will enable the kernel to support to emulate
      all the floating point instructions
. If your SoC doesn't have
      a FPU, you should select this.


Thanks for linux kernel and A1222 linux core team, is possible to run even Debian Sid, of course with slow FPU...

AmigaOS3: Amiga 1200
AmigaOS4: Micro A1-C, AmigaOne XE, Pegasos II, Sam440ep, Sam440ep-flex, AmigaOne X1000
MorphOS: Efika 5200b, Pegasos I, Pegasos II, Powerbook, Mac Mini, iMac, Powermac Quad
Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project