U-boot and kernel 2.6.31 for the EP9307

57 views
Skip to first unread message

Panayot Daskalov

unread,
Nov 16, 2009, 1:47:38 PM11/16/09
to sim1
Hi All,

my company has a board based on the EP9307. I had a kernel (2.6.20.4)
and root file system made with OpenEmbedded 2 years ago and they work
fine. I now want to upgrade everything Redboot -> U-boot and 2.6.20.4 -
> 2.6.31.

I ran into your site recently and your board (looks great :)) and saw
that you use U-boot as a bootloader. I used the 1.16 version from the
Cirrus web site, but I want to migrate to a higher version of it. My
question is which version of U-boot do you use with your board? Can
you share the board configuration file so I can try and use it with
our board?

Second question :). I read in Cirrus's forum that there is a serious
mainstream support in 2.6.31 kernel for the EP93xx processor. Has
anyone of you tried that (or some mainstream > 2.6.25) on your Sim.One
board? Does it work?

Thanks.

Best regards,
Panayot

florian

unread,
Nov 16, 2009, 4:56:24 PM11/16/09
to sim1
Hi Panayot,
From a quick glance at the patches
- ep93xx-regs.patch: adds some register definitions which are already
upstream, registers added should probably be prefixed with EP93XX_ to
follow the mainline convention
- simone-rtc.patch. seems like the ds1337.c driver has been merged
into drivers/rtc/rtc-130.7.c
- ep93xx-dma.patch: there already exists some DMA in arch/arm/mach-
ep93xx/dma-m2p.c which might do what we need

All other patches add driver and they apply fine provided that the
relevant Kconfig/Makefile hunks are updated.

This probably requires a bit of work, but I guess we can quickly get
the board booting and step by step adding the peripherals drivers.

Panayot Daskaov

unread,
Nov 17, 2009, 4:17:34 AM11/17/09
to si...@googlegroups.com
Hi Florian,

thank you for replying.

I guess that I will have to try for myself to see how hard it is to get the mainstream kernel running on our board. I will let you know when I have results.

What about U-boot - which version do you use?

Best regards,
Panayot

Marcin Juszkiewicz

unread,
Nov 17, 2009, 5:39:15 AM11/17/09
to si...@googlegroups.com
Dnia poniedziałek, 16 listopada 2009 o 19:47:38 Panayot Daskalov napisał(a):
> Hi All,
>
> my company has a board based on the EP9307. I had a kernel (2.6.20.4)
> and root file system made with OpenEmbedded 2 years ago and they work
> fine. I now want to upgrade everything Redboot -> U-boot and 2.6.20.4 -
> > 2.6.31.

> Second question :). I read in Cirrus's forum that there is a serious
> mainstream support in 2.6.31 kernel for the EP93xx processor. Has
> anyone of you tried that (or some mainstream > 2.6.25) on your Sim.One
> board? Does it work?

I have Cirrus Logic EDB9301 here and 2.6.31 works on it. I used OpenEmbedded
to build kernel and rootfs for it (whole Martin's work on toolchain was merged
by me and I maintain EP93xx support in OE). So far I am using RedBoot on it
because I do not want to play with JTAG just to get U-Boot instead.

What works? Hard to tell because EDB9301 is very stripped down devboard. MTD
support works but do not have working redboot partition table in it so do not
use. Ethernet works fine - kernel is fetched via TFTP and boots into NFS root.

I hope to get rid of that board and replace it with Sim.One (which probably is
in nearest post office but long queue is also there so it has to wait).

Regards,
--
JID: h...@jabber.org
Website: http://marcin.juszkiewicz.com.pl/
LinkedIn: http://www.linkedin.com/in/marcinjuszkiewicz


Martin Guy

unread,
Nov 17, 2009, 7:10:22 AM11/17/09
to si...@googlegroups.com
On 11/17/09, Panayot Daskaov <panayot....@gmail.com> wrote:
> What about U-boot - which version do you use?

At boot it says
U-Boot 1.1.6-cirrus-edb93xx-platform
That's from 3 years ago but I haven't found what source was used (so
much for the GPL!)
I am guessing by the "edb" that it's a modified version from from
arm.cirrus.com, hacked to set the machine ID to 1476 (==MACH_SIM_ONE
in linux/arch/arm/mach-types)

M

Panayot Daskaov

unread,
Nov 17, 2009, 8:32:22 AM11/17/09
to si...@googlegroups.com
Thanks Martin. Useful info.

Panayot Daskalov
Software Engineer

Multiprocessor Systems Ltd.

Tel:  +359 2 491 18 49
Mail: panayot....@mps.bg
WWW:  www.mps.bg , www.followme.bg

Marcin Juszkiewicz

unread,
Nov 17, 2009, 1:01:35 PM11/17/09
to si...@googlegroups.com
Dnia wtorek, 17 listopada 2009 o 13:10:22 Martin Guy napisał(a):
> On 11/17/09, Panayot Daskaov <panayot....@gmail.com> wrote:
> > What about U-boot - which version do you use?
>
> At boot it says
> U-Boot 1.1.6-cirrus-edb93xx-platform
> That's from 3 years ago but I haven't found what source was used (so
> much for the GPL!)

Will sources be available for U-Boot? I like to be able to build own one...

Panayot Daskaov

unread,
Nov 18, 2009, 9:39:57 AM11/18/09
to si...@googlegroups.com
Hi Marcin,

you can have a look here (u-boot-1.1.6.tar.bz2, u-boot-git.tar.bz2)

Best regards,
Panayot


Panayot Daskalov
Software Engineer

Multiprocessor Systems Ltd.

Tel:  +359 2 491 18 49
Mail: panayot....@mps.bg
WWW:  www.mps.bg , www.followme.bg


Martin Guy

unread,
Nov 18, 2009, 9:55:32 AM11/18/09
to si...@googlegroups.com
On 11/17/09, Marcin Juszkiewicz <mar...@juszkiewicz.com.pl> wrote:
> Will sources be available for U-Boot? I like to be able to build own one...

AFAIK it's this source
ftp://ftp.denx.de/pub/u-boot/u-boot-1.1.6.tar.bz2

with the Cirrus patch that is in here
http://arm.cirrus.com/files/linux/releases/linux-2.6/1.0.3/linux-crater_1-0-3/packages/bootloader/uboot

but there must be more hacks - at least to set the machine ID to 1487
(r1 must have this value when the kernel is started). I see the prompt
has changed from u-Boot> to SIM.ONE> too.
I've been promised the sources as used in the sim.one later on today

M

nuccio raciti

unread,
Nov 19, 2009, 4:00:31 AM11/19/09
to sim1
Hi All,

I need some time (few days I hope) in order to recovery from my backup
the uboot patches..
Sorry for the delay...
:-(

Nuccio


On 18 Nov, 15:55, Martin Guy <martinw...@gmail.com> wrote:
> On 11/17/09, Marcin Juszkiewicz <mar...@juszkiewicz.com.pl> wrote:
>
> > Will sources be available for U-Boot? I like to be able to build own one...
>
> AFAIK it's this sourceftp://ftp.denx.de/pub/u-boot/u-boot-1.1.6.tar.bz2
>
> with the Cirrus patch that is in herehttp://arm.cirrus.com/files/linux/releases/linux-2.6/1.0.3/linux-crat...

Martin Guy

unread,
Nov 29, 2009, 9:03:10 AM11/29/09
to si...@googlegroups.com
On 11/18/09, Martin Guy <marti...@gmail.com> wrote:
> On 11/17/09, Marcin Juszkiewicz <mar...@juszkiewicz.com.pl> wrote:
> > Will sources be available for U-Boot? I like to be able to build own one...

I've posted the sources on the Downloads page, and
instructions/warnings are in this message:
http://groups.google.com/group/sim1/msg/bed5ba6aef69fcdb

M
Reply all
Reply to author
Forward
0 new messages