* FDT for Microblaze and PPC405 @ 2007-09-23 18:40 Michal Simek 0 siblings, 0 replies; 5+ messages in thread From: Michal Simek @ 2007-09-23 18:40 UTC (permalink / raw) To: linuxppc-dev Hi, I made EDK tcl script for generation DTS test scructure for FDT. Script support Microblaze and PowerPC 405. Script was primary built for generation U-BOOT configs files for Microblaze. For Microblaze can you generate both files (FDT and U-BOOT). For PowerPC can you generate only DTS file. Generation U-BOOT configs files aren't supported yet. Script ends after generation DTS. Script has 2.00.a mark. It is available at www.monstr.eu. Cheers, Michal Simek ^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot-Users] [PATCH9] microblaze EMAC support
@ 2007-09-11 16:01 Grant Likely
[not found] ` <2057.3992-23959-31980099-1189527824@seznam.cz>
0 siblings, 1 reply; 5+ messages in thread
From: Grant Likely @ 2007-09-11 16:01 UTC (permalink / raw)
To: u-boot
On 8/30/07, Michal Simek <Monstr@seznam.cz> wrote:
> DESC: Xilinx Emac support
>
> Signed-off-by: Michal Simek <monstr@monstr.eu>
>
> Note: driver is tested for Microblaze CPU. Please test it for PowerPC405 and then remove code
>
> diff --git a/drivers/net/xilinx_emac.c b/drivers/net/xilinx_emac.c
> new file mode 100644
> index 0000000..36e627a
> --- /dev/null
> +++ b/drivers/net/xilinx_emac.c
> @@ -0,0 +1,374 @@
> +/*
> + * (C) Copyright 2007 Michal Simek
> + *
> + * Michal SIMEK <monstr@monstr.eu>
> + *
> + * See file CREDITS for list of people who contributed to this
> + * project.
> + *
> + * This program is free software; you can redistribute it and/or
> + * modify it under the terms of the GNU General Public License as
> + * published by the Free Software Foundation; either version 2 of
> + * the License, or (at your option) any later version.
> + *
> + * This program is distributed in the hope that it will be useful,
> + * but WITHOUT ANY WARRANTY; without even the implied warranty of
> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> + * GNU General Public License for more details.
> + *
> + * You should have received a copy of the GNU General Public License
> + * along with this program; if not, write to the Free Software
> + * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
> + * MA 02111-1307 USA
> + *
> + * Based on Xilinx drivers
Is this based on, as in "used the xilinx driver as a reference", or as
in "started with the xilinx code and modified it". It you started
with the xilinx code, then you need to preserve Xilinx's original
copyright message and license text verbatim in addition to your
copyright/license text.
> + *
> + */
--
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
grant.likely at secretlab.ca
(403) 399-0195
^ permalink raw reply [flat|nested] 5+ messages in thread[parent not found: <2057.3992-23959-31980099-1189527824@seznam.cz>]
* Re: FDT for Microblaze and PPC405 [not found] ` <2057.3992-23959-31980099-1189527824@seznam.cz> @ 2007-09-11 17:09 ` Grant Likely 2007-09-12 2:03 ` David Gibson 2007-09-14 19:35 ` Michal Simek 0 siblings, 2 replies; 5+ messages in thread From: Grant Likely @ 2007-09-11 17:09 UTC (permalink / raw) To: Michal Simek, linuxppc-dev On 9/11/07, Michal Simek <Monstr@seznam.cz> wrote: > Hi Grant, (Adding linuxppc-dev mailing list to CC list because we're discussing FDT issues) > I made EDK repository file for generation dts file from Xilinx design. I sent it to Wolfgang and Steve this week. > It is in the same config file as I use for configuration Microblaze for U-BOOT. If you want I can send you this repository files. Yes, please do. > And I start with redesigning Linux kernel for Microblaze. I ported some peripherals as timer and intc etc. > But for some peripherals I need better configuration. > > I have no time to read information about fdt. Can you tell me what labels I can use? Steve has already done a bunch of work in this direction on microblaze, I would converse with him. > > For example emaclite driver needs information about turning on/off ping pong buffer... > > I would like to make this properly. FDT design is just as much art as it is science. It takes taste and judgement to desgin a nice set of bindings. Your best option is to draft something and post it to the linuxppc-embedded mailing list for review. > > And second question is on early console logs and timers setting. I read about aliases in FDT. I think that aliases can cover this setting. > For example my design contain 4 serial line and I would like to know which serial line is set on early console. You use the chosen node for this. In the chosen node, you add a property called "linux,stdout-path" which holds the path to your console. You can look at examples under arch/powerpc/boot/dts/* Cheers, g. -- Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd. grant.likely@secretlab.ca (403) 399-0195 ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: FDT for Microblaze and PPC405 2007-09-11 17:09 ` FDT for Microblaze and PPC405 Grant Likely @ 2007-09-12 2:03 ` David Gibson 2007-09-12 7:34 ` Michal Simek 2007-09-14 19:35 ` Michal Simek 1 sibling, 1 reply; 5+ messages in thread From: David Gibson @ 2007-09-12 2:03 UTC (permalink / raw) To: Grant Likely; +Cc: linuxppc-dev, Michal Simek On Tue, Sep 11, 2007 at 11:09:07AM -0600, Grant Likely wrote: > On 9/11/07, Michal Simek <Monstr@seznam.cz> wrote: > > For example emaclite driver needs information about turning on/off ping pong buffer... > > > > I would like to make this properly. > > FDT design is just as much art as it is science. It takes taste and > judgement to desgin a nice set of bindings. Your best option is to > draft something and post it to the linuxppc-embedded mailing list for > review. Yes, this is the preferred procedure, for now. > > And second question is on early console logs and timers setting. I read about aliases in FDT. I think that aliases can cover this setting. > > For example my design contain 4 serial line and I would like to know which serial line is set on early console. > > You use the chosen node for this. In the chosen node, you add a > property called "linux,stdout-path" which holds the path to your > console. You can look at examples under arch/powerpc/boot/dts/* Yes. Currently we don't use /aliases in the flat device tree. This is possibly a mistake, and something I'm thinking about changing. But, for now, linux,stdout-path in /chosen is the way to do this. -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: FDT for Microblaze and PPC405 2007-09-12 2:03 ` David Gibson @ 2007-09-12 7:34 ` Michal Simek 0 siblings, 0 replies; 5+ messages in thread From: Michal Simek @ 2007-09-12 7:34 UTC (permalink / raw) To: David Gibson; +Cc: linuxppc-dev Hi David and Grant >> > For example emaclite driver needs information about turning on/off ping pong buffer... >> > >> > I would like to make this properly. >> >> FDT design is just as much art as it is science. It takes taste and >> judgement to desgin a nice set of bindings. Your best option is to >> draft something and post it to the linuxppc-embedded mailing list for >> review. > >Yes, this is the preferred procedure, for now. OK. Science is good for me because I am looking for theme for dissertation thesis and FPGA based FDT can be good choice. >> > And second question is on early console logs and timers setting. I read >about aliases in FDT. I think that aliases can cover this setting. >> > For example my design contain 4 serial line and I would like to know which >serial line is set on early console. >> >> You use the chosen node for this. In the chosen node, you add a >> property called "linux,stdout-path" which holds the path to your >> console. You can look at examples under arch/powerpc/boot/dts/* >Yes. Currently we don't use /aliases in the flat device tree. This >is possibly a mistake, and something I'm thinking about changing. >But, for now, linux,stdout-path in /chosen is the way to do this. OK. I will make the first draft and send it to list for review but it will be only part of patch rely on with ppc405 because we don't have microblaze kernel code. Michal Simek ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: FDT for Microblaze and PPC405 2007-09-11 17:09 ` FDT for Microblaze and PPC405 Grant Likely 2007-09-12 2:03 ` David Gibson @ 2007-09-14 19:35 ` Michal Simek 1 sibling, 0 replies; 5+ messages in thread From: Michal Simek @ 2007-09-14 19:35 UTC (permalink / raw) To: Grant Likely, linuxppc-dev Hi, I made EDK tcl script for generation DTS test scructure for FDT. Script support Microblaze and PowerPC 405. Script was primary built for generation U-BOOT configs files for Microblaze. For Microblaze can you generate both files (FDT and U-BOOT). For PowerPC can you generate only DTS file. Generation U-BOOT configs files aren't supported yet. Script ends after generation DTS. Script has 2.00.a mark. It is available at www.monstr.eu. Cheers, Michal Simek > On 9/11/07, Michal Simek <Monstr@seznam.cz> wrote: >> Hi Grant, > > (Adding linuxppc-dev mailing list to CC list because we're discussing > FDT issues) > >> I made EDK repository file for generation dts file from Xilinx design. I >> sent it to Wolfgang and Steve this week. >> It is in the same config file as I use for configuration Microblaze for >> U-BOOT. If you want I can send you this repository files. > > Yes, please do. > >> And I start with redesigning Linux kernel for Microblaze. I ported some >> peripherals as timer and intc etc. >> But for some peripherals I need better configuration. >> >> I have no time to read information about fdt. Can you tell me what labels >> I can use? > > Steve has already done a bunch of work in this direction on > microblaze, I would converse with him. > >> >> For example emaclite driver needs information about turning on/off ping >> pong buffer... >> >> I would like to make this properly. > > FDT design is just as much art as it is science. It takes taste and > judgement to desgin a nice set of bindings. Your best option is to > draft something and post it to the linuxppc-embedded mailing list for > review. > >> >> And second question is on early console logs and timers setting. I read >> about aliases in FDT. I think that aliases can cover this setting. >> For example my design contain 4 serial line and I would like to know >> which serial line is set on early console. > > You use the chosen node for this. In the chosen node, you add a > property called "linux,stdout-path" which holds the path to your > console. You can look at examples under arch/powerpc/boot/dts/* > > Cheers, > g. > > > -- > Grant Likely, B.Sc., P.Eng. > Secret Lab Technologies Ltd. > grant.likely@secretlab.ca > (403) 399-0195 > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.485 / Virus Database: 269.13.15/1002 - Release Date: > 11.9.2007 05:46 > > ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-09-23 21:03 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-23 18:40 FDT for Microblaze and PPC405 Michal Simek
-- strict thread matches above, loose matches on Subject: below --
2007-09-11 16:01 [U-Boot-Users] [PATCH9] microblaze EMAC support Grant Likely
[not found] ` <2057.3992-23959-31980099-1189527824@seznam.cz>
2007-09-11 17:09 ` FDT for Microblaze and PPC405 Grant Likely
2007-09-12 2:03 ` David Gibson
2007-09-12 7:34 ` Michal Simek
2007-09-14 19:35 ` Michal Simek
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.