Re: [linux-sunxi] donate boards to kernelci

2016-02-23 Thread Gerardo Di Iorio
Hi,you can share hw and SW on usb-serial-power device

Regards
Il 02/feb/2016 10:32, "Benjamin Henrion"  ha scritto:

> Hi,
>
> We have some 40EUR left too much from the sunxi dinner, it was decided
> to buy a Pine64 and donate it for the kernelci lab.
>
> There is also a need to have an H3 board on there, I have a second
> Orangepi PC that I will donate as well.
>
> If you have contacts with manufacturers (Olimex, Orangepi, others on
> this list), we should seek to have more boards on the kernelci lab.
>
> The kernelci fosdem talk was recorded, most of the technical questions
> regarding the lab setup (sd card swap, jtag access, etc...) were
> mostly left unanswered.
>
> I am working on a simple usbserial+usbpower controller which could be
> the start for actually adding some boards you have at home to the CI
> infrastructure. Most of the boards are powered via 5V, so cp2102 usb
> dongle can expose the serial console, and it can also control a cheap
> 5V relay via its exposed DTRpin. I am making a
> microUSBfemale-USBfemale adaptor, so that the power can be cut. Now
> all of this is connected to a tplink 703n router, which can act as a
> VPN/network/shell gateway.
>
> Best,
>
> --
> Benjamin Henrion 
> FFII Brussels - +32-484-566109 - +32-2-3500762
> "In July 2005, after several failed attempts to legalise software
> patents in Europe, the patent establishment changed its strategy.
> Instead of explicitly seeking to sanction the patentability of
> software, they are now seeking to create a central European patent
> court, which would establish and enforce patentability rules in their
> favor, without any possibility of correction by competing courts or
> democratically elected legislators."
>
> --
> 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.
>

-- 
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] mainline uboot with sunxi-next kernel hangs for Olimex A20 Lime2

2015-01-02 Thread Gerardo Di Iorio
hi,
the problem is that not find
the command for load script.bin with extlionux.conf
this is my extlinux.conf
http://sprunge.us/iRBG
i have this error
Ignoring unknown command: fatload
Ignoring unknown command: append


2015-01-01 13:25 GMT+01:00 Hans de Goede hdego...@redhat.com:

 Hi,

 On 31-12-14 18:16, Gerardo Di Iorio wrote:

 hi,

 2014-11-15 17:22 GMT+01:00 Iain Paton ipat...@gmail.com:

  On 15/11/14 13:18, Vishnu Patekar wrote:

  Followed the steps mentioned at

 http://linux-sunxi.org/Mainline_Kernel_Howto

 I've enabled the DEBUG_LL, DEBUG_SUNXI_UART0 , still While booting it on

 Olimex

 A20-OLinuXino-Lime2 http://linux-sunxi.org/Olimex_A20-OLinuXino-Lime2

 does

 not go beyond starting kernel...


 If you want to use mainline u-boot with sunxi kernels (rather then the
 mainline kernel) you need to enable the old kernel compatibility in
 u-boot's .config and spl/.config as outlined in the thread titled:

 linux-sunxi/u-boot-sunxi is no longer supported, time to switch to
 upstream u-boot

 And specifically this bit from the mail starting that thread:

 ###

 2. How to build upstream u-boot for use with linux-sunxi sunxi-3.4 kernels
 ==

 Here are some example instructions on how to build upstream u-boot for
 the Cubietruck:

 git clone git://git.denx.de/u-boot.git
 cd u-boot
 make -j4 CROSS_COMPILE=arm-linux-gnu- Cubietruck_defconfig
 # If you want to use an upstream kernel the next steps can be skipped (*)
 make -j4 CROSS_COMPILE=arm-linux-gnu- menuconfig
 #  select ARM architecture - Enable workarounds for booting old
 kernels
 #  exit  save
 make -j4 CROSS_COMPILE=arm-linux-gnu- spl/menuconfig
 #  select ARM architecture - Enable workarounds for booting old
 kernels
 #  exit  save
 # skip to here if you're using an upstream kernel
 make -j4 CROSS_COMPILE=arm-linux-gnu-

 And now you will have a u-boot-sunxi-with-spl.bin to dd to your sdcard as
 usual.

 If you look in the upstream configs directory you will already find
 defconfig files for a lot of popular boards there, replace
 Cubietruck_defconfig with the one for your board to build u-boot for your
 board.

 ###

 Regards,

 Hans


 --
 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.


-- 
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] mainline uboot with sunxi-next kernel hangs for Olimex A20 Lime2

2014-12-31 Thread Gerardo Di Iorio
hi,

2014-11-15 17:22 GMT+01:00 Iain Paton ipat...@gmail.com:

 On 15/11/14 13:18, Vishnu Patekar wrote:

  Followed the steps mentioned at
 http://linux-sunxi.org/Mainline_Kernel_Howto
  I've enabled the DEBUG_LL, DEBUG_SUNXI_UART0 , still While booting it on
 Olimex
  A20-OLinuXino-Lime2 http://linux-sunxi.org/Olimex_A20-OLinuXino-Lime2
 does
  not go beyond starting kernel...

 Without knowing what's in your boot.scr, your partition layout etc. it's
 difficult to help.

 The section in the mainline kernel howto relating to boot.cmd/boot.scr is
 probably
 out of date. With recent mainline u-boot like you've used, it's much
 simpler to
 use extlinux.conf. You then just need a single ext partition and can use
 zImage
 instead of uImage and avoid various problems.


but extlinux not work with vfat partition?



 My /boot/extlinux/extlinux.conf basically contains this:

 menu title LIME2 boot menu
 timeout 10
 ontimeout linux
 LABEL linux
 KERNEL /boot/zImage
 fdt /boot/sun7i-a20-olinuxino-lime2.dtb
 append root=/dev/mmcblk0p1 console=ttyS0,115200 ro rootwait

 with a repeated LABEL section for different images or append lines.

 My .config from a working kernel running on a lime2 can be found here
 http://pastebin.com/Znf14tqL
 (note that this is configured to be a multi platform kernel so has lots
 of stuff you don't need if you only need it to work on lime2)


 boot log using the same versions you used looks like this:

 U-Boot SPL 2015.01-rc1-00062-g0d485b9 (Nov 15 2014 - 14:28:17)
 DRAM: 1024 MiB
 CPU: 96000Hz, AXI/AHB/APB: 3/2/2


 U-Boot 2015.01-rc1-00062-g0d485b9 (Nov 15 2014 - 14:28:17) Allwinner
 Technology

 CPU:   Allwinner A20 (SUN7I)
 I2C:   ready
 DRAM:  1 GiB
 MMC:   SUNXI SD/MMC: 0
 *** Warning - bad CRC, using default environment

 In:serial
 Out:   serial
 Err:   serial
 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
 Net:   dwmac.1c5
 Hit any key to stop autoboot:  0
 switch to partitions #0, OK
 mmc0 is current device
 Scanning mmc 0...
 Found /boot/extlinux/extlinux.conf
 Retrieving file: /boot/extlinux/extlinux.conf
 617 bytes read in 251 ms (2 KiB/s)
 LIME2 boot menu
 1:  linux
 2:  recovery
 3:  sata
 4:  317rc1
 Enter choice: 1:linux
 Retrieving file: /boot/zImage
 3863048 bytes read in 376 ms (9.8 MiB/s)
 append: root=/dev/mmcblk0p1 console=ttyS0,115200 ro rootwait
 Retrieving file: /boot/sun7i-a20-olinuxino-lime2.dtb
 23270 bytes read in 183 ms (124 KiB/s)
 Kernel image @ 0x4200 [ 0x00 - 0x3af208 ]
 ## Flattened Device Tree blob at 4300
Booting using the fdt blob at 0x4300
Loading Device Tree to 4fff7000, end 4ae5 ... OK

 Starting kernel ...

 [0.00] Booting Linux on physical CPU 0x0
 [0.00] Linux version 3.18.0-rc3-lime2-31432-gd1b8ab3 (root@sl3)
 (gcc version 4.9.1 (GCC) ) #2 SMP Sat Nov 15 15:38:53 UTC 2014
 [0.00] CPU: ARMv7 Processor [410fc074] revision 4 (ARMv7),
 cr=10c5387d
 [0.00] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing
 instruction cache
 [0.00] Machine model: Olimex A20-OLinuXino-LIME2
 [0.00] cma: Reserved 16 MiB at 7f00



 --
 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.


-- 
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] Re: sata multiplier with A20

2014-12-29 Thread Gerardo Di Iorio
hi,

2014-12-29 11:33 GMT+01:00 tandresen1...@gmail.com:

 Hi,

 these are my test results for the hdd speed with the Marvel PMP MV88SM9602:

 Driver information:

 hdparm -I /dev/sda

 /dev/sda:

 ATA device, with non-removable media
 Model Number:WD10JPVT-00MS8T0
 Serial Number:   WD-WXB1A1356953
 Firmware Revision:
 Standards:
 Supported: 9 8 7 6
 Likely used: 9
 Configuration:
 Logical max current
 cylinders   16383   16383
 heads   16  16
 sectors/track   63  63
 --
 CHS current addressable sectors:   16514064
 LBAuser addressable sectors:  268435455
 LBA48  user addressable sectors: 1953525168
 device size with M = 1024*1024:  953869 MBytes
 device size with M = 1000*1000: 1000204 MBytes (1000 GB)
 Capabilities:
 LBA, IORDY(can be disabled)
 Queue depth: 32
 Standby timer values: spec'd by standard, with device specific
 minimum
 R/W multiple sector transfer: Max = 16  Current = 0
 AdvancedPM level: unknown setting (0x0060)
 DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6
 Cycle time: min=120ns recommended=120ns
 PIO: pio0 pio1 pio2 pio3 pio4
 Cycle time: no flow control=120ns  IORDY flow control=120ns
 Commands/features:
 Enabled Supported:
*NOP cmd
*READ BUFFER cmd
*WRITE BUFFER cmd
*Host Protected Area feature set
*Look-ahead
*Write cache
*Power Management feature set
 Security Mode feature set
*SMART feature set
*FLUSH CACHE EXT cmd
*Mandatory FLUSH CACHE cmd
*Device Configuration Overlay feature set
*48-bit Address feature set
 SET MAX security extension
*SET FEATURES subcommand required to spinup after power up
 Power-Up In Standby feature set
*Adv. Power Management feature set
*DOWNLOAD MICROCODE cmd
*General Purpose Logging feature set
*SMART self-test
*SMART error logging
 Security:
 Master password revision code = 65534
 supported
 not enabled
 not locked
 not frozen
 not expired: security count
 supported: enhanced erase
 178min for SECURITY ERASE UNIT. 178min for ENHANCED SECURITY ERASE
 UNIT.
 Checksum: correct

 Speed tests (reading):

 # hdparm -tT /dev/sda

 /dev/sda:
 Timing buffer-cache reads:   348 MB in 0.51 seconds = 695658 kB/s
 Timing buffered disk reads:  294 MB in 3.00 seconds = 100205 kB/s
 #

 time dd if=tempfile of=/dev/null bs=1M count=1024
 1024+0 records in
 1024+0 records out
 real0m 18.84s
 user0m 0.03s
 sys 0m 5.68s

 Writing:

 time dd if=/dev/zero of=tempfile bs=1M count=1024 conv=fsync,notrunc
 1024+0 records in
 1024+0 records out
 real1m 33.33s
 user0m 0.02s
 sys 0m 6.21s

 If you need some special test (we don't use raid for example) ask - i'll
 perform these tests if possible.


Is possible have this tests with same hd , but without PMP?

regards
Gerardo Di Iorio

Tobias



 Am Donnerstag, 25. Dezember 2014 12:01:34 UTC+1 schrieb Tobias Andresen:

 Yes, thats right. Forgot this to mention. Our custom A20 board has always
 a port multiplier on it.

 2014-12-25 10:59 GMT+01:00 Hans de Goede hdego...@redhat.com:

 Hi,

 On 25-12-14 10:48, tandresen1...@gmail.com wrote:

 I'll check this on Monday and post the results.


 3.19 has this patch:

 https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.
 git/commit/drivers/ata/ahci_sunxi.c?id=35c16a8f0b994461d49ce2479c6790
 3f95045159

 Which allows you to specify ahci_sunxi.enable_pmp=1 on the kernel
 commandline for use with port multipliers.

 I've been running my own tests with a port multiplier, and the reason why
 the original allwinner code has the AHCI_HFLAG_NO_PMP flag is because
 while port multipliers will work without it, normal disks will break if
 that flag is not set. So I've added a module option which
 will remove the flag when set for use with port multipliers.

 Regards,

 Hans



 Am Mittwoch, 24. Dezember 2014 15:37:26 UTC+1 schrieb arete74:


 hi, you can report the speed transfer with sata pm?

 regards

 2014-12-23 22:03 GMT+01:00 tandre...@gmail.com javascript::

  The A20 supports PMP, just remove the Flag AHCI_HFLAG_NO_PMP in the
 sunxi
 ahci driver.
 Please take a look in the Manual of the A20 (6.15.1). The SATA
 interface
 has the following specification:
 Comply with SATA Spec. 2.6, and AHCI Revision 1.3 specifications

 This includes the PMP support.

 We are using a Marvel PMP and it works fine - both disks are detected
 and
 work.

 Regards

Re: [linux-sunxi] Re: sata multiplier with A20

2014-12-24 Thread Gerardo Di Iorio
hi, you can report the speed transfer with sata pm?

regards

2014-12-23 22:03 GMT+01:00 tandresen1...@gmail.com:

 The A20 supports PMP, just remove the Flag AHCI_HFLAG_NO_PMP in the sunxi
 ahci driver.
 Please take a look in the Manual of the A20 (6.15.1). The SATA interface
 has the following specification:
 Comply with SATA Spec. 2.6, and AHCI Revision 1.3 specifications

 This includes the PMP support.

 We are using a Marvel PMP and it works fine - both disks are detected and
 work.

 Regards

 Tobias

 Am Dienstag, 23. Dezember 2014 11:55:58 UTC+1 schrieb bruce bushby:



 Any progress on this? I found this thread:
 http://forum.lemaker.org/thread-9207-1-1-.html

 Which states:
 the patch seems to work with the latest 3.18 kernel from Torvalds'
 git (3.18.0.-rc5) possibly with some earlier versions...


1. [1.735879] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl
300)
2. [1.742372] ata1.15: Port Multiplier 1.2, 0x197b:0x0325 r0, 5
ports, feat 0x5/0xf



 But apparently it's very slow ...although no figures given. Guess there
 is also the fear of data corruption given the lack of uptake/testing of
 AllWinner PMP


 Bruce





 On Monday, 5 May 2014 22:22:48 UTC+1, hase nase wrote:

 Hi,

 is it possible to use an sata multiplier with a A20 ? I tried it on a
 cubieboard, but i only got access to sda and no other connected drive

  --
 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.


-- 
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] Re: Is it possible to select kernel on boot ?

2014-12-20 Thread Gerardo Di Iorio
hi, with uboot mainline uboot you can use menu like lilo grub
See the option extlinux
My /boot/extlinux/extlinux.conf basically contains this:

menu title LIME2 boot menu
timeout 10
ontimeout linux
LABEL linux
KERNEL /boot/zImage
fdt /boot/sun7i-a20-olinuxino-lime2.dtb
append root=/dev/mmcblk0p1 console=ttyS0,115200 ro rootwait


An exmple image with select menu for hdmi and/or serial
check this page
https://github.com/ssvb/sunxi-bootsetup/releases/tag/20141215-sunxi-bootsetup-prototype

regards


2014-12-20 10:56 GMT+01:00 Bruno Prémont bonb...@linux-vserver.org:

 Hi,

 On Fri, 19 December 2014 nilsnu...@gmail.com wrote:
  I use lilo on x86/64 PC from 2002.
  Why it doesnt work on allwinner ? What is the problem ?
 
   I want try mainline kernel, is it possible to select kernel on boot ?
   Something similar to lilo\grub.

 Lilo has its core bootloader part written in x86 assembler and also
 depends on BIOS interface to work. So it's not compatible with uboot
 (nor EFI on PCs!).


 You can select different kernels from uboot if you want. It will
 not provide you with a nice graphical kernel selector but you can
 load the kernel you want from uboot command line (similar to what
 you would do in grub command line).
 With proper uboot scripting you can e.g. select the kernel based on
 status of GPIO lines (or pressed buttons).

 Bruno

 --
 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.


-- 
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.


[linux-sunxi] uboot 2014.10

2014-08-25 Thread Gerardo Di Iorio
hi i try to use uboot 2014.10
from hans repo
https://github.com/jwrdegoede/u-boot-sunxi branch next


I have the first partion of sd card with boot folder
and uEnv.txt file.
But uboot not read the file.
Was is missing?
board is cubie2

Regards Gerardo Di Iorio


U-Boot SPL 2014.10-rc1-g7190869 (Aug 25 2014 - 17:57:04)
DRAM: 1024 MiB
CPU: 96000Hz, AXI/AHB/APB: 3/2/2


U-Boot 2014.10-rc1-g7190869 (Aug 25 2014 - 17:57:04) Allwinner Technology

CPU:   Allwinner A20 (SUN7I)
I2C:   ready
DRAM:  1016 MiB
MMC:   SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment

Reserved 8192kB of RAM for Framebuffer.
In:serial
Out:   serial
Err:   serial
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
Net:   dwmac.1c5
Error: dwmac.1c5 address not set.

Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0...

SCSI device 0:
Device 0: device type unknown
... is now current device
Scanning scsi 0...
** Bad device size - scsi 0 **
** Bad device size - scsi 0 **
** Bad device size - scsi 0 **
** Bad device size - scsi 0 **
** Bad device size - scsi 0 **
** Bad device size - scsi 0 **
(Re)start USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 1 USB Device(s) found
USB1:   USB EHCI 1.00
scanning bus 1 for devices... 1 USB Device(s) found
   scanning usb for storage devices... 0 Storage Device(s) found

USB device 0: unknown device
dwmac.1c5 Waiting for PHY auto negotiation to complete. TIMEOUT
!
dwmac.1c5: No link.
missing environment variable: pxeuuid
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/
dwmac.1c5 Waiting for PHY auto negotiation to complete. TIMEOUT
!
dwmac.1c5: No link.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/000
dwmac.1c5 Waiting for PHY auto negotiation to complete. TIMEOUT
!
dwmac.1c5: No link.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00
dwmac.1c5 Waiting for PHY auto negotiation to complete. TIMEOUT
!
dwmac.1c5: No link.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0
dwmac.1c5 Waiting for PHY auto negotiation to complete. TIMEOUT
!
dwmac.1c5: No link.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/
dwmac.1c5 Waiting for PHY auto negotiation to complete. TIMEOUT
!
dwmac.1c5: No link.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/000
dwmac.1c5 Waiting for PHY auto negotiation to complete. TIMEOUT
!
dwmac.1c5: No link.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00
dwmac.1c5 Waiting for PHY auto negotiation to complete. TIMEOUT
!
dwmac.1c5: No link.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0
dwmac.1c5 Waiting for PHY auto negotiation to complete. TIMEOUT
!
dwmac.1c5: No link.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm-sunxi
dwmac.1c5 Waiting for PHY auto negotiation to complete. TIMEOUT
!
dwmac.1c5: No link.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm
dwmac.1c5 Waiting for PHY auto negotiation to complete. TIMEOUT
!
dwmac.1c5: No link.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default
dwmac.1c5 Waiting for PHY auto negotiation to complete. TIMEOUT
!
dwmac.1c5: No link.
Config file not found
dwmac.1c5 Waiting for PHY auto negotiation to complete. TIMEOUT
!
dwmac.1c5: No link.
sun7i#

-- 
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.


[linux-sunxi] linux 3.15 on cubie1

2014-06-12 Thread Gerardo Di Iorio
Hi i have build the kernel
for cubie2 and work fine.
I try to use same kernel , but with different dtb for cubie1
But the kernel not boot!

This is ths content of my uEnv.txt

autoload=no
bootargs=earlyprintk console=ttyS0,115200 root=/dev/mmcblk0p3 ro
rootfstype=ext4 loglevel=8 rootwait mac_addr=c0:b0:0a:44:65:28
boot_mmc=ext4load mmc 0 0x4600 /boot/sunxi-devel/uImage;ext4load mmc 0
0x4900 /boot/sunxi-devel/sun4i-a10cubieboard.dtb;fdt_high=;
bootm 0x4600 - 0x4900
uenvcmd=run boot_mmc



on serial i have this message
U-Boot SPL 2014.01-rc1-09136-g25ae46b (Dec 16 2013 - 22:44:29)
Board: Cubieboard
DRAM: 1024 MiB
CPU: 100800Hz, AXI/AHB/APB: 3/2/2
spl: not an uImage at 1600


U-Boot 2014.01-rc1-09136-g25ae46b (Dec 16 2013 - 22:44:29) Allwinner
Technology

CPU:   Allwinner A10 (SUN4I)
Board: Cubieboard
I2C:   ready
DRAM:  1 GiB
MMC:   SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment

In:serial
Out:   serial
Err:   serial
Net:   emac
Hit any key to stop autoboot:  0
** Unrecognized filesystem type **
325 bytes read in 8 ms (39.1 KiB/s)
Loaded environment from uEnv.txt
Running uenvcmd ...
2820720 bytes read in 193 ms (13.9 MiB/s)
18318 bytes read in 16 ms (1.1 MiB/s)
## Booting kernel from Legacy Image at 4600 ...
   Image Name:   Linux-3.15.0-rc6-16646-g8d0ef51
   Created:  2014-06-06  11:27:02 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:2820656 Bytes = 2.7 MiB
   Load Address: 40008000
   Entry Point:  40008000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 4900
   Booting using the fdt blob at 0x4900
   Loading Kernel Image ... OK
   Loading Device Tree to 40ff8000, end 40fff78d ... OK

Starting kernel ...


Regards
Gerardo Di Ioro

-- 
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.


[linux-sunxi] [PATCH 3.4] sun7i_deconfig enable option for usable kernel

2014-03-02 Thread Gerardo Di Iorio
Enable in sun7i_deconfig option for an usable kernel
I add nand,emac,ir,gpio,mmc

Signed-off-by: Gerardo Di Iorio aret...@gmail.com
---
 arch/arm/configs/sun7i_defconfig | 8 
 1 file changed, 8 insertions(+)

diff --git a/arch/arm/configs/sun7i_defconfig b/arch/arm/configs/sun7i_
defconfig
index 44f9bf4..3de48e4 100644
--- a/arch/arm/configs/sun7i_defconfig
+++ b/arch/arm/configs/sun7i_defconfig
@@ -436,6 +436,7 @@ CONFIG_BLK_DEV_RAM=y
 CONFIG_BLK_DEV_RAM_COUNT=2
 CONFIG_CDROM_PKTCDVD=m
 CONFIG_ATA_OVER_ETH=m
+CONFIG_SUNXI_NAND=m
 CONFIG_SUNXI_DBGREG=m
 CONFIG_TI_DAC7512=m
 CONFIG_EEPROM_AT24=m
@@ -458,6 +459,9 @@ CONFIG_ATA=y
 # CONFIG_SATA_PMP is not set
 CONFIG_SW_SATA_AHCI_PLATFORM=y
 # CONFIG_ATA_SFF is not set
+CONFIG_NETDEVICES=y
+CONFIG_SUNXI_EMAC=y
+CONFIG_PHYLIB=y
 CONFIG_MD=y
 CONFIG_BLK_DEV_DM=y
 CONFIG_DM_DEBUG=y
@@ -586,6 +590,7 @@ CONFIG_INPUT_KEYRESET=y
 CONFIG_KEYBOARD_SUN4IKEYPAD=m
 CONFIG_KEYBOARD_SUN4I_KEYBOARD=m
 CONFIG_KEYBOARD_HV2605_KEYBOARD=y
+CONFIG_IR_SUNXI=m
 # CONFIG_MOUSE_PS2 is not set
 CONFIG_MOUSE_SYNAPTICS_USB=m
 CONFIG_INPUT_JOYSTICK=y
@@ -691,7 +696,9 @@ CONFIG_PPS=m
 CONFIG_PTP_1588_CLOCK=m
 CONFIG_GPIOLIB=y
 CONFIG_GPIO_SYSFS=y
+CONFIG_GPIO_SUNXI=m
 CONFIG_W1=m
+CONFIG_W1_SUNXI=m
 CONFIG_W1_MASTER_GPIO=m
 CONFIG_POWER_SUPPLY=y
 CONFIG_AW_AXP=y
@@ -1057,6 +1064,7 @@ CONFIG_MMC_PARANOID_SD_INIT=y
 CONFIG_SDIO_UART=m
 CONFIG_MMC_USHC=m
 CONFIG_MMC_SUNXI_POWER_CONTROL=y
+CONFIG_MMC_SUNXI=y
 CONFIG_LEDS_CLASS=y
 CONFIG_LEDS_TRIGGER_TIMER=y
 CONFIG_LEDS_TRIGGER_HEARTBEAT=y
-- 
1.8.4.2

-- 
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/groups/opt_out.


Re: [linux-sunxi] how to flash android in NAND without phonixsuite ..

2014-02-20 Thread Gerardo Di Iorio
On Wed, Feb 19, 2014 at 10:00:08PM -0800, Puneet B wrote:
 Hi all,
 
 I am using A20 humming bird board.
 
 i want to boot android from NAND.
 
 i booted android from sd card successfully.
Good you can share you info on the wiki
 
 i want to know boot0 and boot1 , is it common for all A20 board.
 

try to create an livesuite image and use livesuite.
you can  create an livesuite image from android build(see cubieboad info)
http://linux-sunxi.org/Building_Android_TV_image
or modify an existing image
https://www.miniand.com/wiki/Allwinner/Unpacking+and+building+LiveSuit+images

Regards


 and to which sector i need to flash this.
 
 Regards
 Punith
 
 -- 
 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/groups/opt_out.

-- 
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/groups/opt_out.


[linux-sunxi] [PATCH] sun7i_deconfig add config option for an usable kernel I add Nand,emac,ir,gpio,mmc option

2014-02-18 Thread Gerardo Di Iorio
Signed-off-by: Gerardo Di Iorio aret...@gmail.com
---
 arch/arm/configs/sun7i_defconfig | 8 
 1 file changed, 8 insertions(+)

diff --git a/arch/arm/configs/sun7i_defconfig b/arch/arm/configs/sun7i_defconfig
index 44f9bf4..3de48e4 100644
--- a/arch/arm/configs/sun7i_defconfig
+++ b/arch/arm/configs/sun7i_defconfig
@@ -436,6 +436,7 @@ CONFIG_BLK_DEV_RAM=y
 CONFIG_BLK_DEV_RAM_COUNT=2
 CONFIG_CDROM_PKTCDVD=m
 CONFIG_ATA_OVER_ETH=m
+CONFIG_SUNXI_NAND=m
 CONFIG_SUNXI_DBGREG=m
 CONFIG_TI_DAC7512=m
 CONFIG_EEPROM_AT24=m
@@ -458,6 +459,9 @@ CONFIG_ATA=y
 # CONFIG_SATA_PMP is not set
 CONFIG_SW_SATA_AHCI_PLATFORM=y
 # CONFIG_ATA_SFF is not set
+CONFIG_NETDEVICES=y
+CONFIG_SUNXI_EMAC=y
+CONFIG_PHYLIB=y
 CONFIG_MD=y
 CONFIG_BLK_DEV_DM=y
 CONFIG_DM_DEBUG=y
@@ -586,6 +590,7 @@ CONFIG_INPUT_KEYRESET=y
 CONFIG_KEYBOARD_SUN4IKEYPAD=m
 CONFIG_KEYBOARD_SUN4I_KEYBOARD=m
 CONFIG_KEYBOARD_HV2605_KEYBOARD=y
+CONFIG_IR_SUNXI=m
 # CONFIG_MOUSE_PS2 is not set
 CONFIG_MOUSE_SYNAPTICS_USB=m
 CONFIG_INPUT_JOYSTICK=y
@@ -691,7 +696,9 @@ CONFIG_PPS=m
 CONFIG_PTP_1588_CLOCK=m
 CONFIG_GPIOLIB=y
 CONFIG_GPIO_SYSFS=y
+CONFIG_GPIO_SUNXI=m
 CONFIG_W1=m
+CONFIG_W1_SUNXI=m
 CONFIG_W1_MASTER_GPIO=m
 CONFIG_POWER_SUPPLY=y
 CONFIG_AW_AXP=y
@@ -1057,6 +1064,7 @@ CONFIG_MMC_PARANOID_SD_INIT=y
 CONFIG_SDIO_UART=m
 CONFIG_MMC_USHC=m
 CONFIG_MMC_SUNXI_POWER_CONTROL=y
+CONFIG_MMC_SUNXI=y
 CONFIG_LEDS_CLASS=y
 CONFIG_LEDS_TRIGGER_TIMER=y
 CONFIG_LEDS_TRIGGER_HEARTBEAT=y
-- 
1.8.4.2

-- 
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/groups/opt_out.


Re: [linux-sunxi] Testing of Line In my A20 board.

2014-02-13 Thread Gerardo Di Iorio
hi punnet,
try to see this docs
http://docs.cubieboard.org/tutorials/common/begining_on_lubuntu
section
Headphone Jack


2014-02-13 12:51 GMT+01:00 Puneet B punit...@gmail.com:

 Hi,

 I have Line in connector in my A20 board.

 Now how can i  test it.

 In my audio jack is working fine.

 Is i need to select any proper driver.

 Kindly suggest me.

 Regards
 Punith

 --
 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/groups/opt_out.


-- 
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/groups/opt_out.


[linux-sunxi] Re: [PATCH] ARM: sunxi: change the AllWinner A1X to sunxi

2014-01-15 Thread Gerardo Di Iorio
hi,


2014/1/15 Arnd Bergmann a...@arndb.de

 On Wednesday 15 January 2014 10:10:06 Maxime Ripard wrote:
  On Thu, Jan 09, 2014 at 04:34:04PM +0100, Gerardo Di Iorio wrote:
   Change the AllWinner A1X SOCs to Allwinner Sunxi SOCs
  
   Signed-off-by: Gerardo Di Iorio aret...@gmail.com
   ---
arch/arm/mach-sunxi/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
  
   diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig
   index 547004c..adb2574 100644
   --- a/arch/arm/mach-sunxi/Kconfig
   +++ b/arch/arm/mach-sunxi/Kconfig
   @@ -1,5 +1,5 @@
config ARCH_SUNXI
   -   bool Allwinner A1X SOCs if ARCH_MULTI_V7
   +   bool Allwinner Sunxi SOCs if ARCH_MULTI_V7
 
  I wonder if the sunxi (apart the weird letter case) is actually
  needed. Maybe we can just put Allwinner SoCs (it would be great if
  you could fix the SoCs case too).

 If you want to have exact naming, try to find something that excludes the
 old Sun3i (F20) and earlier chips (unless someone is already planning
 to work on them). Maybe also mention the Boxchip name, although that
 seems to be falling out of use these days.


if we use Allwinner AX SoC ?

 Arnd


-- 
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/groups/opt_out.


[linux-sunxi] [PATCH] ARM: sunxi: change the AllWinner A1X to sunxi

2014-01-09 Thread Gerardo Di Iorio


-- 
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/groups/opt_out.


[linux-sunxi] [PATCH] ARM: sunxi: change the AllWinner A1X to sunxi

2014-01-09 Thread Gerardo Di Iorio
Change the AllWinner A1X SOCs to Allwinner Sunxi SOCs

Signed-off-by: Gerardo Di Iorio aret...@gmail.com
---
 arch/arm/mach-sunxi/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig
index 547004c..adb2574 100644
--- a/arch/arm/mach-sunxi/Kconfig
+++ b/arch/arm/mach-sunxi/Kconfig
@@ -1,5 +1,5 @@
 config ARCH_SUNXI
-   bool Allwinner A1X SOCs if ARCH_MULTI_V7
+   bool Allwinner Sunxi SOCs if ARCH_MULTI_V7
select ARCH_HAS_RESET_CONTROLLER
select ARCH_REQUIRE_GPIOLIB
select ARM_GIC
--
1.8.4.2

-- 
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/groups/opt_out.


Re: [linux-sunxi] Sd card partition for A20 booting...

2013-12-28 Thread Gerardo Di Iorio
hi,
i have write the howto on wiki Boot Android from sd card.
Is work fine for 4.0.4
I have test 4.2 for cubie2 but not work.
I have on g+ comunity cubier this link

http://docs.cubieboard.org/tutorials/ct1/installation/cb3_a20-android_boot_from_sata

you can try 
next week i can try to fix the guidi for 4.2

regards



2013/12/28 Puneet B punit...@gmail.com

 Hi,

 Did anyone done booting of android4.2 from sdcard.

 Kindly suggest me.

 Regards
 Punith

 --
 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/groups/opt_out.


-- 
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/groups/opt_out.