Re: [U-Boot-Users] [PATCH 1/1] FAT Bare Partition Support

2008-08-02 Thread Antonio R. Costa
Hi JC,
  I have been busy on writing a Linux driver for the DSP on our
AT572D940HF-EB board.
Furthermore in the next 3 weeks I'm on vacation, please gimme more time
cause
I would like rework this patch but also support for our board and SDHC
support for all
Atmel devices together with Haarvard.

Regards,
  Antonio R.


2008/8/2 Jean-Christophe PLAGNIOL-VILLARD [EMAIL PROTECTED]


 Telling the truth it seems that I've used this function during debug
 in
 fact at a deeper look it seems it disappeared from the code a part the
 definition.
 Ok I'm going to fix the problem and re-submit.
 
 Any update about the re-submit patch?

 Best Regards,
 J.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users


[U-Boot-Users] [PATCH] mvbc_p: Fix problem with '#if (CONFIG_CMD_KGDB)'

2008-08-02 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD [EMAIL PROTECTED]
---
 include/configs/MVBC_P.h |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/configs/MVBC_P.h b/include/configs/MVBC_P.h
index 48f427e..8c8a445 100644
--- a/include/configs/MVBC_P.h
+++ b/include/configs/MVBC_P.h
@@ -40,7 +40,7 @@
 #define CONFIG_MISC_INIT_R 1
 
 #define CFG_CACHELINE_SIZE 32
-#if (CONFIG_CMD_KGDB)
+#ifdef (CONFIG_CMD_KGDB)
 #define CFG_CACHELINE_SHIFT5
 #endif
 
@@ -268,7 +268,7 @@
 #define CFG_PROMPT_HUSH_PS2 
 #undef CFG_LONGHELP
 #define CFG_PROMPT = 
-#if (CONFIG_CMD_KGDB)
+#ifdef (CONFIG_CMD_KGDB)
 #define CFG_CBSIZE 1024
 #else
 #define CFG_CBSIZE 256
-- 
1.5.6.2


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users


[U-Boot-Users] [PATCH] nios2: fix phys_addr_t and phys_size_t support

2008-08-02 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD [EMAIL PROTECTED]
---
 cpu/nios2/interrupts.c|1 +
 include/asm-nios2/types.h |3 +++
 2 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/cpu/nios2/interrupts.c b/cpu/nios2/interrupts.c
index aeb5b65..ec5db31 100644
--- a/cpu/nios2/interrupts.c
+++ b/cpu/nios2/interrupts.c
@@ -27,6 +27,7 @@
 
 #include nios2.h
 #include nios2-io.h
+#include asm/types.h
 #include asm/io.h
 #include asm/ptrace.h
 #include common.h
diff --git a/include/asm-nios2/types.h b/include/asm-nios2/types.h
index f13d8bd..ea859c0 100644
--- a/include/asm-nios2/types.h
+++ b/include/asm-nios2/types.h
@@ -52,6 +52,9 @@ typedef unsigned long long u64;
 /* Dma addresses are 32-bits wide.  */
 
 typedef u32 dma_addr_t;
+
+typedef unsigned long phys_addr_t;
+typedef unsigned long phys_size_t;
 #endif /* __KERNEL__ */
 
 #endif /* __ASM_NIOS2_TYPES_H */
-- 
1.5.6.2


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users


[U-Boot-Users] [PATCH] Fix remaining build issues with MPC8xx FADS boards.

2008-08-02 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD [EMAIL PROTECTED]
---
 include/configs/FADS860T.h  |2 +-
 include/configs/MPC86xADS.h |2 +-
 include/configs/MPC885ADS.h |2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/configs/FADS860T.h b/include/configs/FADS860T.h
index 18de6b0..38295c4 100644
--- a/include/configs/FADS860T.h
+++ b/include/configs/FADS860T.h
@@ -38,7 +38,7 @@
 #define CONFIG_DRAM_50MHZ  1
 #define CONFIG_SDRAM_50MHZ  1
 
-#include fads.h
+#include ../../board/fads/fads.h
 
 #ifdef USE_REAL_FLASH_VALUES
 /*
diff --git a/include/configs/MPC86xADS.h b/include/configs/MPC86xADS.h
index e0e8554..233a8d1 100644
--- a/include/configs/MPC86xADS.h
+++ b/include/configs/MPC86xADS.h
@@ -41,7 +41,7 @@
 #define CONFIG_DRAM_50MHZ   1
 #define CONFIG_SDRAM_50MHZ  1
 
-#include fads.h
+#include ../../board/fads/fads.h
 
 #define CFG_OR5_PRELIM 0x8110  /* 64Kbyte address space */
 #define CFG_BR5_PRELIM (CFG_PHYDEV_ADDR | BR_PS_8 | BR_V)
diff --git a/include/configs/MPC885ADS.h b/include/configs/MPC885ADS.h
index 1867c5b..f4d1842 100644
--- a/include/configs/MPC885ADS.h
+++ b/include/configs/MPC885ADS.h
@@ -27,7 +27,7 @@
 
 #define CONFIG_SDRAM_50MHZ  1
 
-#include fads.h
+#include ../../board/fads/fads.h
 
 #define CFG_OR5_PRELIM 0x8110  /* 64Kbyte address space */
 #define CFG_BR5_PRELIM (CFG_PHYDEV_ADDR | BR_PS_8 | BR_V)
-- 
1.5.6.2


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users


[U-Boot-Users] [PATCH] nios2/sysid: fix printf warning

2008-08-02 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD [EMAIL PROTECTED]
---
 cpu/nios2/sysid.c |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/cpu/nios2/sysid.c b/cpu/nios2/sysid.c
index b5a2959..697ed03 100644
--- a/cpu/nios2/sysid.c
+++ b/cpu/nios2/sysid.c
@@ -40,7 +40,7 @@ void display_sysid (void)
stamp = readl (sysid-timestamp);
localtime_r (stamp, t);
asctime_r (t, asc);
-   printf (SYSID : %08x, %s, readl (sysid-id), asc);
+   printf (SYSID : %08lx, %s, readl (sysid-id), asc);
 
 }
 
-- 
1.5.6.2


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users


[U-Boot-Users] [PATCH] drivers/serial: Move conditional compilation to Makefile for CONFIG_* macros

2008-08-02 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD [EMAIL PROTECTED]
---
Need to build nios2

I've prefer to move conditional compilation to Makefile instead of
you move an include in xuartlite. Which is not related to nios2.

I've choose to only move the CONFIG_ and merge the CFG_ in a second step during 
the next merge
 drivers/serial/Makefile   |   12 ++--
 drivers/serial/atmel_usart.c  |3 ---
 drivers/serial/mcfuart.c  |3 ---
 drivers/serial/s3c4510b_uart.c|4 
 drivers/serial/serial_max3100.c   |4 
 drivers/serial/serial_xuartlite.c |4 
 drivers/serial/usbtty.c   |5 -
 7 files changed, 6 insertions(+), 29 deletions(-)

diff --git a/drivers/serial/Makefile b/drivers/serial/Makefile
index c9e797e..de6fbab 100644
--- a/drivers/serial/Makefile
+++ b/drivers/serial/Makefile
@@ -25,18 +25,18 @@ include $(TOPDIR)/config.mk
 
 LIB:= $(obj)libserial.a
 
-COBJS-y += atmel_usart.o
-COBJS-y += mcfuart.o
+COBJS-$(CONFIG_ATMEL_USART) += atmel_usart.o
+COBJS-$(CONFIG_MCFUART) += mcfuart.o
 COBJS-y += ns9750_serial.o
 COBJS-y += ns16550.o
-COBJS-y += s3c4510b_uart.o
+COBJS-$(CONFIG_DRIVER_S3C4510_UART) += s3c4510b_uart.o
 COBJS-y += serial.o
-COBJS-y += serial_max3100.o
+COBJS-$(CONFIG_MAX3100_SERIAL) += serial_max3100.o
 COBJS-y += serial_pl010.o
 COBJS-y += serial_pl011.o
-COBJS-y += serial_xuartlite.o
+COBJS-$(CONFIG_XILINX_UARTLITE) += serial_xuartlite.o
 COBJS-y += serial_sh.o
-COBJS-y += usbtty.o
+COBJS-$(CONFIG_USB_TTY) += usbtty.o
 
 COBJS  := $(COBJS-y)
 SRCS   := $(COBJS:.o=.c)
diff --git a/drivers/serial/atmel_usart.c b/drivers/serial/atmel_usart.c
index f35b997..f3b146c 100644
--- a/drivers/serial/atmel_usart.c
+++ b/drivers/serial/atmel_usart.c
@@ -17,7 +17,6 @@
  */
 #include common.h
 
-#ifdef CONFIG_ATMEL_USART
 #include asm/io.h
 #include asm/arch/clk.h
 #include asm/arch/memory-map.h
@@ -96,5 +95,3 @@ int serial_tstc(void)
 {
return (usart3_readl(CSR)  USART3_BIT(RXRDY)) != 0;
 }
-
-#endif /* CONFIG_ATMEL_USART */
diff --git a/drivers/serial/mcfuart.c b/drivers/serial/mcfuart.c
index 5eb4f45..a1fcd05 100644
--- a/drivers/serial/mcfuart.c
+++ b/drivers/serial/mcfuart.c
@@ -29,8 +29,6 @@
 
 #include common.h
 
-#ifdef CONFIG_MCFUART
-
 #include asm/immap.h
 #include asm/uart.h
 
@@ -130,4 +128,3 @@ void serial_setbrg(void)
 
uart-ucr = UART_UCR_RX_ENABLED | UART_UCR_TX_ENABLED;
 }
-#endif /* CONFIG_MCFUART */
diff --git a/drivers/serial/s3c4510b_uart.c b/drivers/serial/s3c4510b_uart.c
index ddcd591..aa378e1 100644
--- a/drivers/serial/s3c4510b_uart.c
+++ b/drivers/serial/s3c4510b_uart.c
@@ -45,8 +45,6 @@
 
 #include common.h
 
-#ifdef CONFIG_DRIVER_S3C4510_UART
-
 #include asm/hardware.h
 #include s3c4510b_uart.h
 
@@ -212,5 +210,3 @@ void serial_puts (const char *s)
uart-m_ctrl.bf.sendBreak = 0;
 
 }
-
-#endif
diff --git a/drivers/serial/serial_max3100.c b/drivers/serial/serial_max3100.c
index 0611fc1..4abc271 100644
--- a/drivers/serial/serial_max3100.c
+++ b/drivers/serial/serial_max3100.c
@@ -26,8 +26,6 @@
 #include common.h
 #include watchdog.h
 
-#ifdef CONFIG_MAX3100_SERIAL
-
 DECLARE_GLOBAL_DATA_PTR;
 
 /**/
@@ -298,5 +296,3 @@ int serial_tstc(void)
 void serial_setbrg(void)
 {
 }
-
-#endif
diff --git a/drivers/serial/serial_xuartlite.c 
b/drivers/serial/serial_xuartlite.c
index 74546ce..00d0eaa 100644
--- a/drivers/serial/serial_xuartlite.c
+++ b/drivers/serial/serial_xuartlite.c
@@ -27,8 +27,6 @@
 #include config.h
 #include asm/io.h
 
-#ifdef CONFIG_XILINX_UARTLITE
-
 #define RX_FIFO_OFFSET 0 /* receive FIFO, read only */
 #define TX_FIFO_OFFSET 4 /* transmit FIFO, write only */
 #define STATUS_REG_OFFSET  8 /* status register, read only */
@@ -77,5 +75,3 @@ int serial_tstc(void)
 {
return (in_be32((u32 *) UARTLITE_STATUS)  SR_RX_FIFO_VALID_DATA);
 }
-
-#endif /* CONFIG_MICROBLZE */
diff --git a/drivers/serial/usbtty.c b/drivers/serial/usbtty.c
index 2bc5c3c..e738c56 100644
--- a/drivers/serial/usbtty.c
+++ b/drivers/serial/usbtty.c
@@ -23,8 +23,6 @@
 
 #include common.h
 
-#ifdef CONFIG_USB_TTY
-
 #include circbuf.h
 #include devices.h
 #include usbtty.h
@@ -1007,6 +1005,3 @@ void usbtty_poll (void)
udc_irq();
 
 }
-
-
-#endif
-- 
1.5.6.2


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users


[U-Boot-Users] ‘发’‘票’

2008-08-02 Thread
您好:
 我公司在(深圳市、东莞市、广州市、上海市等)有一部分税--票/ 代开;
  如:普通商品销售发/票;运输业、建筑业、建筑安装业、广告业、其它服务行业、餐饮业、普通增值税发票等等。

 贵公司如有需要,欢迎您的来电与我联系:
  
张先生:13642347225

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users


Re: [U-Boot-Users] [PATCH] mvbc_p: Fix problem with '#if (CONFIG_CMD_KGDB)'

2008-08-02 Thread Wolfgang Denk
In message [EMAIL PROTECTED] you wrote:
 Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD [EMAIL PROTECTED]
 ---
  include/configs/MVBC_P.h |4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH, MD: Wolfgang Denk  Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED]
Where humor is concerned there are no standards -- no  one  can  say
what is good or bad, although you can be sure that everyone will.
- John Kenneth Galbraith

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users


Re: [U-Boot-Users] [PATCH] nios2: fix phys_addr_t and phys_size_t support

2008-08-02 Thread Wolfgang Denk
In message [EMAIL PROTECTED] you wrote:
 Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD [EMAIL PROTECTED]
 ---
  cpu/nios2/interrupts.c|1 +
  include/asm-nios2/types.h |3 +++
  2 files changed, 4 insertions(+), 0 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH, MD: Wolfgang Denk  Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED]
Administration: An ingenious abstraction  in  politics,  designed  to
receive the kicks and cuffs due to the premier or president.
- Ambrose Bierce

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users


Re: [U-Boot-Users] [PATCH] Fix remaining build issues with MPC8xx FADS boards.

2008-08-02 Thread Wolfgang Denk
In message [EMAIL PROTECTED] you wrote:
 Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD [EMAIL PROTECTED]
 ---
  include/configs/FADS860T.h  |2 +-
  include/configs/MPC86xADS.h |2 +-
  include/configs/MPC885ADS.h |2 +-
  3 files changed, 3 insertions(+), 3 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH, MD: Wolfgang Denk  Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED]
Houston, Tranquillity Base here.  The Eagle has landed.
-- Neil Armstrong

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users


Re: [U-Boot-Users] [PATCH] nios2/sysid: fix printf warning

2008-08-02 Thread Wolfgang Denk
In message [EMAIL PROTECTED] you wrote:
 Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD [EMAIL PROTECTED]
 ---
  cpu/nios2/sysid.c |2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH, MD: Wolfgang Denk  Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED]
The Buddha, the Godhead, resides quite as comfortably in the circuits
of a digital computer or the gears of a cycle transmission as he does
at the top of a mountain or in the petals of a flower.
- R.  Pirsig, Zen and the Art of Motorcycle Maintenance

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users


Re: [U-Boot-Users] [PATCH] drivers/serial: Move conditional compilation to Makefile for CONFIG_* macros

2008-08-02 Thread Wolfgang Denk
In message [EMAIL PROTECTED] you wrote:
 Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD [EMAIL PROTECTED]
 ---
 Need to build nios2
 
 I've prefer to move conditional compilation to Makefile instead of
 you move an include in xuartlite. Which is not related to nios2.
 
 I've choose to only move the CONFIG_ and merge the CFG_ in a second step 
 during the next merge

OK.

  drivers/serial/Makefile   |   12 ++--
  drivers/serial/atmel_usart.c  |3 ---
  drivers/serial/mcfuart.c  |3 ---
  drivers/serial/s3c4510b_uart.c|4 
  drivers/serial/serial_max3100.c   |4 
  drivers/serial/serial_xuartlite.c |4 
  drivers/serial/usbtty.c   |5 -
  7 files changed, 6 insertions(+), 29 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH, MD: Wolfgang Denk  Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED]
All this doesn't alter anything, you know. The world is still full of
stupid people. They don't use their brains. They don't seem  to  want
to think straight.- Terry Pratchett, _Soul Music_

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users


Re: [U-Boot-Users] [PATCH] fdt: Add simple alias support to fdt print command

2008-08-02 Thread Jerry Van Baren
Kumar Gala wrote:
 
 On Jul 9, 2008, at 12:02 PM, Jerry Van Baren wrote:
 

 Thinking out loud... we could define the syntax that a leading * 
 indicates the first part of the path is a dereference of /aliases.

 Assuming
  /aliases/soc = /[EMAIL PROTECTED]
  /aliases/ethernet0 = /[EMAIL PROTECTED]/.../enet0
 then
  print *soc/enet0
 and
  print *ethernet0
 would both work and print the right thing.  You *would* have to know 
 that the first element of the path is an /aliases dereference.  Your 
 original patch did not require that piece of knowledge (but silently 
 and automagically, which makes me nervous).
 
 did we come to resolution on this?  I'd like to see this in 1.3.5.
 
 - k

Hi Kumar,

I think we have basic resolution - I would like to see it in 1.3.5 too. 
  I haven't pushed on this, waiting for 1.3.5 window to open (or some 
free time, whichever comes last).

I've CC:ed David Gibson in case he has some advice - the concept is to 
indicate a dereference of /aliases nodes so that us lazy engineers don't 
have to cut'n'paste the whole long path from the alias.  Kumar 
originally proposed to do it automagically and I countered proposing 
using * to indicate the next path name should be looked up in /aliases 
and the result used instead (i.e. dereferenced).  Discussion thread:
http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/43575/focus=44941

Looking at the ieee1275 doc
http://playground.sun.com/pub/1275/coredoc/1275-1994/1275.ps.gz
it looks like * will work for a dereference delimiter as it is not 
listed as one of the permitted punctuation characters in a node name. 
Quoting 3.2.1.1 Node names:
--
The driver name field is a sequence of between one and 31 letters, 
digits, and punctuation characters from the set , . _ + - . Uppercase 
and lowercase characters are distinct.
--

We do have a problem with property names, where * _is_ a legal name 
component.  Quoting 3.2.2.1.1 Property names:
--
The property name is a human-readable text string consisting of one to 
thirty-one printable characters. Property names shall not contain 
uppercase characters or the characters /, \, :, [, ] and @.
--
Note that * is not proscribed, making it a legal character in a 
property name.

Having noted that, I'm willing to take the risk and use * for the 
alias dereference separator.

Looking back at the original patch, Kumar's original patch only did the 
/aliases dereference for the fdt print command.  I'm thinking more 
general purpose: being able to dereference /aliases in all fdt 
commands.  This seems helpful for the fdt set command, for instance. 
Whether this is reasonable to implement remains to be seen...

Best regards,
gvb

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users


Re: [U-Boot-Users] using a flat device tree to drive u-boot config

2008-08-02 Thread Jerry Van Baren
Scott Wood wrote:
 Ben Warren wrote:
 On Mon, Jul 28, 2008 at 10:32 AM, Scott Wood [EMAIL PROTECTED] wrote:
 I find a device tree much easier to figure out than a tangled mess of header
 files, #defines, and #ifdefs...
 In many ways, yes.  But are you an average Joe or a Linux kernel 
 propellerhead?
 
 Is u-boot work normally done by average Joes, and does the average Joe 
 really find the preprocessor mess more intuitive than a propellerhead?
 
 While we're at it, let's re-write u-boot in Visual Basic. :-)

NO, No, no!  In FORTH. :-P

 -Scott

gvb %;-)

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users


Re: [U-Boot-Users] using a flat device tree to drive u-boot config

2008-08-02 Thread Jon Smirl
On 7/29/08, Timur Tabi [EMAIL PROTECTED] wrote:
 On Mon, Jul 28, 2008 at 10:07 AM, Kumar Gala [EMAIL PROTECTED] wrote:
   One topic that come up during OLS in discussions and u-boot BOF was
   the idea of driving u-boot configuration from a device tree instead of
   from config.h.  I was wondering if anyone has actually looked at
   doing this.


 What about creating a tool that parses a device tree and creates (or
  updates) the board header file?  This will retain compatibility with
  other platforms, clean up the existing header files (they won't need
  to contain as much information), and reduce the amount of changes to
  U-Boot itself.

That's a good idea. I have used variation on this concept in the past
and they have worked out well.

A perfect tool would take a fully populated DTS file and use it to
dynamically generate all of the needed header files to build uboot.
More info would need to be added to the DTS file like DRAM timings,
etc. But a DTS file is good place to track all of that info. The
generated uboot image could contain a copy of the DTB and feed it to
Linux. Allow the user to override the embedded DTB if necessary.

-- 
Jon Smirl
[EMAIL PROTECTED]

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users


Re: [U-Boot-Users] Power.org open-firmware/device trees ePAPR reference

2008-08-02 Thread Jerry Van Baren
David Hawkins wrote:
 Hi,
 
 I just received an email from Power.org referencing this document:
 
 http://www.power.org/resources/downloads/Power_ePAPR_APPROVED_v1.0.pdf
 
   The ePAPR is loosely related to the IEEE 1275 Open Firmware
standard—IEEE Standard for Boot (Initialization Configuration)
Firmware: Core Requirements and Practices.
 
 It looks to have a nice description of device trees.
 
 I see lots of familiar U-Boot developer names in the acknowledgments,
 so I imagine U-Boot is probably compliant with this specification
 already.
 
 Looks like a useful document to reference somewhere on the Denx
 documentation area.
 
 Cheers,
 Dave

Hi Dave,

Thanks for the pointer.  I have a collection of useful IEEE-1275 / FDT 
pointers on my custodian page and added your reference to the collection:
http://www.denx.de/wiki/view/U-Boot/UBootFdtInfo#Background_Information_on_Flatte

Some of these references may deserve a higher visibility location.

Best regards,
gvb

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users