mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Uladzimir Bely <u.bely@sam-solutions.net>
To: "Jan Lübbe" <jlu@pengutronix.de>
Cc: "barebox@lists.infradead.org" <barebox@lists.infradead.org>
Subject: Re: [PATCH] ARM: OMAP5 processors support
Date: Thu, 25 Apr 2013 15:42:10 +0300	[thread overview]
Message-ID: <517924A2.9030300@sam-solutions.net> (raw)
In-Reply-To: <1366891124.4158.117.camel@coredoba.hi.pengutronix.de>

25.04.2013 14:58, Jan Lübbe пишет:
> On Thu, 2013-04-25 at 12:09 +0300, Uladzimir Bely wrote:
>> diff --git a/arch/arm/boards/omap5_sevm/env/config b/arch/arm/boards/omap5_sevm/env/config
>> new file mode 100644
>> index 0000000..9752957
>> --- /dev/null
>> +++ b/arch/arm/boards/omap5_sevm/env/config
>> @@ -0,0 +1,11 @@
>> +#!/bin/sh
>> +
>> +machine=omap5
>> +
>> +autoboot_timeout=2
>> +
>> +bootargs="console=ttyO2,115200"
>> +
>> +kernel_loc=disk
>> +
>> +PS1="\e[1;32mbarebox@\e[1;31m\h:\w\e[0m "
>
> Please use defaultenv-2.
>

I'm not too familiar with barebox's defaultenv/defaultenv-2. Our work on
omap5 was based mostly on omap5 code from U-Boot and omap4 code from barebox.
Mostly, I used pcm049 as an example of omap4-based board in barebox. So
arch/arm/boards/omap5_sevm/env/config looks like this one, but includes
only most necessary thinks to load to barebox prompt.

Please, give me a hint, which board can be used as an example of using
defaultenv-2, maybe I'll do something.

>> diff --git a/arch/arm/mach-omap/Kconfig b/arch/arm/mach-omap/Kconfig
>> index 42e5f4a..0ad3864 100644
>> --- a/arch/arm/mach-omap/Kconfig
>> +++ b/arch/arm/mach-omap/Kconfig
>> @@ -41,6 +41,14 @@ config ARCH_OMAP4
>>   	help
>>   	  Say Y here if you are using Texas Instrument's OMAP4 based platform
>>
>> +config ARCH_OMAP5
>> +	bool "OMAP5"
>> +	select CPU_V7
>> +	select GENERIC_GPIO
>> +	select OMAP_CLOCK_SOURCE_S32K
>> +	help
>> +	  Say Y here if you are using Texas Instrument's OMAP5 based platform
>> +
>>   config ARCH_AM33XX
>>   	bool "AM33xx"
>>   	select CPU_V7
>> @@ -115,6 +123,7 @@ config BOARDINFO
>>   	default "Phytec phyCARD-A-L1" if MACH_PCAAL1
>>   	default "Phytec phyCARD-A-XL2" if MACH_PCAAXL2
>>   	default "Phytec phyCORE-AM335x" if MACH_PCM051
>> +	default "Phytec phyCORE omap5_sevm" if MACH_OMAP5_SEVM
>>
>>   choice
>>   	prompt "Select OMAP board"
>> @@ -177,6 +186,13 @@ config MACH_PCAAXL2
>>   	help
>>   	  Say Y here if you are using a phyCARD-A-XL1 PCA-A-XL1
>>
>> +config MACH_OMAP5_SEVM
>> +	bool "Phytec phyCORE omap5_sevm"
>> +	depends on ARCH_OMAP5
>> +	help
>> +	  Say Y here if you are using Phytecs phyCORE omap5_sevm board
>> +	  based on OMAP5
>> +
>>   config MACH_PCM051
>>   	bool "Phytec phyCORE pcm051"
>>   	select OMAP_CLOCK_ALL
>
> Isn't the OMAP5 sEVM from TI?
>

We worked with OMAP5-based board, produced by Phytec (Phytec phyCORE-OMAP5),
but, as I have mentioned above, code was partially ported from U-Boot's
OMAP5-sevm board. I'll correct it.

-- 
With regards,
Uladzimir Bely.

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2013-04-25 12:42 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <014261>
2013-04-24 10:33 ` Uladzimir Bely
2013-04-24 10:51   ` Uladzimir Bely
2013-04-24 20:11   ` Sascha Hauer
2013-04-25  9:09     ` Uladzimir Bely
2013-04-25 11:05       ` Jean-Christophe PLAGNIOL-VILLARD
2013-04-25 11:58       ` Jan Lübbe
2013-04-25 12:42         ` Uladzimir Bely [this message]
2013-04-25 20:47           ` Sascha Hauer
2013-04-26  8:31           ` Jan Lübbe
     [not found]         ` <517A57F8.8020805@sam-solutions.net>
2013-04-26 10:54           ` Jan Lübbe
2013-04-26 10:59             ` Uladzimir Bely
2013-04-26 21:58               ` Sascha Hauer
2013-04-25 13:31       ` menon.nishanth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=517924A2.9030300@sam-solutions.net \
    --to=u.bely@sam-solutions.net \
    --cc=barebox@lists.infradead.org \
    --cc=jlu@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox