• Home
  • Help
  • Search
  • Login
  • Register
  Show Posts
Pages: 1 ... 7 8 [9]
121  Hardware and U-Boot firmware / U-Boot stuff / Boot from Esata ( fixed ) on: February 20, 2010, 03:49:01 AM
Hi, I have an Esata version from New IT, and trying now to boot off the Esata drive.
I`ve solved most parts of this, But I think I`m stuck on finding the right Uboot setting?.
I`ve downloaded and installed the Uboot_sata.bin from http://www.newit.co.uk/u-boot/
Complied a Esata Kernel which does work if booted from a usb drive .
But setting which boot the usb drive won`t the sata drive.

setenv mainlineLinux yes
setenv bootargs_console console=ttyS0,115200
setenv bootargs_root 'root=/dev/sda2 rootdelay=10'
setenv bootcmd_usb 'usb start; ext2load usb 0:1 0x0800000 /sheeva-2.6.32.8-uImage'
setenv bootcmd 'setenv bootargs $(bootargs_console) $(bootargs_root); run bootcmd_usb; bootm 0x0800000'
saveenv

is there a bootcmd_sata ?
122  Linux Stuff / Kernel / Re: kernel change part 2 on: February 17, 2010, 04:27:23 PM
Wow , That was easy !! , I didn`t even think it would compile never mind boot from.
I followed :-
http://www.computingplugs.com/index.php/Building_a_custom_kernel   and
http://plugcomputer.org/plugwiki/index.php/Compiling_Linux_Kernel_for_the_Plug_Computer
Picking the best bits from each.
Downloaded - linux-2.6.32.8.tar from kernel.org and codeSourcery - arm-2009q3-68-arm-none-eabi-i686-pc-linux-gnu.tar
Left the Kernel config at default, for I did know what the hell most of the setting was, So default looked the safer way.

So I`m left with a string of errors all todo with ipv6.

After doing a make ARCH=arm menuconfig , I`ve found that IPv6 is marked with a ( M ) to say it`s a module.

I have a Kernel folder which it generated which Net, lib, fs, drivers , crypto with file inside with a .ko extension.



OOOP a case of RTFM ... error free .
Where are I meant to put these file ?
The instructions says the Lib file ?
123  General Category / Application ideas and development Q/A / Re: Correct "script" for the GCC cross compiler for Sheeva Plug Computer on: February 17, 2010, 10:59:36 AM
Hi , I`m in the same boat .
For all the help I can find is in Linux, the only way I`ve found to get around it, is to run in Linux.
But Virtual with -  VirtualBox :- http://www.virtualbox.org/
124  Linux Stuff / Kernel / kernel change part 2 on: February 16, 2010, 08:29:38 AM
I have a Esata version of the sheevaplug supplied from new it.
Sorry I`m new to linux, so slowly, but surely getting to know it, mainly by trial and error, mostly error.
I`ve worked out booting from USB or SD card etc and not booting from the nand kernel drops to sata port.
( The Esata port has been tested and works with the nand kernel )
I`m looking how to make a new kernel with built in support for Esata and usb – FTDI.
So how do I add FTDI support to the one in the nand or add Esata support to the one there
http://sheeva.with-linux.com/sheeva/index.php?dir=2.6.32.8%2F  Which as FTDI support?
125  Linux Stuff / Kernel / Re: kernel change on: February 15, 2010, 01:55:16 PM
My new problem , which isn`t a problem let is I need to reset the ENVs ( it still boots )

I did a oops on it which didn`t help, that is doing a printenv and paste the result back ot it`s self !!!!

Code:
baudrate=115200
loads_echo=0
rootpath=/mnt/ARM_FS/
netmask=255.255.0.0
console=a0000
e=ttyS0,115200
CASset=min
MALLOC_len=1
ethprime=egiga0
ethmtu=1500
usb0Mode=host
nandEcc=1bit
ethact=egiga0
cesvcid=ULULULULULULPPULULULULULDA
bootargs_end=:::DB88FXX81:eth0:none
image_name=uImage
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000;
mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
yuk_ethaddr=00:00:00:EE:51:81
netretry=no
rcvrip=169.254.100.100
loadaddr=0x02000000
autoload=no
ethaddr=00:50:43:01:4D:34
run_diag=no
serverip=10.10.0.2
ipaddr=10.10.0.1
nandEnvBase=a0000
pcieTune=no
bootcmd_mmc=mmcinit; ext2load mmc 0 0x0800000 /uInitrd; ext2load mmc 0 0x400000 /uImage
bootargs_setenv=bootcmd nand read.e 0x800000 0x100000 0x400000; bootm 0x800000
bootcmd_msetenv=bootcmd setenv bootargs $(bootargs_console) $(bootargs_root); run bootcmd_mmc; bootm 0x400000 0x0800000
arcNumber=2097
bootargs=console=ttyS0,115200 mtdparts=nand_mtd:0x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs) rw root=/dev/mtdblock1 rw ip=10.4.50.4:10.4.50.5:10.4.50.5:255.255.255.0:DB88FXX81:eth0:none
bootargs_console=console=ttyS0,115200
bootargs_root=root=/dev/sda2 rootdelay=10
bootcmd_usb=usb start; ext2load usb 0:1 0x0800000 /sheeva-2.6.32.8-uImage
bootcmd=setenv bootargs $(bootargs_console) $(bootargs_root); run bootcmd_usb; bootm 0x0800000
stdin=serial
stdout=serial
stderr=serial
mainlineLinux=yes
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
netbsd_en=no
vxworks_en=no
bootdelay=3
disaMvPnp=no
enaAutoRecovery=yes

I may have to do a printout and do a line by line to the factory default  or do a clear and dump.

126  Hardware and U-Boot firmware / U-Boot stuff / reset env settings ? on: February 15, 2010, 01:25:53 PM
It there a way to reset all the env setting and start again ?

I think I`ve messed my env up a little .

Code:
baudrate=115200
loads_echo=0
rootpath=/mnt/ARM_FS/
netmask=255.255.0.0
console=a0000
e=ttyS0,115200
CASset=min
MALLOC_len=1
ethprime=egiga0
ethmtu=1500
usb0Mode=host
nandEcc=1bit
ethact=egiga0
cesvcid=ULULULULULULPPULULULULULDA
bootargs_end=:::DB88FXX81:eth0:none
image_name=uImage
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000;
mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
yuk_ethaddr=00:00:00:EE:51:81
netretry=no
rcvrip=169.254.100.100
loadaddr=0x02000000
autoload=no
ethaddr=00:50:43:01:4D:34
run_diag=no
serverip=10.10.0.2
ipaddr=10.10.0.1
nandEnvBase=a0000
pcieTune=no
bootcmd_mmc=mmcinit; ext2load mmc 0 0x0800000 /uInitrd; ext2load mmc 0 0x400000 /uImage
bootargs_setenv=bootcmd nand read.e 0x800000 0x100000 0x400000; bootm 0x800000
bootcmd_msetenv=bootcmd setenv bootargs $(bootargs_console) $(bootargs_root); run bootcmd_mmc; bootm 0x400000 0x0800000
arcNumber=2097
bootargs=console=ttyS0,115200 mtdparts=nand_mtd:0x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs) rw root=/dev/mtdblock1 rw ip=10.4.50.4:10.4.50.5:10.4.50.5:255.255.255.0:DB88FXX81:eth0:none
bootargs_console=console=ttyS0,115200
bootargs_root=root=/dev/sda2 rootdelay=10
bootcmd_usb=usb start; ext2load usb 0:1 0x0800000 /sheeva-2.6.32.8-uImage
bootcmd=setenv bootargs $(bootargs_console) $(bootargs_root); run bootcmd_usb; bootm 0x0800000
stdin=serial
stdout=serial
stderr=serial
mainlineLinux=yes
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
netbsd_en=no
vxworks_en=no
bootdelay=3
disaMvPnp=no
enaAutoRecovery=yes
127  Linux Stuff / Kernel / Re: kernel change on: February 15, 2010, 12:21:48 PM
Thank you !!!! , you are spot on

only changed :-

setenv bootcmd_usb 'usb start; ext2load usb 0:1 0x0800000 /sheeva-2.6.32.8-uImage'
setenv bootcmd 'setenv bootargs $(bootargs_console) $(bootargs_root); run bootcmd_usb; bootm 0x0800000'

and have a boot after all day trying .

Webmin says - Linux 2.6.32.8 on armv5tel , so the kernel change did work.
128  Linux Stuff / Kernel / Re: kernel change on: February 15, 2010, 10:23:13 AM
Just tried TheBigYahi method :-

mkdir /mnt/BootMnt
mount /dev/sda1 /mnt/BootMnt/
wget http://sheeva.with-linux.com/sheeva/README-2.6.32.8
chmod 755 README-2.6.32.8
./README-2.6.32.8 --rootkernel
mv /boot/sheeva-2.6.32.8-uImage /mnt/BootMnt/uImage

And still get the same :-

Code:
CPU : Marvell Feroceon (Rev 1)

Streaming disabled
Write allocate disabled


USB 0: host mode
PEX 0: interface detected no Link.
Net:   egiga0 [PRIME], egiga1
Hit any key to stop autoboot:  3 2 1 0
(Re)start USB...
USB:   scanning bus for devices... 2 USB Device(s) found
       scanning bus for storage devices... 1 Storage Device(s) found
.
........................
.........................
.........................
.........................
.........................
.........................
.........................
.........................
.........................
.........................
.........................
.........................
.........................
.........................
.........................
.........................
.........................
.

4480111 bytes read
.
.........................
.........................
.........................
.........................
.........................
.........................
.......................
..
........................

I think it`s getting to be not what I`m doing , but what uimage I`m trying to install .
or something else !!!!
129  Linux Stuff / Kernel / kernel change on: February 15, 2010, 09:03:47 AM
How do you change the kernel on Debian, when booting from a USB drive ?
( Made with http://www.cyrius.com/debian/kirkwood/sheevaplug/unpack.html )
I tried booting back from nand , mounting the boot partition ( sda1 ) and replacing the uImage file  (http://sheeva.with-linux.com/sheeva/index.php?dir=2.6.32.8%2F ) by renaming sheeva-xxxxxx-ulmage to just ulmage, and it won`t boot after that.
I tried replacing the old uImage back and it still wouldn’t boot, so in guess it`s not that simple to replace the kernel by swapping the UImage file.
I finished getting it to boot with the old UImage file, by tar untaring my tar ball back into the boot partition.

What is the way to replace the kernel and still make it boot ?
130  General Category / Success stories / Re: Transmission 1.80 released! Installed on my 9.04 plug on: February 15, 2010, 07:21:14 AM
The best part is Flexget
That is what does most of the work, and it works with any cli torrent programs .
So will work with ctorrent , rtorrent etc , which is only small and you don`t need to compile to get working.
131  General Category / Success stories / Re: Transmission 1.80 released! Installed on my 9.04 plug on: February 10, 2010, 02:15:15 PM
I tried via the apt-get install and finished up with 1.21 , oops
Pages: 1 ... 7 8 [9]