Poster | Thread |
Spectre660
| |
Re: Linux on Sam440ep and Sam440ep-Flex Posted on 8-Feb-2016 14:01:02
| | [ #301 ] |
|
|
|
Elite Member |
Joined: 5-Jun-2005 Posts: 3918
From: Unknown | | |
|
| |
Status: Offline |
|
|
Spectre660
| |
Re: Linux on Sam440ep and Sam440ep-Flex Posted on 11-Feb-2016 14:33:33
| | [ #302 ] |
|
|
|
Elite Member |
Joined: 5-Jun-2005 Posts: 3918
From: Unknown | | |
|
| |
Status: Offline |
|
|
xeno74
| |
Re: Linux on Sam440ep and Sam440ep-Flex Posted on 14-Mar-2016 13:09:40
| | [ #303 ] |
|
|
|
Cult Member |
Joined: 15-Dec-2010 Posts: 667
From: Unknown | | |
|
| |
Status: Offline |
|
|
xeno74
| |
Re: Linux on Sam440ep and Sam440ep-Flex Posted on 19-Mar-2016 18:15:03
| | [ #304 ] |
|
|
|
Cult Member |
Joined: 15-Dec-2010 Posts: 667
From: Unknown | | |
|
| |
Status: Offline |
|
|
Spectre660
| |
Re: Linux on Sam440ep and Sam440ep-Flex Posted on 17-Apr-2016 13:23:46
| | [ #305 ] |
|
|
|
Elite Member |
Joined: 5-Jun-2005 Posts: 3918
From: Unknown | | |
|
| Need some feed back on booting Linux form Uboot shell on Sam440ep.
The Sam460 version tested and working. If can t get any feedback on Sam440ep I will have to drop support totally.
_________________ Sam460ex : Radeon Rx550 Single slot Video Card : SIL3112 SATA card |
|
Status: Offline |
|
|
Spectre660
| |
Re: Linux on Sam440ep and Sam440ep-Flex Posted on 17-Apr-2016 13:27:54
| | [ #306 ] |
|
|
|
Elite Member |
Joined: 5-Jun-2005 Posts: 3918
From: Unknown | | |
|
| Sam460ex and Sam460cr
; 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
nvsetvar uimage="uImage-460" nvsetvar dtb="sam460.dtb"
nvsetvar bootargs="root=/dev/sda6 console=ttyS0,115200 console=tty0" nvsetvar ub="setenv bootargs 'root=/dev/sbc2 rootdelay=10 console=ttyS0,115200 console=tty0' " nvsetvar lb1="ext2load usb 0:3 1000000 ${uimage};ext2load usb 0:3 2000000 ${dtb};bootm 1000000 - 2000000" nvsetvar lb2="run ub ;run lb1" nvsetvar lb3="tftp 1000000 ${uimage};tftp 2000000 ${dtb};bootm 1000000 - 2000000"
Last edited by Spectre660 on 17-Apr-2016 at 01:29 PM.
_________________ Sam460ex : Radeon Rx550 Single slot Video Card : SIL3112 SATA card |
|
Status: Offline |
|
|
Spectre660
| |
Re: Linux on Sam440ep and Sam440ep-Flex Posted on 17-Apr-2016 13:28:26
| | [ #307 ] |
|
|
|
Elite Member |
Joined: 5-Jun-2005 Posts: 3918
From: Unknown | | |
|
| Sam440ep and 440ep-flex
; This file can be executed from AmigaOS 4.x to get the Uboot variables correct using the excute command. ;The the first hard drive attached to the onboard sii SATA 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 Sam440ep ;nvsetvar serverip=192.168.1.14 ;nvsetvar ipaddr=192.168.1.13
nvsetvar uimage="cuImage-440"
nvsetvar bootargs="root=/dev/sda6 console=ttyS0,115200 console=tty0" nvsetvar ub="setenv bootargs 'root=/dev/sdb2 rootdelay=10 console=ttyS0,115200 console=tty0' " nvsetvar lb1="ext2load usb 0:3 500000 ${uimage};bootm 500000" nvsetvar lb2="run ub ;run lb1" nvsetvar lb3="tftp 500000 ${uimage};bootm 500000"
Last edited by Spectre660 on 17-Apr-2016 at 01:29 PM.
_________________ Sam460ex : Radeon Rx550 Single slot Video Card : SIL3112 SATA card |
|
Status: Offline |
|
|
Spectre660
| |
Re: Linux on Sam440ep and Sam440ep-Flex Posted on 17-Apr-2016 13:51:49
| | [ #308 ] |
|
|
|
Elite Member |
Joined: 5-Jun-2005 Posts: 3918
From: Unknown | | |
|
| This is the Linux image for testing.
https://www.dropbox.com/s/jgyqupomp3i3bmi/Ubuntu-Mate_16.04-2.img.7z?dl=0
It needs to be extracted and then written to a USB thumb drive (Minimum size 8 GB). Extraction tool under AmigaOS 4.x http://amiga.sourceforge.net/?showpackage=p7zip
AmigaOS 4.1 command rawdisk can be used to write the extracted image to USB thumb drive. The USB thumb drive needs to have been set up using install with MediaToolbox first for the rawdisk copy to work .
rawdisk from Work:Ubuntu-Mate_16.04.img to usb0:
Once the uboot variables have been setup by executing the script in the post above from AmigaOS 4.1 using the execute command Linux should be bootable for the USB thumb drive from the Uboot shell by using
run lb2
_________________ Sam460ex : Radeon Rx550 Single slot Video Card : SIL3112 SATA card |
|
Status: Offline |
|
|
xeno74
| |
Re: Linux on Sam440ep and Sam440ep-Flex Posted on 27-Apr-2016 16:31:56
| | [ #309 ] |
|
|
|
Cult Member |
Joined: 15-Dec-2010 Posts: 667
From: Unknown | | |
|
| |
Status: Offline |
|
|
Spectre660
| |
Re: Linux on Sam440ep and Sam440ep-Flex Posted on 16-May-2016 14:39:35
| | [ #310 ] |
|
|
|
Elite Member |
Joined: 5-Jun-2005 Posts: 3918
From: Unknown | | |
|
| |
Status: Offline |
|
|
Spectre660
| |
Re: Linux on Sam440ep and Sam440ep-Flex Posted on 9-Sep-2016 13:11:44
| | [ #311 ] |
|
|
|
Elite Member |
Joined: 5-Jun-2005 Posts: 3918
From: Unknown | | |
|
| ;Sam460ex Uboot settings for Linux booting via uboot shell
;Script by Julian Margetson (Spectre660)
; This file can be executed from AmigaOS 4.x using the execute command to set the correct Uboot variables.
;To enter the U-Boot shell press the Escape key while the Sam460ex boots
; The first hard drive attached to a 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 Boot args 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 the Linux kernel and dtb from a USB Drive partition from the U-boot shell use ;run usb
;To boot the Linux kernel and dtb from a tftp server (Fastest boot option) use ; run lan
;============================================================================================================
; Here we remove the Uboot variables previously used for installing Linux as there is a limit to the number of variables that ;can be defined at a given time
nvsetvar ub1="" nvsetvar ub2="" nvsetvar live=""
;============================================================================================================ ;set the variables needed ;============================================================================================================
;Boot args to be passed to the linux kernel
;#1 ; in this example the root partition is the sixth partition on the first hard drive /dev/sda6 nvsetvar bootargs="root=/dev/sda6 console=ttyS0,115200 console=tty0 fb=false"
;#2 ( Not active unless we remove the ";: infront of the nvsetvar line ; in thisexample the root partition is the second partition on the first USB drive /dev/sdb2 ;nvsetvar bootargs "root=/dev/sdb2 rootdelay=10 console=ttyS0,115200 console=tty0 fb=false"
;============================================================================================================
; the following ip addresses need to be set for tftp with the correct addresses for your server and your Sam460
;TFTP Server ip address nvsetvar serverip=192.168.1.14
;Sam460 ip address nvsetvar ipaddr=192.168.1.15
;============================================================================================================
;kernel name nvsetvar ui="uImage-460"
;dtb file name nvsetvar dt="sam460.dtb"
;ramdisk name nvsetvar ur="uRamdisk"
;USB partition with kernel,dtb and ramdisk . in this example and the default option ,the third partition of the first USB drive. Partition must be in ext2 format nvsetvar pt="usb 0:3"
;============================================================================================================
; Please dont change any of these variables
;kernel load address nvsetvar kl="1000000"
;dtb load address nvsetvar dl="2000000"
;ramdisk load address nvsetvar rl="3000000"
;Variable to load kernel and dtb file from USB drive nvsetvar usb="ext2load ${pt} ${kl} ${ui};ext2load ${pt} ${dl} ${dt};bootm ${kl} - ${dl}"
;Variable to load kernel and dtb file from TFTP server nvsetvar lan="tftp ${kl} ${ui};tftp ${dl} ${dt};bootm ${kl} - ${dl}"
_________________ Sam460ex : Radeon Rx550 Single slot Video Card : SIL3112 SATA card |
|
Status: Offline |
|
|
Spectre660
| |
Re: Linux on Sam440ep and Sam440ep-Flex Posted on 10-Nov-2016 21:20:22
| | [ #312 ] |
|
|
|
Elite Member |
Joined: 5-Jun-2005 Posts: 3918
From: Unknown | | |
|
| |
Status: Offline |
|
|
Spectre660
| |
Re: Linux on Sam440ep and Sam440ep-Flex Posted on 1-May-2017 15:16:22
| | [ #313 ] |
|
|
|
Elite Member |
Joined: 5-Jun-2005 Posts: 3918
From: Unknown | | |
|
| |
Status: Offline |
|
|
Hypex
| |
Re: Linux on Sam440ep and Sam440ep-Flex Posted on 2-May-2017 15:01:55
| | [ #314 ] |
|
|
|
Elite Member |
Joined: 6-May-2007 Posts: 11211
From: Greensborough, Australia | | |
|
| @Spectre660
Regarding USB booting it looks a little complicated. Given it must be set up first in MTB can the SLB not be installed to it so it can just autoboot? I know RawDisk doesn't help by locking out the start of the disk a times. |
|
Status: Offline |
|
|