* Hello world
@ 2011-08-31 15:50 Renaud Barbier
[not found] ` <CAC2XfkW=6QG8hFLv01b0GdFeZ=RNJ9=g8iEfirUj0Masp66qMw@mail.gmail.com>
0 siblings, 1 reply; 3+ messages in thread
From: Renaud Barbier @ 2011-08-31 15:50 UTC (permalink / raw)
To: barebox
Hello,
I just loaded barebox on a beagle board and I am experimenting with it.
I was wondering how I could load and execute a simple hello world program.
It looks like I would have to use a module.
Could somebody give me some pointers?
Cheers,
Renaud
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Hello world
[not found] ` <CAC2XfkW=6QG8hFLv01b0GdFeZ=RNJ9=g8iEfirUj0Masp66qMw@mail.gmail.com>
@ 2011-09-02 11:10 ` Renaud Barbier
2011-09-02 15:56 ` Shakil
0 siblings, 1 reply; 3+ messages in thread
From: Renaud Barbier @ 2011-09-02 11:10 UTC (permalink / raw)
To: plumbedZero c, barebox
[-- Attachment #1.1: Type: text/plain, Size: 2501 bytes --]
Hello Plumbedzero,
Here is what I did:
make omap3530_beagle_defconfig
make ARCH=arm CROSS_COMPILE=arm-poky-linux-gnueabi-
I use a 32MB SD card formatted for FAT.
As per documentation,
I copied the file MLO, barebox.bin as u-boot.bin and normal.scr as
boot.scr (not used yet) on the SD card.
Texas Instruments X-Loader 1.4.2 (Feb 19 2009 - 12:01:24)
Reading boot sector
Loading u-boot.bin from mmc
barebox 2011.08.0 (Aug 31 2011 - 14:07:34)
Board: Texas Instrument's Beagle
I2C probe
i2c-omap@i2c-omap0: bus 0 rev3.12 at 100 kHz
ehci@ehci0: USB EHCI 1.00
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xba (Micron NAND 256MiB
1,8V 16-bit)
Malloc space: 0x80c00000 -> 0x81000000 (size 4 MB)
Stack space : 0x80bf8000 -> 0x80c00000 (size 32 kB)
Open /dev/env0 No such file or directory
no valid environment found on /dev/env0. Using default environment
running /env/bin/init...
sh: No such file or directory
Hit any key to stop autoboot: Usage: timeout [OPTION]... <timeout>
Wait <timeout> seconds for a timeout. Return 1 if the user intervented
or 0 if a timeout occured
-a interrupt on any key
-c interrupt on ctrl-c
-r interrupt on return
-s silent mode
On 01/09/11 15:08, plumbedZero c wrote:
> Hi Renaud,
>
> Sorry for mailing you but I couldn't stop myself writing to you. I
> have struggled a lot to compile barebox for beagleboard and it
> compiled, however I am not able to load it as I don't get any boot
> prompt after loading it to beagle board.
>
> Can you share the process of compilation and if configuration file
> required.
>
> Also I would be interested in the Hello World program. In case if you
> are able to make it then let me know as well. Hope you dont mind my
> multiple requests.
>
>
> Thanks
>
> On Wed, Aug 31, 2011 at 8:50 AM, Renaud Barbier <renaud.barbier@ge.com
> <mailto:renaud.barbier@ge.com>> wrote:
>
> Hello,
> I just loaded barebox on a beagle board and I am experimenting
> with it.
>
> I was wondering how I could load and execute a simple hello world
> program.
>
> It looks like I would have to use a module.
>
> Could somebody give me some pointers?
>
> Cheers,
> Renaud
>
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org <mailto:barebox@lists.infradead.org>
> http://lists.infradead.org/mailman/listinfo/barebox
>
>
--
Renaud Barbier
14, Links Place
3/2 great Michael House
Edinburgh, EH67EN
Tel: +44 131 561 3532
[-- Attachment #1.2: Type: text/html, Size: 4011 bytes --]
[-- Attachment #2: Type: text/plain, Size: 149 bytes --]
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Hello world
2011-09-02 11:10 ` Renaud Barbier
@ 2011-09-02 15:56 ` Shakil
0 siblings, 0 replies; 3+ messages in thread
From: Shakil @ 2011-09-02 15:56 UTC (permalink / raw)
To: Renaud Barbier; +Cc: barebox
[-- Attachment #1.1: Type: text/plain, Size: 2832 bytes --]
Thanks Renaud, for the instruction. I will try this over weekend and
will get back to you if I am having any problem.
Appreciate your response.
Regards
Shakil
On 9/2/2011 4:10 AM, Renaud Barbier wrote:
> Hello Plumbedzero,
> Here is what I did:
>
> make omap3530_beagle_defconfig
> make ARCH=arm CROSS_COMPILE=arm-poky-linux-gnueabi-
>
> I use a 32MB SD card formatted for FAT.
>
> As per documentation,
> I copied the file MLO, barebox.bin as u-boot.bin and normal.scr as
> boot.scr (not used yet) on the SD card.
>
>
>
> Texas Instruments X-Loader 1.4.2 (Feb 19 2009 - 12:01:24)
> Reading boot sector
> Loading u-boot.bin from mmc
>
>
> barebox 2011.08.0 (Aug 31 2011 - 14:07:34)
>
> Board: Texas Instrument's Beagle
> I2C probe
> i2c-omap@i2c-omap0: bus 0 rev3.12 at 100 kHz
> ehci@ehci0: USB EHCI 1.00
> NAND device: Manufacturer ID: 0x2c, Chip ID: 0xba (Micron NAND 256MiB
> 1,8V 16-bit)
> Malloc space: 0x80c00000 -> 0x81000000 (size 4 MB)
> Stack space : 0x80bf8000 -> 0x80c00000 (size 32 kB)
> Open /dev/env0 No such file or directory
> no valid environment found on /dev/env0. Using default environment
> running /env/bin/init...
> sh: No such file or directory
>
> Hit any key to stop autoboot: Usage: timeout [OPTION]... <timeout>
> Wait <timeout> seconds for a timeout. Return 1 if the user intervented
> or 0 if a timeout occured
> -a interrupt on any key
> -c interrupt on ctrl-c
> -r interrupt on return
> -s silent mode
>
>
>
> On 01/09/11 15:08, plumbedZero c wrote:
>> Hi Renaud,
>>
>> Sorry for mailing you but I couldn't stop myself writing to you. I
>> have struggled a lot to compile barebox for beagleboard and it
>> compiled, however I am not able to load it as I don't get any boot
>> prompt after loading it to beagle board.
>>
>> Can you share the process of compilation and if configuration file
>> required.
>>
>> Also I would be interested in the Hello World program. In case if you
>> are able to make it then let me know as well. Hope you dont mind my
>> multiple requests.
>>
>>
>> Thanks
>>
>> On Wed, Aug 31, 2011 at 8:50 AM, Renaud Barbier
>> <renaud.barbier@ge.com <mailto:renaud.barbier@ge.com>> wrote:
>>
>> Hello,
>> I just loaded barebox on a beagle board and I am experimenting
>> with it.
>>
>> I was wondering how I could load and execute a simple hello world
>> program.
>>
>> It looks like I would have to use a module.
>>
>> Could somebody give me some pointers?
>>
>> Cheers,
>> Renaud
>>
>> _______________________________________________
>> barebox mailing list
>> barebox@lists.infradead.org <mailto:barebox@lists.infradead.org>
>> http://lists.infradead.org/mailman/listinfo/barebox
>>
>>
>
> --
> Renaud Barbier
> 14, Links Place
> 3/2 great Michael House
> Edinburgh, EH67EN
> Tel: +44 131 561 3532
[-- Attachment #1.2: Type: text/html, Size: 4755 bytes --]
[-- Attachment #2: Type: text/plain, Size: 149 bytes --]
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-09-02 16:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-31 15:50 Hello world Renaud Barbier
[not found] ` <CAC2XfkW=6QG8hFLv01b0GdFeZ=RNJ9=g8iEfirUj0Masp66qMw@mail.gmail.com>
2011-09-02 11:10 ` Renaud Barbier
2011-09-02 15:56 ` Shakil
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox