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:
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
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
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
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
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
@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
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
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 (optional) instructions
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