Re: [ARMedslack] getting SATA working on seagate goflex net

2013-04-23 Thread Davide
I came across that yesterday while trying to check if I had the right arcnumber 
... it would be really handy to have a list of the devices and their correct 
archnumber  somewhere ;-) 

I tried setting 3089 as archnumber but the slackware kernel no longer boots if 
I do that.
This can probably be fixed if I rebuild the kernel (not sure if patching is 
needed too) ... but since my work on ClashNG there are 2 new members in my 
family so if I can avoid time consuming stuff that would be really good.
Can I borrow a kernel from somewhere else that is known to work well if I use 
it on a slackware arm 14 userland (and has support for all features of the 
goflex net )?

Regards

David




 Da: Richard Lapointe richard.lapoi...@gmail.com
A: Davide louigi...@yahoo.it; Slackware ARM port 
armedslack@lists.armedslack.org 
Inviato: Martedì 23 Aprile 2013 0:42
Oggetto: Re: [ARMedslack] getting SATA working on seagate goflex net
 


Maybe this will help

http://forum.doozan.com/read.php?2,12045,12045#msg-12045

Rich Lapointe

On 04/22/2013 08:49 AM, Davide wrote:

I decided it was time to pull out the goflexnet and hook up two 2.5 sata 
drives on it.
I've slackware arm 14 running on it but I can't seem to see
  anything like a sata bus detected on my goflex net.

Do I need to do something on uboot ro enable sata before the
  kernel is started ?

I've also fixed the rootfs not being passed correctly via
  kernel command line:
fw_setenv usb_scan 'usb start; setenv usb_boot_dev none; for
  dev in  $usb_dev_list; do test $dev -eq 0  setenv
  devname /dev/sda ; test $dev -eq 1  setenv devname
  /dev/sdb ; test $dev -eq 2  setenv devname /dev/sdc
  ; test $dev -eq 3  setenv devname /dev/sdd ; echo
  $devname ; for part in $usb_part_list; do echo $dev $part ; if
  ext2ls usb ${dev}:$part /etc ; then setenv root_fs
  root=${devname}$part ; setenv rootfstype rootfs=ext2 ; fi ; if
  ext2load usb ${dev}:$part 0x80 /boot/uImage 10 ; then
  setenv usb_boot_dev $dev:$part ; setenv usb_boot_dir /boot ;
  fi  ; if ext2load usb ${dev}:$part 0x80 /uImage 10 ; then
  setenv usb_boot_dev $dev:$part ; setenv usb_boot_dir ; fi  ;
  done; done; if test $usb_boot_dev = none ; then echo No
  USB bootable device found ; else echo USB device
  $usb_boot_dev is bootable ; setenv bootargs $console
  $mtdparts $root_fs ro $rootfstype ; echo $bootargs ; sleep 1;
  ext2load usb $usb_boot_dev 0x80 $usb_boot_dir/uImage
   setenv usb_boot_address 0x80 ; ext2load usb
  $usb_boot_dev 0x110 $usb_boot_dir/uinitrd 
  setenv usb_boot_address 0x80 0x110 ; bootm
  $usb_boot_address ; fi;'
fw_setenv bootcmd 'run usb_scan; run set_flash_bootargs; run
  boot_flash_kernel'

but that does not seem to help detecting anything connected to
  the sata ports.

Is the arch number correct ? 
arcNumber=2097

Also I can't find where the leds are controlled ... there are
  a total of 8 monochromatic and one bicolr lets on this thing
  but I can only find this:
root@slackware:/sys/class/leds# ls
plug:green:health@  plug:red:misc@
root@slackware:/sys/class/leds#

what's up with the 8 white leds ?

Reegards
David


___
ARMedslack mailing list ARMedslack@lists.armedslack.org 
http://lists.armedslack.org/mailman/listinfo/armedslack ___
ARMedslack mailing list
ARMedslack@lists.armedslack.org
http://lists.armedslack.org/mailman/listinfo/armedslack


Re: [ARMedslack] getting SATA working on seagate goflex net

2013-04-22 Thread Richard Lapointe

Maybe this will help

http://forum.doozan.com/read.php?2,12045,12045#msg-12045

Rich Lapointe
On 04/22/2013 08:49 AM, Davide wrote:
I decided it was time to pull out the goflexnet and hook up two 2.5 
sata drives on it.
I've slackware arm 14 running on it but I can't seem to see anything 
like a sata bus detected on my goflex net.


Do I need to do something on uboot ro enable sata before the kernel is 
started ?


I've also fixed the rootfs not being passed correctly via kernel 
command line:
fw_setenv usb_scan 'usb start; setenv usb_boot_dev none; for dev in  
$usb_dev_list; do test $dev -eq 0  setenv devname /dev/sda ; test 
$dev -eq 1  setenv devname /dev/sdb ; test $dev -eq 2  setenv 
devname /dev/sdc ; test $dev -eq 3  setenv devname /dev/sdd ; echo 
$devname ; for part in $usb_part_list; do echo $dev $part ; if ext2ls 
usb ${dev}:$part /etc ; then setenv root_fs root=${devname}$part ; 
setenv rootfstype rootfs=ext2 ; fi ; if ext2load usb ${dev}:$part 
0x80 /boot/uImage 10 ; then setenv usb_boot_dev $dev:$part ; 
setenv usb_boot_dir /boot ; fi  ; if ext2load usb ${dev}:$part 
0x80 /uImage 10 ; then setenv usb_boot_dev $dev:$part ; setenv 
usb_boot_dir ; fi  ; done; done; if test $usb_boot_dev = none ; 
then echo No USB bootable device found ; else echo USB device 
$usb_boot_dev is bootable ; setenv bootargs $console $mtdparts 
$root_fs ro $rootfstype ; echo $bootargs ; sleep 1; ext2load usb 
$usb_boot_dev 0x80 $usb_boot_dir/uImage  setenv usb_boot_address 
0x80 ; ext2load usb $usb_boot_dev 0x110 $usb_boot_dir/uinitrd 
 setenv usb_boot_address 0x80 0x110 ; bootm 
$usb_boot_address ; fi;'
fw_setenv bootcmd 'run usb_scan; run set_flash_bootargs; run 
boot_flash_kernel'


but that does not seem to help detecting anything connected to the 
sata ports.


Is the arch number correct ?
arcNumber=2097

Also I can't find where the leds are controlled ... there are a total 
of 8 monochromatic and one bicolr lets on this thing but I can only 
find this:

root@slackware:/sys/class/leds# ls
plug:green:health@  plug:red:misc@
root@slackware:/sys/class/leds#

what's up with the 8 white leds ?

Reegards
David


___
ARMedslack mailing list
ARMedslack@lists.armedslack.org
http://lists.armedslack.org/mailman/listinfo/armedslack


___
ARMedslack mailing list
ARMedslack@lists.armedslack.org
http://lists.armedslack.org/mailman/listinfo/armedslack