Re: [U-Boot] [RFC] ARM: omap3: Add option to disable errata workarounds.

2013-07-09 Thread Peter Meerwald
Hello,

  It seems that all three ARM errata workarounds done in omap3 board-init
  (#454179 #430973 #621766) are solved/not longer needed e.g. in the
  AM/DM37xx chips. Other people have noticed this:
  http://e2e.ti.com/support/arm/sitara_arm/f/791/t/254742.aspx
 
  When still applying them (especcially #430973), lots of segmentations
  faults and other strange stuff begin to appear.
 
  I read your link the other way round. If the #430973 errata fix is _not_
  applied to r3p2 it gives a lot of segfaults. Unfortunately the thread
  has noc more information on that.

#430973 is still needed on latest Cortex-A8 silicon of DM3730 according to 
my testing; this is in contradiction to what TI and ARM claim

  I dont know what bootloader the guy used, but he states that he needs to
  enable the errata fix in the kernel for the segfaults to disappear. I

the guy used u-boot 2012.10 and linux 3.7 :)

  found exactly the same: Initially I had no errata fixes configured for
  the kernel, only when I added them the segfaults disappeared.
  However they also disappear if I remove the workarounds from kernel as
  well as u-boot, hence this patch.

interesting; I did not consider this dependency between u-boot and 
kernel here; will try it

regards, p.

-- 

Peter Meerwald
+43-664-218 (mobile)
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] [PATCH] twl4030: fix 'could could' in error messages

2012-11-20 Thread Peter Meerwald
From: Peter Meerwald p.meerw...@bct-electronic.com

Signed-off-by: Peter Meerwald p.meerw...@bct-electronic.com
---
 drivers/power/twl4030.c |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/power/twl4030.c b/drivers/power/twl4030.c
index 36b2144..e7d5f13 100644
--- a/drivers/power/twl4030.c
+++ b/drivers/power/twl4030.c
@@ -71,7 +71,7 @@ void twl4030_pmrecv_vsel_cfg(u8 vsel_reg, u8 vsel_val,
ret = twl4030_i2c_write_u8(TWL4030_CHIP_PM_RECEIVER, vsel_val,
vsel_reg);
if (ret != 0) {
-   printf(Could could not write vsel to reg %02x (%d)\n,
+   printf(Could not write vsel to reg %02x (%d)\n,
vsel_reg, ret);
return;
}
@@ -80,7 +80,7 @@ void twl4030_pmrecv_vsel_cfg(u8 vsel_reg, u8 vsel_val,
ret = twl4030_i2c_write_u8(TWL4030_CHIP_PM_RECEIVER, dev_grp_sel,
dev_grp);
if (ret != 0)
-   printf(Could could not write grp_sel to reg %02x (%d)\n,
+   printf(Could not write grp_sel to reg %02x (%d)\n,
dev_grp, ret);
 }
 
-- 
1.7.9.5

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [STATUS] v2012.10 released, Merge Window is OPEN

2012-10-16 Thread Peter Meerwald

 Done:
   25 employers found
 Any others?

bct-electronic.com - bct electronic GmbH

thx, p.

-- 

Peter Meerwald
+43-664-218 (mobile)
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [STATUS] v2012.10 released, Merge Window is OPEN

2012-10-16 Thread Peter Meerwald

 Done:
   25 employers found
 Any others?

bct-electronic.com - bct electronic GmbH

thx, p.

-- 

Peter Meerwald
+43-664-218 (mobile)
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] [PATCH] omap4_panda: remove CONFIG_PANDA, not used

2012-09-28 Thread Peter Meerwald
From: Peter Meerwald p.meerw...@bct-electronic.com

Signed-off-by: Peter Meerwald pme...@pmeerw.net
---
 include/configs/omap4_panda.h |1 -
 1 file changed, 1 deletion(-)

diff --git a/include/configs/omap4_panda.h b/include/configs/omap4_panda.h
index b4756be..eacb5f5 100644
--- a/include/configs/omap4_panda.h
+++ b/include/configs/omap4_panda.h
@@ -31,7 +31,6 @@
 /*
  * High Level Configuration Options
  */
-#define CONFIG_PANDA   /* working with Panda */
 
 /* USB UHH support options */
 #define CONFIG_CMD_USB
-- 
1.7.9.5

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] [PATCH] beagle: only call DSS code when #defined CONFIG_VIDEO_OMAP3

2012-07-10 Thread Peter Meerwald
From: Peter Meerwald p.meerw...@bct-electronic.com

Signed-off-by: Peter Meerwald p.meerw...@bct-electronic.com
---
 board/ti/beagle/beagle.c |4 
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/board/ti/beagle/beagle.c b/board/ti/beagle/beagle.c
index a02a350..f13f1be 100644
--- a/board/ti/beagle/beagle.c
+++ b/board/ti/beagle/beagle.c
@@ -245,6 +245,7 @@ unsigned int get_expansion_id(void)
return expansion_config.device_vendor;
 }
 
+#ifdef CONFIG_VIDEO_OMAP3
 /*
  * Configure DSS to display background color on DVID
  * Configure VENC to display color bar on S-Video
@@ -299,6 +300,7 @@ static void beagle_dvi_pup(void)
break;
}
 }
+#endif
 
 /*
  * Routine: misc_init_r
@@ -483,9 +485,11 @@ int misc_init_r(void)
 
dieid_num_r();
 
+#ifdef CONFIG_VIDEO_OMAP3
beagle_dvi_pup();
beagle_display_init();
omap3_dss_enable();
+#endif
 
return 0;
 }
-- 
1.7.5.4

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [PATCH] beagle: only call DSS code when #defined CONFIG_VIDEO_OMAP3

2012-07-10 Thread Peter Meerwald

 So, why?  Are you doing custom builds for beagleboard, but with the dss
 stuff removed?  To try and make beagle an easier starting point for
 custom hardware?  Thanks!

I consider a CONFIG #define which only works when defined a bug

thx, p.

-- 

Peter Meerwald
+43-664-218 (mobile)
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] [PATCH] beagle: make get_expansion_id(), get_board_revision(), beagle_display_init() static

2012-07-02 Thread Peter Meerwald
From: Peter Meerwald p.meerw...@bct-electronic.com

Signed-off-by: Peter Meerwald p.meerw...@bct-electronic.com
---
 board/ti/beagle/beagle.c |6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/board/ti/beagle/beagle.c b/board/ti/beagle/beagle.c
index 9edd3c5..4611b8a 100644
--- a/board/ti/beagle/beagle.c
+++ b/board/ti/beagle/beagle.c
@@ -111,7 +111,7 @@ int board_init(void)
  * GPIO173, GPIO172, GPIO171: 1 0 1 = C4
  * GPIO173, GPIO172, GPIO171: 0 0 0 = xM
  */
-int get_board_revision(void)
+static int get_board_revision(void)
 {
int revision;
 
@@ -210,7 +210,7 @@ void get_board_mem_timings(u32 *mcfg, u32 *ctrla, u32 
*ctrlb, u32 *rfr_ctrl,
  * bus 1 for the availability of an AT24C01B serial EEPROM.
  * returns the device_vendor field from the EEPROM
  */
-unsigned int get_expansion_id(void)
+static unsigned int get_expansion_id(void)
 {
i2c_set_bus_num(EXPANSION_EEPROM_I2C_BUS);
 
@@ -233,7 +233,7 @@ unsigned int get_expansion_id(void)
  * Configure DSS to display background color on DVID
  * Configure VENC to display color bar on S-Video
  */
-void beagle_display_init(void)
+static void beagle_display_init(void)
 {
omap3_dss_venc_config(venc_config_std_tv, VENC_HEIGHT, VENC_WIDTH);
switch (get_board_revision()) {
-- 
1.7.5.4

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] [PATCH] beagle: removed unused pr_debug #define

2012-07-02 Thread Peter Meerwald
From: Peter Meerwald p.meerw...@bct-electronic.com

Signed-off-by: Peter Meerwald pme...@pmeerw.net
---
 board/ti/beagle/beagle.c |2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/board/ti/beagle/beagle.c b/board/ti/beagle/beagle.c
index 2214b7f..2b61cb8 100644
--- a/board/ti/beagle/beagle.c
+++ b/board/ti/beagle/beagle.c
@@ -50,8 +50,6 @@
 #include asm/ehci-omap.h
 #endif
 
-#define pr_debug(fmt, args...) debug(fmt, ##args)
-
 #define TWL4030_I2C_BUS0
 #define EXPANSION_EEPROM_I2C_BUS   1
 #define EXPANSION_EEPROM_I2C_ADDRESS   0x50
-- 
1.7.5.4

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] [PATCH] beagle: add eeprom expansion board info for bct brettl4

2012-06-28 Thread Peter Meerwald
this is for a prototyping board

vendor/product ids have been added to
http://elinux.org/BeagleBoardPinMux#List_of_Vendor_and_Device_IDs

Signed-off-by: Peter Meerwald p.meerw...@bct-electronic.com
---
 board/ti/beagle/beagle.c |8 ++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/board/ti/beagle/beagle.c b/board/ti/beagle/beagle.c
index 9edd3c5..2ef2290 100644
--- a/board/ti/beagle/beagle.c
+++ b/board/ti/beagle/beagle.c
@@ -68,6 +68,7 @@
 #define BBTOYS_VGA 0x02000B00
 #define BBTOYS_LCD 0x03000B00
 #define BCT_BRETTL30x01000F00
+#define BCT_BRETTL40x02000F00
 #define BEAGLE_NO_EEPROM   0x
 
 DECLARE_GLOBAL_DATA_PTR;
@@ -417,8 +418,11 @@ int misc_init_r(void)
printf(Recognized BeagleBoardToys LCD board\n);
break;;
case BCT_BRETTL3:
-   printf(Recognized bct electronic GmbH brettl3 board\n);
-   break;
+   printf(Recognized bct electronic GmbH brettl3 board\n);
+   break;
+   case BCT_BRETTL4:
+   printf(Recognized bct electronic GmbH brettl4 board\n);
+   break;
case BEAGLE_NO_EEPROM:
printf(No EEPROM on expansion board\n);
setenv(buddy, none);
-- 
1.7.9.5

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] [PATCH] beagle: fix 'timed out in wait_for_bb' message in SPL

2012-04-25 Thread Peter Meerwald
From: Peter Meerwald p.meerw...@bct-electronic.com

SPL boot outputs a 'timed out in wait_for_bb: IC2_STAT' message on beagle

U-Boot SPL 2012.04-00020-gb8310b9-dirty (Apr 25 2012 - 18:49:57)
Texas Instruments Revision detection unimplemented
OMAP SD/MMC: 0
timed out in wait_for_bb: I2C_STAT=1000
reading u-boot.img

the reason for above message is that when booting from MMC, I2C needs (?) to be
initialized as well

when SPL initializes MMC (which is done in omap_hsmmc.c, mmc_board_init()) the 
following
is called:

twl4030_power_mmc_init();

in order to communicate with the twl4030, I2C is necessary, but I2C has not 
been initialized yet in SPL

the problem can be easily fixed by #defining CONFIG_SPL_BOARD_INIT in 
include/configs/omap3_beagle.h

tested on beagle-xm (rev. C)

Signed-off-by: Peter Meerwald p.meerw...@bct-electronic.com
---
 include/configs/omap3_beagle.h |1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h
index ddeb414..27e51cd 100644
--- a/include/configs/omap3_beagle.h
+++ b/include/configs/omap3_beagle.h
@@ -410,6 +410,7 @@
 #define CONFIG_SYS_MMC_SD_FAT_BOOT_PARTITION   1
 #define CONFIG_SPL_FAT_LOAD_PAYLOAD_NAME   u-boot.img
 
+#define CONFIG_SPL_BOARD_INIT
 #define CONFIG_SPL_LIBCOMMON_SUPPORT
 #define CONFIG_SPL_LIBDISK_SUPPORT
 #define CONFIG_SPL_I2C_SUPPORT
-- 
1.7.5.4

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] LAN9514 on Beagleboard

2012-03-20 Thread Peter Meerwald
Hello,

 could someone with a beagleboard xm please tell me if the LAN9514 works
 correctly? We've built two clones, that have the LAN9514 attached via
 the TPS65950 and I get register write errors when trying to set the MAC
 address. The linux drivers don't have this problem, so it's probably not
 a hardware issue.

it works for me with a fairly recent u-boot

a log of commands would be useful...

two hints:
- try 'dc off' to disable the data cache
- try 'setenv usbethaddr 00:11:22:33:44:55', there is no EEPROM 

regards, p.

-- 

Peter Meerwald
+43-664-218 (mobile)
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] OMAP USB, beagle-xm fail

2012-02-13 Thread Peter Meerwald
Hello,

the recent OMAP USB changes (43b62393da6dfdd7f503d1b37344463a05ea47b5, 
29321c0518d99494ab2a250e5b4f75b3add83b11) fail on beagleboard-xm rev. C, 
see below

regards, p.



U-Boot SPL 2011.12-00326-gdda8078 (Feb 13 2012 - 09:15:55)
Texas Instruments Revision detection unimplemented
OMAP SD/MMC: 0
timed out in wait_for_status_mask: I2C_STAT=1010
timed out in wait_for_status_mask: I2C_STAT=1010
reading u-boot.img
reading u-boot.img


U-Boot 2011.12-00326-gdda8078 (Feb 13 2012 - 09:15:55)

OMAP36XX/37XX-GP ES1.2, CPU-OPP2, L3-165MHz, Max CPU Clock 1 Ghz
OMAP3 Beagle board + LPDDR/NAND
I2C:   ready
DRAM:  512 MiB
NAND:  0 MiB
MMC:   OMAP SD/MMC: 0
*** Warning - readenv() failed, using default environment

timed out in wait_for_status_mask: I2C_STAT=1410
timed out in wait_for_status_mask: I2C_STAT=1410
timed out in wait_for_status_mask: I2C_STAT=1410
timed out in wait_for_status_mask: I2C_STAT=1410
timed out in wait_for_status_mask: I2C_STAT=1410
timed out in wait_for_status_mask: I2C_STAT=1410
timed out in wait_for_status_mask: I2C_STAT=1410
timed out in wait_for_status_mask: I2C_STAT=1410
timed out in wait_for_status_mask: I2C_STAT=1410
timed out in wait_for_status_mask: I2C_STAT=1410
timed out in wait_for_status_mask: I2C_STAT=1410
timed out in wait_for_status_mask: I2C_STAT=1410
TWL4030:USB:Write[0xfd] Error 1
timed out in wait_for_status_mask: I2C_STAT=1410
TWL4030:USB:Write[0xfe] Error 1
timed out in wait_for_status_mask: I2C_STAT=1410
TWL4030:USB:Write[0xfe] Error 1



-- 

Peter Meerwald
+43-664-218 (mobile)
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] OMAP USB, beagle-xm fail

2012-02-13 Thread Peter Meerwald
Hello Govindraj,

 Looking into it closely the below two patches are causing this issue:
 commit 498cbdfe62a8330f6c89765bdd15e60328a26511
 commit 2faa76196af4b3e93bcb9e38ed9090cbd3b06db3

 Reverting these two patches I don't see these errors
 on my beagle rev c board logs as in here [1]

correct, thank you for pointing this out!
works again without those two i2c-related patches

 btw, usb error printed is a musb error not the ehci host error.

I missed that

thanks, regards, p.

-- 

Peter Meerwald
+43-664-218 (mobile)
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] [PATCH] beagle: enable DVI_PUP

2012-02-08 Thread Peter Meerwald
From: Peter Meerwald p.meerw...@bct-electronic.com

this patch addresses the issue that there is no DVI output on beagleboard-xm in
u-boot; the TFP410 is not powered on, DVI_PUP needs to be set high

this is done differently on beagleboard-xm rev. B/C versus earlier boards:
beagleboard-xm B/C need to set GPIO2 of the TWL4030
earlier boards need to set GPIO170

note that the change occured somewhere inbetween beagleboard-xm rev. A2 and A3

note that beagleboard-xm rev. A and rev. B cannot be distinguished using 
get_board_revision(), REVISION_XM_A/REVISION_XM_B is bogus

due to this glitch, the patch cannot work correctly on some beagleboard-xm 
rev A/B boards

tested on beagleboard-xm rev. C (you should see orange color on a monitor)


note that the framebuffer is NOT yet set up, this could be done along the 
lines below (for 800x480 resolution and RGB24) before calling omap3_dss_enable()

static void configure_frame_buffer() {
writel(0x8050, (uint *) 0x48050480); // address
writel(0x8050, (uint *) 0x48050484);
writel(0x01df031f, (uint *) 0x4805048c); // size
writel(0x0091, (uint *) 0x480504a0); // RGB24
}

Signed-off-by: Peter Meerwald p.meerw...@bct-electronic.com

---
 board/ti/beagle/beagle.c |   34 ++
 1 files changed, 34 insertions(+), 0 deletions(-)

diff --git a/board/ti/beagle/beagle.c b/board/ti/beagle/beagle.c
index 5c04b34..79f7f44 100644
--- a/board/ti/beagle/beagle.c
+++ b/board/ti/beagle/beagle.c
@@ -249,6 +249,38 @@ void beagle_display_init(void)
 }
 
 /*
+ * Enable DVI power
+ */
+static void beagle_dvi_pup() {
+   uchar val;
+
+   switch (get_board_revision()) {
+   case REVISION_AXBX:
+   case REVISION_CX:
+   case REVISION_C4:
+   case REVISION_XM_A:
+   gpio_request(170, );
+   gpio_direction_output(170, 0);
+   gpio_set_value(170, 1);
+   break;
+   case REVISION_XM_B:
+   case REVISION_XM_C:
+   default:
+   #define GPIODATADIR1 (TWL4030_BASEADD_GPIO+3)
+   #define GPIODATAOUT1 (TWL4030_BASEADD_GPIO+6)
+
+   i2c_read(TWL4030_CHIP_GPIO, GPIODATADIR1, 1, val, 1);
+   val |= 4;
+   i2c_write(TWL4030_CHIP_GPIO, GPIODATADIR1, 1, val, 1);
+
+   i2c_read(TWL4030_CHIP_GPIO, GPIODATAOUT1, 1, val, 1);
+   val |= 4;
+   i2c_write(TWL4030_CHIP_GPIO, GPIODATAOUT1, 1, val, 1);
+   break;
+   }
+}
+
+/*
  * Routine: misc_init_r
  * Description: Configure board specific parts
  */
@@ -419,6 +451,8 @@ int misc_init_r(void)
GPIO15 | GPIO14 | GPIO13 | GPIO12), gpio5_base-oe);
 
dieid_num_r();
+
+   beagle_dvi_pup();
beagle_display_init();
omap3_dss_enable();
 
-- 
1.7.4.1

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] [PATCH 1/3] doc: complete, typos

2012-02-08 Thread Peter Meerwald
From: Peter Meerwald p.meerw...@bct-electronic.com

mention repeatable to README.commands and fix some typos

Signed-off-by: Peter Meerwald p.meerw...@bct-electronic.com

---
 doc/README.commands |   12 ++--
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/doc/README.commands b/doc/README.commands
index d678992..69576dc 100644
--- a/doc/README.commands
+++ b/doc/README.commands
@@ -1,19 +1,19 @@
 
 Commands are added to U-Boot by creating a new command structure.
-This is done by first including command.h
-
-Then using the U_BOOT_CMD() macro to fill in a cmd_tbl_t struct.
+This is done by first including command.h, then using the U_BOOT_CMD() macro 
+to fill in a cmd_tbl_t struct.
 
 U_BOOT_CMD(name,maxargs,repeatable,command,usage,help)
 
 name:   is the name of the commad. THIS IS NOT a string.
-maxargs: the maximumn numbers of arguments this function takes
+maxargs: the maximum number of arguments this function takes
+repeatable: either 0 or 1 to indicate if autorepeat is allowed
 command: Function pointer (*cmd)(struct cmd_tbl_s *, int, int, char *[]);
 usage:  Short description. This is a string
-help:   long description. This is a string
+help:   Long description. This is a string
 
 
- Behinde the scene **
+ Behind the scene **
 
 The structure created is named with a special prefix (__u_boot_cmd_)
 and placed by the linker in a special section.
-- 
1.7.4.1

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] [PATCH 3/3] usb_ether: fix typo

2012-02-08 Thread Peter Meerwald
From: Peter Meerwald p.meerw...@bct-electronic.com

Signed-off-by: Peter Meerwald p.meerw...@bct-electronic.com

---
 drivers/usb/eth/usb_ether.c |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/usb/eth/usb_ether.c b/drivers/usb/eth/usb_ether.c
index 8bfe256..32f4bc8 100644
--- a/drivers/usb/eth/usb_ether.c
+++ b/drivers/usb/eth/usb_ether.c
@@ -140,7 +140,7 @@ int usb_host_eth_scan(int mode)
dev = usb_get_dev_index(i); /* get device */
debug(i=%d\n, i);
if (dev == NULL)
-   break; /* no more devices avaiable */
+   break; /* no more devices available */
 
/* find valid usb_ether driver for this device, if any */
probe_valid_drivers(dev);
-- 
1.7.4.1

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] [PATCH 2/3] cmd_eeprom: typo

2012-02-08 Thread Peter Meerwald
From: Peter Meerwald p.meerw...@bct-electronic.com

Signed-off-by: Peter Meerwald p.meerw...@bct-electronic.com

---
 common/cmd_eeprom.c |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/common/cmd_eeprom.c b/common/cmd_eeprom.c
index e911377..a48b3d2 100644
--- a/common/cmd_eeprom.c
+++ b/common/cmd_eeprom.c
@@ -26,7 +26,7 @@
  * Support for read and write access to EEPROM like memory devices. This
  * includes regular EEPROM as well as  FRAM (ferroelectic nonvolaile RAM).
  * FRAM devices read and write data at bus speed. In particular, there is no
- * write delay. Also, there is no limit imposed on the numer of bytes that can
+ * write delay. Also, there is no limit imposed on the number of bytes that can
  * be transferred with a single read or write.
  *
  * Use the following configuration options to ensure no unneeded performance
-- 
1.7.4.1

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [PATCH 6/6] SPL: Add README.omap3

2012-02-08 Thread Peter Meerwald

 +only varry in where the BSS and malloc pool reside.

vary

 +2) Perform the following shell to generate a list of C files used in SPL

shell command

 +cflow will spit out a number of warnings as it does not parse
 +the config files and pick functions based on #ifdef.  Parsing the '.i'

picks

-- 

Peter Meerwald
+43-664-218 (mobile)
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] [PATCH] doc: fix typos

2012-02-02 Thread Peter Meerwald
From: Peter Meerwald p.meerw...@bct-electronic.com

Signed-off-by: Peter Meerwald p.meerw...@bct-electronic.com

---
 doc/README.SPL |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/README.SPL b/doc/README.SPL
index f01a8bd..0276953 100644
--- a/doc/README.SPL
+++ b/doc/README.SPL
@@ -42,8 +42,8 @@ The building of SPL images can be with:
 
 #define CONFIG_SPL
 
-Because SPL images normally have a different text base, one have to be
-configured by defining CONFIG_SPL_TEXT_BASE. The linker script have to be
+Because SPL images normally have a different text base, one has to be
+configured by defining CONFIG_SPL_TEXT_BASE. The linker script has to be
 defined with CONFIG_SPL_LDSCRIPT.
 
 To support generic U-Boot libraries and drivers in the SPL binary one can
-- 
1.7.4.1

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] [PATCH] beagle: fix typos

2012-02-02 Thread Peter Meerwald
From: Peter Meerwald p.meerw...@bct-electronic.com

Signed-off-by: Peter Meerwald p.meerw...@bct-electronic.com

---
 board/ti/beagle/beagle.h |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/board/ti/beagle/beagle.h b/board/ti/beagle/beagle.h
index 18bfaa8..c0a94a9 100644
--- a/board/ti/beagle/beagle.h
+++ b/board/ti/beagle/beagle.h
@@ -536,7 +536,7 @@ static const struct venc_regs venc_config_std_tv = {
  * Configure Timings for DVI D
  */
 static const struct panel_config dvid_cfg = {
-   .timing_h   = 0x0ff03f31, /* Horizantal timing */
+   .timing_h   = 0x0ff03f31, /* Horizontal timing */
.timing_v   = 0x01400504, /* Vertical timing */
.pol_freq   = 0x7028, /* Pol Freq */
.divisor= 0x00010006, /* 72Mhz Pixel Clock */
@@ -548,7 +548,7 @@ static const struct panel_config dvid_cfg = {
 };
 
 static const struct panel_config dvid_cfg_xm = {
-   .timing_h   = 0x1a4024c9, /* Horizantal timing */
+   .timing_h   = 0x1a4024c9, /* Horizontal timing */
.timing_v   = 0x02c00509, /* Vertical timing */
.pol_freq   = 0x7028, /* Pol Freq */
.divisor= 0x00010001, /* 96MHz Pixel Clock */
-- 
1.7.4.1

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] [PATCH] omap3: fix comment typos

2012-02-02 Thread Peter Meerwald
From: Peter Meerwald p.meerw...@bct-electronic.com

Signed-off-by: Peter Meerwald p.meerw...@bct-electronic.com

---
 arch/arm/cpu/armv7/omap3/board.c |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/cpu/armv7/omap3/board.c b/arch/arm/cpu/armv7/omap3/board.c
index 871aa37..bdf676f 100644
--- a/arch/arm/cpu/armv7/omap3/board.c
+++ b/arch/arm/cpu/armv7/omap3/board.c
@@ -144,7 +144,7 @@ void secureworld_exit()
 {
unsigned long i;
 
-   /* configrue non-secure access control register */
+   /* configure non-secure access control register */
__asm__ __volatile__(mrc p15, 0, %0, c1, c1, 2:=r(i));
/* enabling co-processor CP10 and CP11 accesses in NS world */
__asm__ __volatile__(orr %0, %0, #0xC00:=r(i));
@@ -389,7 +389,7 @@ static void omap3_setup_aux_cr(void)
 {
/* Workaround for Cortex-A8 errata: #454179 #430973
 *  Set IBE bit
-*  Set Disable Brach Size Mispredicts bit
+*  Set Disable Branch Size Mispredicts bit
 * Workaround for erratum #621766
 *  Enable L1NEON bit
 * ACR |= (IBE | DBSM | L1NEON) = ACR |= 0xE0
-- 
1.7.4.1

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] beagle-xm boot logo / DSS in u-boot

2012-01-27 Thread Peter Meerwald
Hello,

u-boot has some code for beagleboard to initialize DVI (?), i.e.
beagle_display_init();
omap3_dss_enable();
as well as CONFIG_VIDEO_OMAP3

what is the expected output? this doesn't seem to do anything

I understand that there is no code to actually output an image, but I 
would expect that there is atleast a black screen

any idea what might be missing?

thanks, regards, p.

-- 

Peter Meerwald
+43-664-218 (mobile)
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] non SPL boot on beagleboard-xm

2012-01-25 Thread Peter Meerwald
Hello Tom,

  I can boot u-boot built from git commit
  b609009801b8a00644926f49b7d0d0cc0d3d8797 successfully, but it fails with
  git commit ee08a8260a3a7f6ef2001cfa3e7b6137b485f40a:

 The current implementation (after poking some of the other
 beagleboard.org folks) requires SPL.  It's not a hard requirement of
 supporting SPL that other loaders not be supported, we just didn't aim
 for compatibility.

thank you for the clarification; I had the impression it might be 
something optional as CONFIG_SPL implies

MLO/SPL + current u-boot breaks the USB ethernet patches (i.e. booting via 
tftp)

regards, p.

-- 

Peter Meerwald
+43-664-218 (mobile)
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] non SPL boot on beagleboard-xm

2012-01-25 Thread Peter Meerwald
Hello Tom,

  MLO/SPL + current u-boot breaks the USB ethernet patches (i.e. booting via 
  tftp)

 Even with 'dc off' before you start usb?

I was not aware of the u-boot command 'dc off' -- yes, it solve my USB 
ethernet problem

here is my story (from bisecting):

v2011.06 + Koen et al. patches (git://github.com/koenkooi/u-boot.git) 
works

shortly afterwards, dcache was enabled (commit 
c2dd0d45540397704de9b13287417d21049d34c6) and USB ethernet fails

v2011.09 works if using 'dc off' before 'usb start' (I tried it as a 
recent non-SPL u-boot version)

u-boot current (137703b811502dfea364650fb3e17f20b4c21333) works as well 
with 'dc off' before 'usb start'

thanks, regards, p.

-- 

Peter Meerwald
+43-664-218 (mobile)
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] non SPL boot on beagleboard-xm

2012-01-24 Thread Peter Meerwald
Hello,

I can boot u-boot built from git commit 
b609009801b8a00644926f49b7d0d0cc0d3d8797 successfully, but it fails with 
git commit ee08a8260a3a7f6ef2001cfa3e7b6137b485f40a:

Texas Instruments X-Loader 1.5.1 (Jan 24 2012 - 14:51:45)
Beagle xM
Reading boot sector
Loading u-boot.bin from mmc

for commit ee08a8260a3a7f6ef2001cfa3e7b6137b485f40a I am disabling (or so 
I hope) SPL by setting
#define CONFIG_SPL - #undef CONFIG_SPL
in include/configs/omap3_beagle.h

is SPL mandatory?
CONFIG_SPL does not work for me to disable it

note: using MLO/SPL with current u-boot works fine

thanks, p.

-- 

Peter Meerwald
+43-664-218 (mobile)
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] [PATCH] beagle: add eeprom expansion board info for bct brettl3

2012-01-03 Thread Peter Meerwald
From: Peter Meerwald p.meerw...@bct-electronic.com

this is for a prototyping board

vendor/product ids have been added to
http://elinux.org/BeagleBoardPinMux#List_of_Vendor_and_Device_IDs

---
 board/ti/beagle/beagle.c |4 
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/board/ti/beagle/beagle.c b/board/ti/beagle/beagle.c
index 6a457cb..5c04b34 100644
--- a/board/ti/beagle/beagle.c
+++ b/board/ti/beagle/beagle.c
@@ -71,6 +71,7 @@ extern volatile struct ehci_hcor *hcor;
 #define BBTOYS_WIFI0x01000B00
 #define BBTOYS_VGA 0x02000B00
 #define BBTOYS_LCD 0x03000B00
+#define BCT_BRETTL30x01000F00
 #define BEAGLE_NO_EEPROM   0x
 
 DECLARE_GLOBAL_DATA_PTR;
@@ -379,6 +380,9 @@ int misc_init_r(void)
case BBTOYS_LCD:
printf(Recognized BeagleBoardToys LCD board\n);
break;;
+   case BCT_BRETTL3:
+   printf(Recognized bct electronic GmbH brettl3 board\n);
+   break;
case BEAGLE_NO_EEPROM:
printf(No EEPROM on expansion board\n);
setenv(buddy, none);
-- 
1.7.4.1

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [PATCH v8 0/4] Add SMSC95XX support including MAC address control

2011-06-13 Thread Peter Meerwald

 Changes for v8:
  - Add setup of SMSC write_hwaddr function

works for me on Pandaboard with the x-loader version pointed out by Gilles

thx, p.

-- 

Peter Meerwald
+43-664-218 (mobile)
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] TFTP support for Pandaboard (OMAP4430 Cortex-A9 Dual core)

2011-06-06 Thread Peter Meerwald

 1. I need to boot my Pandaboard via TFTP. As long as I see this is
 not yet possible, since in u-boot\include\configs\omap4_panda.h
 there is:
 /* Disabled commands */
 #undef CONFIG_CMD_NET
 #undef CONFIG_CMD_NFS

a couple of patches have been posted on this ML to support SMSC USB 
ethernet and EHCI; I have been unsuccessful so far to get them to work but 
maybe there is hope... :)

regards, p.

-- 

Peter Meerwald
+43-664-218 (mobile)
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] omap4 EHCI support and SMSC95xx support on panda

2011-05-27 Thread Peter Meerwald

 From the traces you show, I am not sure this is what you are missing,
 though. The other detail, is that I used the latest version of
 X-loader git, it may enable some clocks that previous versions did not
 enable. I would like to rebase the patches on the SPL patches posted

where is the latest x-loader git?
I've tried several x-loader repos but it is not clear which one I 
recommended

p.


-- 

Peter Meerwald
+43-664-218 (mobile)
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] omap4 EHCI support and SMSC95xx support on panda

2011-05-26 Thread Peter Meerwald
()  
ping failed; host 192.168.1.1 is not alive  
Panda # 



sorry if I got something wrong, I hope I am looking at the right 
patches...

regards, p.

-- 

Peter Meerwald
+43-664-218 (mobile)
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] omap4 EHCI support and SMSC95xx support on panda

2011-05-26 Thread Peter Meerwald
()  
ping failed; host 192.168.1.1 is not alive  
Panda # 



sorry if I got something wrong, I hope I am looking at the right 
patches...

regards, p.

-- 

Peter Meerwald
+43-664-218 (mobile)
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot