It will be great, if somebody has working installation media or image. Also any help or advices about modyfiyng installation .iso, especially menu.lst will be great - I will try to correct install .iso.
Thanks!
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 manually set actual repository: to archive.debian.org and /debian/ ( where today old ppc debian distros are located ) But i receive warning: anna[5106]: WARNING **: bad d-i Packages file anna[5106]: wget: server returned error: HTTP/1.1 404 Not Found and installation not continues...
Do not use archive.debian.org - it is a package archive, it does not contain ‘debian-installer’ information Use snapshot.debian.org. This should work for you to avoid problems with gpg ‘Debian archive mirror hostname:’ snapshot.debian.org ‘Debian archive mirror directory: /archive/debian/20150501T042823Z/
Have fun
EDIT:
I checked on the site you provided the iso of debian jessie - >http://www.xenosoft.de/Sam460ex_Debian_Jessie-3.iso The netinstall installation works. It should work for many, many years to come ...snapshot.debian.org is maintained from various funding sources and debian itself is the basis for various other distributions.
I will leave a message if anyone wants to do something with QEMU emulation of sam460ex (debagging, playing around, etc. ...). The easiest way is to rewrite the hexeditor bootloader command line to spit out the linux console on the system console by changing the entries only to ‘console=ttyS0’.
I attach a picture
Edited by smarkusg on 2024/11/9 21:23:35 Edited by smarkusg on 2024/11/9 21:24:16 Edited by smarkusg on 2024/11/9 21:25:03
@smarkusg thank you very much for help. Intallation works! I installed linux to whole disk, guided, to prevent my human errors. Installation stopped without creating bootloader - but I think it is normal.
But unfortunatelly I cannot boot to installed system.
At first, I installed parthenope and ending with this:
After that I installed slb_v2 and made in /boot ext2 partition: boot directory, with kernel and a1boot.conf. This result:
Maybe I try installation again. But do you have any idea?
thx!!
P.S. please, and what is canyonlands-3.19.2.dtb? And should be in kernel line?
Edited by sailor on 2024/11/10 11:16:19
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
Have not done Linux for about 7 year snow so I am rusty .
My later kernels needed to be booted via Uboot Their size was too large to work with the existing parthenope. I had a script that would set up the variables .
; This file can be executed from AmigaOS 4.x to get the Uboot variables correct using the excute command. ; If the onboard SATA is active then the hard drive attached is /dev/sda and first hard drive attached to a sii pci SATA card is /dev/sdb with the first USB device being /dev/sdc. ; if the onboard SATA is deactivated or not present as in the case of the Sam460cr, the the first hard drive attached to the sii pci SATA card is /dev/sda with the first USB device being /dev/sdb. ; change devices for the SATA drive and the USB thumb drive to match your configuration in the nvgetvar lines below then execute this script. ;The examples below uses /dev/sda6 which is the 6th partition on the first hard drive drive connected. ;The USB thumb drive partion is normally going to be the second partition of the first attached usb storage device. in this case /dev/sdb2 .
; To boot Linux from a Linux partition on a USB thumb drive from the U-Boot shell use ;run lb2 ;To boot Linux from a hard drive partition from the U-boot shell use ;run lb1 ;To boot from tftp server (Fastest boot option) ; run lb3 ; the following ip addresses need to be set for tftp with the correct addresses for your server and your Sam460 ;nvsetvar serverip=192.168.1.14 ;nvsetvar ipaddr=192.168.1.13
@Spectre660 thank you for script! It looks, that even in the case of booting from harddisk I should have USB disk with kernel? ( nvsetvar lb1="ext2load usb 0:3 1000000 ${uimage}... )
Can I use ext2load also for HDD partition? like ext2load ide 0:3 ? I will download your latest kernel and test it with this script.
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
@Spectre660 Just tested in latest uboot. There is sata subsystem, but it seems not so complete as usb. I see device 0, but ext2fs sata 0:x not works. Usb does. So I will prepare USB ext2/boot and try.
Edit: maybe sata in uboot only with internal Sam406ex SATA.
Edited by sailor on 2024/11/10 19:06:39
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 tried SD card ( connected to USB ). Partition table: RDB Bootloader: tested both Hyperbootloader and slb_v2, but it is probably irelevant Partitions: 1st SFS, 2nd ext2
in uboot: ext2ls usb 0:2 list partition, kernel+dtb visible ext2load usb 0:2 1000000 ${uimage} returns error
***Invalid partition type "EXT\2" (expect "U-Boot")
uimage variable is setted
Are there special conditions how can be USB formated? Or please, are there Sam460LE U-boot? manual?
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
In my case, USB does not work on QEMU. I made a bootable CD with kernel and parameters to boot Linux from disk. The system boots correctly. You can try this way if others fail.
Thank you very much!! Finally, I booted Debian 8 on Sam460LE
1. Uboot ext2load: USB with RDB not works, standart one yes 2. environment variables size is too large, script runs out of memory:
3. I deleted unusable envars ( lb2, lb3, ub ) Environment size lowers from 1016/1020 to 830/1020 bytes. After that it boots correctly ( with latest Spectre660´s kernel ):
] run lb1
Loading file "uImage-sam460ex-4.5.0" from usb device 0:1 (usbda1)
5221760 bytes read
Loading file "canyonlands.dtb" from usb device 0:1 (usbda1)
10811 bytes read
WARNING: adjusting available memory to 10000000
## Booting kernel from Legacy Image at 01000000 ...
Image Name: Linux-4.5.0-sam460ex
Created: 2016-03-14 10:31:59 UTC
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 5221696 Bytes = 5 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 02000000
Booting using the fdt blob at 0x2000000
Uncompressing Kernel Image ... OK
Loading Device Tree to 00ffa000, end 00fffa3a ... OK
[ 0.000000] Using Canyonlands machine description
[ 0.000000] Linux version 4.5.0-sam460ex (root@julian-VirtualBox) (gcc version 5.3.1 20160205 (Ubuntu 5.3.1-8ubuntu2) ) #1 PREEMPT Mon Mar 14 06:27:13 AST 2016
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000000000000-0x000000002fffffff]
[ 0.000000] Normal empty
[ 0.000000] HighMem [mem 0x0000000030000000-0x000000007fffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x000000007fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000007fffffff]
[ 0.000000] MMU: Allocated 1088 bytes of context maps for 255 contexts
...
[ 10.542083] systemd-journald[1507]: Received request to flush runtime journal from PID 1
[ 12.009477] eth0: link is up, 1000 FDX
Debian GNU/Linux 8 Sam460 ttyS0
Sam460 login: martina
Password:
Linux Sam460 4.5.0-sam460ex #1 PREEMPT Mon Mar 14 06:27:13 AST 2016 ppc
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
4. I had to swap graphics card, my fastest powerpc linux HD6870 have no output. HD7750 works fine. But will have no 3D acceleration if I will install desktop later. In kernel readme are mentioned this supported cards: Radeon HD5450 Radeon HD6450 Radeon HD6570 Radeon HD6670 Radeon HD7750,HD7770,R7-250E,R7-250X Radeon R7-265,R9-270,R9-270X Radeon R9-280,R9-280X
Please, how complex is to add other card support? HD6870 works for me in X1000 with 5.x kernel from xeno. Is enough to put in radeon/BARTS_pfp.bin ? Or where I obtain complete list of supported cards? Maybe xorg.log after desktop installation? Or the above list is complete?
In any case many thanks to all supporters! I will continue with further configuration.
Edited by sailor on 2024/11/11 20:47:14
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
There was no working graphics hardware acceleration for any of the graphics cards however .
The graphics card firmware is embedded in the kernel .
The later Sam460ex kernels that I did should have support for the Radeon HD6800 series. Untested however . Have uploaded the last one to Dropbox at the link below.
@sailor Great that you managed to get everything working
After your post I got a bit interested in Linux on sam460. The topic is more related to QEMU. I've actually made myself a kernel with some patches and ran some things on virtio (gpu,fb,net,blk-pci...). I hope that after a few system updates I will be able to run everything in ‘X’