[linux-sunxi] Rootfs for Xen on Cubietruck

2017-04-11 Thread dlbp
Hello!!!
I need help to find some rootfs that can be used in DOM0 with Xen.
Where can i find them? 
How can i determine if it is usable in Xen or not?

Thanks in advance

Paolo

-- 
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] Bare metal example for cubietruck

2016-10-13 Thread dlbp
Ok!

Thanks for all provided information!!

However the operating system is proprietary and i can't post code :-)

Il giorno venerdì 14 ottobre 2016 00:12:36 UTC+2, Siarhei Siamashka ha 
scritto:
>
> On Thu, 13 Oct 2016 22:08:15 +0200 
> Paolo De Luca Bosso <paolo.de...@gmail.com > wrote: 
>
> > However I have used makefile in the linux-tools. 
> > 
> > It has produced ELF file. How can i boot Cubietruck with it? 
> > Thanks 
> > 
> > 2016-10-13 21:21 GMT+02:00 Paolo De Luca Bosso <paolo.de...@gmail.com 
> > 
> > : 
> > 
> > > Following previous mail: 
> > > how can i try that example on my cubietruck if it is compatible with 
> A20?? 
> > > 
> > > Thanks 
> > > 
> > > 2016-10-13 21:18 GMT+02:00 Paolo De Luca Bosso <   
> > > paolo.de...@gmail.com >:   
> > >   
> > >> Hello!! 
> > >> First of all, thanks for the answer 
> > >> 
> > >> About the example you said, is it usable for Cubietruck?? I should 
> try a 
> > >> simple example bare-metal on it. 
> > >> 
> > >> Can you help me? 
> > >> 
> > >> Thanks 
> > >> 
> > >> 2016-10-13 20:52 GMT+02:00 Siarhei Siamashka <siarhei@gmail.com 
>
> > >> >:   
> > >>   
> > >>> On Wed, 12 Oct 2016 14:45:01 -0700 (PDT) 
> > >>> dlbp <paolo.de...@gmail.com > wrote: 
> > >>>   
> > >>> > Hello! 
> > >>> > I'm using a cubietruck and because i Need to port an operating 
> system 
> > >>> > from x86 to ARM architecture, i need an example of bare metal 
> > >>> > software for a Cubietruck (with Cortex A-7). It's good also a 
> simple 
> > >>> > hello world bare metal. 
> > >>> > 
> > >>> > It is very important! 
> > >>> > 
> > >>> > Thanks in advance   
> > >>> 
> > >>> Hello, 
> > >>> 
> > >>> You can check the uart0-helloworld-sdboot.c code from sunxi-tools: 
> > >>> https://github.com/linux-sunxi/sunxi-tools 
> > >>> 
> > >>> I believe that it does exactly what you need. It uses the GPL 
> > >>> license though. So if your operating system is proprietary, then 
> > >>> you can't copy/paste this code directly. 
> > >>> 
> > >>> If your operating system is open source, then I'm quite curious 
> > >>> to have a look at it. 
> > >>> 
> > >>> -- 
> > >>> Best regards, 
> > >>> Siarhei Siamashka 
> > >>>   
>
> Please be sure to keep the linux-sunxi mailing list in CC (I have 
> added it back). I generally don't provide private personalized 
> support, unless it's a paid job. 
>
> If you have the mksunxiboot tool (which is one of the command 
> line tools from U-Boot), then the makefile should produce the 
> uart0-helloworld-sdboot.sunxi file. See more details at 
> https://linux-sunxi.org/BROM 
>
> Then you can write this uart0-helloworld-sdboot.sunxi file to the SD 
> card in the same way as you write the U-Boot bootloader. For example 
> the following commands will download and write a precompiled binary: 
>
> wget 
> https://github.com/linux-sunxi/sunxi-tools/raw/master/bin/uart0-helloworld-sdboot.sunxi
>  
> dd if=uart0-helloworld-sdboot.sunxi of=/dev/sdX bs=1024 seek=8 
>
> Alternatively, you can load and execute this file to the device over 
> Mini- or Micro- USB cable (after switching the device into FEL mode): 
>
> sunxi-fel spl uart0-helloworld-sdboot.sunxi 
>
> Using FEL boot method is typically much more convenient for development 
> and debugging. Because you don't need to repeatedly insert/remove the 
> SD card between your device and your card reader. 
>
> I hope that this information can help you to get your secret operating 
> system up and running on your Cubietruck :-) 
>
> -- 
> Best regards, 
> Siarhei Siamashka 
>

-- 
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] Entry point kernel linux-sunxi

2016-10-13 Thread dlbp
Hello!!
I'm using cubietruck, linux-sunxi from github and U-Boot.

What is the entry point of the kernel After U-Boot?? Thanks 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.


[linux-sunxi] Bare metal example for cubietruck

2016-10-12 Thread dlbp
Hello!
I'm using a cubietruck and because i Need to port an operating system from x86 
to ARM architecture, i need an example of bare metal software for a Cubietruck 
(with Cortex A-7). It's good also a simple hello world bare metal.

It is very important!

Thanks in advance

-- 
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] Root file system for Linux-sunxi 3.4 on Cubietruck

2016-10-12 Thread dlbp
Thank you for the answer!!

So...should i modify file .fex to enable VGA??

Thank you

Il giorno mercoledì 12 ottobre 2016 13:59:09 UTC+2, Bastiaan van den Berg 
ha scritto:
>
> Enabling VGA is required before it will work.
>
> Check out https://linux-sunxi.org/Fex_Guide and 
> https://linux-sunxi.org/Display and https://linux-sunxi.org/Script.bin 
>
> And well, all the other pages on the wiki ;)
>
> As for root filesystem, you can use any with a proper ACL , so -not- Fat32 
> or NTFS , but most others are ok. Depends on which medium you are setting 
> it up really
>
>
> On Wed, Oct 12, 2016 at 1:50 PM, dlbp <paolo.de...@gmail.com 
> > wrote:
>
>> Hello to everybody
>>
>> First of all, i'm using a micro SD and a Cubietruck.
>>
>> I have installed U-boot-2015.04 and linux-sunxi (from 
>> https://github.com/linux-sunxi/linux-sunxi )
>>
>> I have followed the guide available online and it boots.
>>
>> But when starting kernel, if i connect Cubietruck via VGA, i can't see 
>> anything. Otherwise, if i connect via UART, it works!!!
>>
>> What can be the solution??
>>
>> Another request: i need a target root file system as indicated in 
>> http://linux-sunxi.org/Linux_Kernel#Install
>> What root filesystem can i use?? 
>>
>> Thanks to all
>>
>> -- 
>> 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...@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] Root file system for Linux-sunxi 3.4 on Cubietruck

2016-10-12 Thread dlbp
Hello to everybody

First of all, i'm using a micro SD and a Cubietruck.

I have installed U-boot-2015.04 and linux-sunxi 
(from https://github.com/linux-sunxi/linux-sunxi )

I have followed the guide available online and it boots.

But when starting kernel, if i connect Cubietruck via VGA, i can't see 
anything. Otherwise, if i connect via UART, it works!!!

What can be the solution??

Another request: i need a target root file system as indicated 
in http://linux-sunxi.org/Linux_Kernel#Install
What root filesystem can i use?? 

Thanks to all

-- 
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] Porting operating system from x86 to Cubietruck

2016-10-10 Thread dlbp
Hi everybody!!!

I need to port a proprietary real-time OS from an x86 Intel Architecture to 
ARM.

In particular my target is Cubietruck.
Which compiler i need for C and assembly instructions under Debian/Linux??

Another question: it's necessary an external bootloader (for example Uboot) 
or i can adopt another solution?? If yes, what could be the solution?

Thanks all

-- 
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] Console on VGA and not on UART

2016-07-14 Thread dlbp
Thanks!! Great!! 
Now i can see Linux on VGA!!!

Another thing.after Dom0 is running, how i can setup DomU??

Thanks in advance

Il giorno mercoledì 13 luglio 2016 19:45:24 UTC+2, Michal Suchanek ha 
scritto:
>
> On 13 July 2016 at 16:01, dlbp <paolo.de...@gmail.com > 
> wrote: 
> > Hi! 
> > I have successfully changed the console and now i can see boot process 
> on 
> > VGA. 
> > But there is another problem :D 
> > 
> > Now i need to see the kernel on VGA and not on UART. 
> > 
> > I read "Starting Kernel" on VGA but after i can't see anything. I think 
> > maybe the Linux Kernel is on UART. 
> > How can i modify it?? 
> > 
> > Thanks 
> > 
> > Il giorno mercoledì 13 luglio 2016 08:29:46 UTC+2, Michal Suchanek ha 
> > scritto: 
> >> 
> >> http://linux-sunxi.org/Mainline_U-Boot 
> >> http://linux-sunxi.org/Mainline_Kernel_Howto#simplefb 
> >> http://linux-sunxi.org/Display 
>
> The above links should answer the question. 
>
> If not please specify what is unclear about the guides so they can be 
> fixed. 
>
> Thanks 
>
> Michal 
>
> >> 
> >> On 12 July 2016 at 21:31, dlbp <paolo.de...@gmail.com> wrote: 
> >> > Thanks! 
> >> > I can change kernel configuration for Linux. What should i modify in 
> the 
> >> > configuration? 
> >> > 
> >> > Thanks 
> >> > 
> >> > Il giorno martedì 12 luglio 2016 20:16:21 UTC+2, Michal Suchanek ha 
> >> > scritto: 
> >> >> 
> >> >> Hello, 
> >> >> 
> >> >> On 12 July 2016 at 19:57, dlbp <paolo.de...@gmail.com> wrote: 
> >> >> > Hello to everybody!!! 
> >> >> > I have tried to mount XEN on Cubietruck using this wiki ( 
> >> >> > 
> >> >> > 
> >> >> > 
> http://www.sourcediver.org/blog/2014/06/19/running-arch-linux-arm-with-xen-on-cubieboard-2/
>  
> >> >> > ) 
> >> >> > 
> >> >> > But there is a big problem: i haven't now a UART-RS232 converter 
> and 
> >> >> > i 
> >> >> > need 
> >> >> > test the system. 
> >> >> > 
> >> >> > Is there a method to see the console and boot process on VGA and 
> not 
> >> >> > on 
> >> >> > UART? 
> >> >> > 
> >> >> 
> >> >> Recent u-boot should support console on VGA. You will have to change 
> >> >> your kernel configuration for Linux to also use VGA console which is 
> >> >> somewhat difficult without a console. 
> >> >> 
> >> >> If your system is networked you can try updating it remotely. If you 
> >> >> boot from a SD card you can also try removing the SD card and 
> editing 
> >> >> the content offline on another machine until the console is working. 
> >> >> You can also enter FEL mode and boot a system over USB to test your 
> >> >> new u-boot and kernel configuration and/or boot a system that can 
> >> >> access the boot medium. 
> >> >> 
> >> >> HTH 
> >> >> 
> >> >> Michal 
> >> > 
> >> > -- 
> >> > 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...@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...@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] Console on VGA and not on UART

2016-07-13 Thread dlbp
Hi! 
I have successfully changed the console and now i can see boot process on 
VGA.
But there is another problem :D

Now i need to see the kernel on VGA and not on UART.

I read "Starting Kernel" on VGA but after i can't see anything. I think 
maybe the Linux Kernel is on UART.
How can i modify it?? 

Thanks

Il giorno mercoledì 13 luglio 2016 08:29:46 UTC+2, Michal Suchanek ha 
scritto:
>
> http://linux-sunxi.org/Mainline_U-Boot 
> http://linux-sunxi.org/Mainline_Kernel_Howto#simplefb 
> http://linux-sunxi.org/Display 
>
> On 12 July 2016 at 21:31, dlbp <paolo.de...@gmail.com > 
> wrote: 
> > Thanks! 
> > I can change kernel configuration for Linux. What should i modify in the 
> > configuration? 
> > 
> > Thanks 
> > 
> > Il giorno martedì 12 luglio 2016 20:16:21 UTC+2, Michal Suchanek ha 
> scritto: 
> >> 
> >> Hello, 
> >> 
> >> On 12 July 2016 at 19:57, dlbp <paolo.de...@gmail.com> wrote: 
> >> > Hello to everybody!!! 
> >> > I have tried to mount XEN on Cubietruck using this wiki ( 
> >> > 
> >> > 
> http://www.sourcediver.org/blog/2014/06/19/running-arch-linux-arm-with-xen-on-cubieboard-2/
>  
> >> > ) 
> >> > 
> >> > But there is a big problem: i haven't now a UART-RS232 converter and 
> i 
> >> > need 
> >> > test the system. 
> >> > 
> >> > Is there a method to see the console and boot process on VGA and not 
> on 
> >> > UART? 
> >> > 
> >> 
> >> Recent u-boot should support console on VGA. You will have to change 
> >> your kernel configuration for Linux to also use VGA console which is 
> >> somewhat difficult without a console. 
> >> 
> >> If your system is networked you can try updating it remotely. If you 
> >> boot from a SD card you can also try removing the SD card and editing 
> >> the content offline on another machine until the console is working. 
> >> You can also enter FEL mode and boot a system over USB to test your 
> >> new u-boot and kernel configuration and/or boot a system that can 
> >> access the boot medium. 
> >> 
> >> HTH 
> >> 
> >> Michal 
> > 
> > -- 
> > 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...@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] Console on VGA and not on UART

2016-07-12 Thread dlbp
Thanks!
I can change kernel configuration for Linux. What should i modify in the 
configuration?

Thanks

Il giorno martedì 12 luglio 2016 20:16:21 UTC+2, Michal Suchanek ha scritto:
>
> Hello, 
>
> On 12 July 2016 at 19:57, dlbp <paolo.de...@gmail.com > 
> wrote: 
> > Hello to everybody!!! 
> > I have tried to mount XEN on Cubietruck using this wiki ( 
> > 
> http://www.sourcediver.org/blog/2014/06/19/running-arch-linux-arm-with-xen-on-cubieboard-2/
>  
> > ) 
> > 
> > But there is a big problem: i haven't now a UART-RS232 converter and i 
> need 
> > test the system. 
> > 
> > Is there a method to see the console and boot process on VGA and not on 
> > UART? 
> > 
>
> Recent u-boot should support console on VGA. You will have to change 
> your kernel configuration for Linux to also use VGA console which is 
> somewhat difficult without a console. 
>
> If your system is networked you can try updating it remotely. If you 
> boot from a SD card you can also try removing the SD card and editing 
> the content offline on another machine until the console is working. 
> You can also enter FEL mode and boot a system over USB to test your 
> new u-boot and kernel configuration and/or boot a system that can 
> access the boot medium. 
>
> HTH 
>
> Michal 
>

-- 
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] Console on VGA and not on UART

2016-07-12 Thread dlbp
Hello to everybody!!!
I have tried to mount XEN on Cubietruck using this wiki ( 
http://www.sourcediver.org/blog/2014/06/19/running-arch-linux-arm-with-xen-on-cubieboard-2/
 
)

But there is a big problem: i haven't now a UART-RS232 converter and i need 
test the system.

Is there a method to see the console and boot process on VGA and not on 
UART?

Thanks to all!

-- 
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] Guideline for Xen on Cubietruck

2016-06-20 Thread dlbp
Hello to everybody!
I have a Cubietruck and i need to setup an hypervisor Xen.
I need to mount all system on a SD card and i don't want touch the NAND 
memory.

Are there some guidelines fot this aim??

Thanks

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