Re: [linux-sunxi] [PATCH v3 0/4] uboot sata support for sunxi platform

2014-03-12 Thread Ian Campbell
On Wed, 2014-03-12 at 06:53 -0700, Ezaul Zillmer wrote:
> 
> Nothing appears scsi info

Perhaps try increasing WAIT_MS_LINKUP some more (as per patch 3/4)?

Ian.

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [linux-sunxi] [PATCH v3 0/4] uboot sata support for sunxi platform

2014-03-12 Thread Ian Campbell
On Wed, 2014-03-12 at 14:17 +0100, Koen Kooi wrote:
> Op 12 mrt. 2014, om 13:56 heeft Ian Campbell  het 
> volgende geschreven:
> 
> > On Wed, 2014-03-12 at 05:43 -0700, Ezaul Zillmer wrote:
> > 
> > I'm afraid much of your mail was incomprehensible to me.
> > 
> >> setenv bootargs console = tty0 console = ttyS0, 115200 = hdmi.audio
> >> EDID: 0 = disp.screen0_output_mode EDID: 1280x800p60 root = / dev/sda1
> >> rootfstype = ext4 rootwait panic = 10 
> >> ext4load 0 0x4300 scsi boot / script.bin 
> >> ext4load 0 0x4600 scsi boot / uImage 
> >> ext4load scsi 0 0x4900 boot/cubie2.dtb 
> > 
> > The first two and the last one are using a totally different syntax,
> > only one of them can be correct, I suggest you check the uboot help/docs
> > and experiment by hand on the uboot console before trying to construct a
> > boot.scr.
> 
> I've noticed 'ext4load' twice today, once in the mail above and once
> in the 'fedora on panda' blog post. What's stopping people from using
> the generic 'fsload' commands?

Personally because I'd never heard of it ;-)

Ian.


-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [linux-sunxi] [PATCH v3 0/4] uboot sata support for sunxi platform

2014-03-12 Thread Koen Kooi

Op 12 mrt. 2014, om 13:56 heeft Ian Campbell  het volgende 
geschreven:

> On Wed, 2014-03-12 at 05:43 -0700, Ezaul Zillmer wrote:
> 
> I'm afraid much of your mail was incomprehensible to me.
> 
>> setenv bootargs console = tty0 console = ttyS0, 115200 = hdmi.audio
>> EDID: 0 = disp.screen0_output_mode EDID: 1280x800p60 root = / dev/sda1
>> rootfstype = ext4 rootwait panic = 10 
>> ext4load 0 0x4300 scsi boot / script.bin 
>> ext4load 0 0x4600 scsi boot / uImage 
>> ext4load scsi 0 0x4900 boot/cubie2.dtb 
> 
> The first two and the last one are using a totally different syntax,
> only one of them can be correct, I suggest you check the uboot help/docs
> and experiment by hand on the uboot console before trying to construct a
> boot.scr.

I've noticed 'ext4load' twice today, once in the mail above and once in the 
'fedora on panda' blog post. What's stopping people from using the generic 
'fsload' commands?

regards,

Koen

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [linux-sunxi] [PATCH v3 0/4] uboot sata support for sunxi platform

2014-03-12 Thread Ezaul Zillmer

>
> sun7i# scsi reset
>
> Reset SCSI
> scanning bus for devices...
> timeout exit!
> Found 0 device(s).
>
> this same problem not think that the drive to boot 
>
> Nothing appears scsi info
>
> :( 
> I will try to put another HD
>
> Loading the kernel 
> [3.723244] ata1.00: ATA-8: SAMSUNG HM320II, 2AC101C4, max UDMA/133 
> [3.729646] ata1.00: 625142448 sectors, multi 0: LBA48 NCQ (depth 31/32) 
> [3.748349] ata1.00: configured for UDMA/133 
> [3.752698] ATA1: EH complete 
> [3.756157] scsi 0:0:0:0: Direct-Access ATA SAMSUNG HM320II 2AC1 PQ: 0 
> ANSI: 5 
> [3.767627] sd 0:0:0:0: [sda] 625142448 512-byte logical blocks: (320 
> GB/298 GiB) 
> [3.787130] sd 0:0:0:0: [sda] Write Protect is off 
> [3.796692] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, 
> does not support DPO or FUA 
> [3.827250] sda: sda1 
> [3.836155] sd 0:0:0:0: [sda] Attached SCSI disk 
> done. 
>
>
> Ezaul Zillmer
>

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [linux-sunxi] [PATCH v3 0/4] uboot sata support for sunxi platform

2014-03-12 Thread Ian Campbell
On Wed, 2014-03-12 at 05:43 -0700, Ezaul Zillmer wrote:

I'm afraid much of your mail was incomprehensible to me.

> setenv bootargs console = tty0 console = ttyS0, 115200 = hdmi.audio
> EDID: 0 = disp.screen0_output_mode EDID: 1280x800p60 root = / dev/sda1
> rootfstype = ext4 rootwait panic = 10 
> ext4load 0 0x4300 scsi boot / script.bin 
> ext4load 0 0x4600 scsi boot / uImage 
> ext4load scsi 0 0x4900 boot/cubie2.dtb 

The first two and the last one are using a totally different syntax,
only one of them can be correct, I suggest you check the uboot help/docs
and experiment by hand on the uboot console before trying to construct a
boot.scr.

> env September fdt_high  

WTF?

Ian.


-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [linux-sunxi] [PATCH v3 0/4] uboot sata support for sunxi platform

2014-03-12 Thread Ezaul Zillmer
Hi Ian


U-Boot SPL 2014.01-rc1-gb754a91 (Mar 12 2014 - 09:11:26)
Board: Cubieboard2
DRAM: 1024 MiB
CPU: 96000Hz, AXI/AHB/APB: 3/2/2
spl: not an uImage at 1600


U-Boot 2014.01-rc1-gb754a91 (Mar 12 2014 - 09:11:26) Allwinner Technology

CPU:   Allwinner A20 (SUN7I)
Board: Cubieboard2
I2C:   ready
DRAM:  1 GiB
WARNING: Caches not enabled
MMC:   SUNXI SD/MMC: 0
SCSI:  SUNXI SCSI INIT
SATA link 0 timeout.
AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
flags: ncq stag pm led clo only pmp pio slum part ccc apst 
*** Warning - bad CRC, using default environment

In:serial
Out:   serial
Err:   serial
Net:   mii0
Warning: failed to set MAC address

Hit any key to stop autoboot:  0 
** Unrecognized filesystem type **
** File not found boot/uEnv.txt **
** File not found uEnv.txt **
** Unrecognized filesystem type **
414 bytes read in 11 ms (36.1 KiB/s)
Jumping to boot.scr
## Executing script at 4400
45384 bytes read in 31 ms (1.4 MiB/s)
invalid extent block
invalid extent block
ext4fs_devread read outside partition 4294967120
20752 bytes read in 16 ms (1.2 MiB/s)
Wrong Image Format for bootm command
ERROR: can't get kernel image!
45384 bytes read in 18 ms (2.4 MiB/s)
invalid extent block
invalid extent block
ext4fs_devread read outside partition 4294967120
** Unrecognized filesystem type **
** File not found /script.bin **


 
What is not wrong that the boot SCSI wheel 
Where am I going wrong with leaving boot.cmd? 
use today as well 

boot.cmd 
setenv bootargs console = tty0 console = ttyS0, 115200 = hdmi.audio EDID: 0 
= disp.screen0_output_mode EDID: 1280x800p60 root = / dev/mmcblk0p1 
rootfstype = ext4 rootwait panic = 10 
ext4load mmc 0 0x4300 boot / script.bin 
ext4load mmc 0 0x4600 boot / uImage 
ext4load mmc 0 0x4900 boot/cubie2.dtb 
env September fdt_high  
bootm 0x4600 - 0x4900 

MMC for swap SCSI? 

It should be assimo Boot.cmd? 

setenv bootargs console = tty0 console = ttyS0, 115200 = hdmi.audio EDID: 0 
= disp.screen0_output_mode EDID: 1280x800p60 root = / dev/sda1 rootfstype = 
ext4 rootwait panic = 10 
ext4load 0 0x4300 scsi boot / script.bin 
ext4load 0 0x4600 scsi boot / uImage 
ext4load scsi 0 0x4900 boot/cubie2.dtb 
env September fdt_high  
bootm 0x4600 - 0x4900 

I thank 
Hug!




Em sábado, 8 de março de 2014 01h16min30s UTC-3, Ian Campbell escreveu:
>
> On Fri, 2014-03-07 at 08:44 -0800, Ezaul Zillmer wrote: 
> > You would have a repository with these updates where I could play with 
> > git, 
> > compile and test my cubieboard2 using kernel 3.14.rc5 
>
> git://gitorious.org/ijc/u-boot.git ahci-sunxi 
>
> It is based on jwrdegoede/sunxi-next. 
>
> Ian. 
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [linux-sunxi] [PATCH v3 0/4] uboot sata support for sunxi platform

2014-03-07 Thread Ian Campbell
On Fri, 2014-03-07 at 08:44 -0800, Ezaul Zillmer wrote:
> You would have a repository with these updates where I could play with
> git, 
> compile and test my cubieboard2 using kernel 3.14.rc5 

git://gitorious.org/ijc/u-boot.git ahci-sunxi

It is based on jwrdegoede/sunxi-next.

Ian.


-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [linux-sunxi] [PATCH v3 0/4] uboot sata support for sunxi platform

2014-03-07 Thread Ezaul Zillmer
Hi Ian .. 

You would have a repository with these updates where I could play with git, 
compile and test my cubieboard2 using kernel 3.14.rc5 

I'm waiting! to test your boot! 
thank you

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [linux-sunxi] [PATCH v3 0/4] uboot sata support for sunxi platform

2014-03-06 Thread Ian Campbell
On Fri, 2014-03-07 at 01:19 +, Ian Campbell wrote:
> This is the third version of my series to add support for AHCI to the
> sunxi platform. This uses the existing ahci platform support already
> present in u-boot. Most of the sunxi specific code comes from the Linux
> platform patches.
> 
> Since last time I've cut out all the unused register #defines and made
> the Calxeda midway platform use the scsi_init hook (new patch).
> 
> I've tested this only on cubietruck, but it is enabled for Olinino
> Micro, cubieboard and cubieboard2 based on inspection of the Linux DTS
> files. I have also now tested on Calxeda midway.
> 
> Once again as requested I am also cross posting to the main uboot
> mailing list since the first two patches are generic and don't rely on

Oops:  ^three

That is:
ahci-plat: Provide a weak scsi_init hook
highbank: use scsi_init hook
ahci: wait longer for link.

are all suitable for main line.

> sunxi stuff and so could go into mainline now.
> 
> Ian.
> 


-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.