Kim Phillips | 1 Jul 2012 01:29
Favicon

[PATCH] powerpc/mpc83xx: increment malloc heap size

extention of commit 3b6b256 "powerpc/mpc83xx: increment
malloc heap size for the MPC832x MDS boards" to all other
mpc83xx based boards.  It fixes "Unable to save the rest
of sector" messages when trying to save the environment
to flash.

Signed-off-by: Kim Phillips <kim.phillips <at> freescale.com>
---
 include/configs/MPC8323ERDB.h | 2 +-
 include/configs/MPC8349EMDS.h | 2 +-
 include/configs/MPC8349ITX.h  | 2 +-
 include/configs/MPC8360EMDS.h | 2 +-
 include/configs/MPC8360ERDK.h | 2 +-
 include/configs/sbc8349.h     | 2 +-
 include/configs/vme8349.h     | 2 +-
 7 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/include/configs/MPC8323ERDB.h b/include/configs/MPC8323ERDB.h
index ddee1ae..8c027f9 100644
--- a/include/configs/MPC8323ERDB.h
+++ b/include/configs/MPC8323ERDB.h
 <at>  <at>  -156,7 +156,7  <at>  <at> 

 /* CONFIG_SYS_MONITOR_LEN must be a multiple of CONFIG_ENV_SECT_SIZE */
 #define CONFIG_SYS_MONITOR_LEN	(384 * 1024)	/* Reserve 384 kB for Mon */
-#define CONFIG_SYS_MALLOC_LEN	(128 * 1024)	/* Reserved for malloc */
+#define CONFIG_SYS_MALLOC_LEN	(256 * 1024)	/* Reserved for malloc */

 /*
  * Initial RAM Base Address Setup
(Continue reading)

Ran Shalit | 1 Jul 2012 11:29
Picon

Modifying IP&mac address

Hello,

I would like to ask your advise concerning modifying ip address:
I need to modify ip address and ethernet address according to some
hardware input in application. This change can be done in u-boot or
linux.
When I consider where is the best place to set the ip/mac address (
u-boot or linux), I also take into account that I will work with NFS
in debug stage.
Now, as far as I understand, If I will modify the ip/mac in linux
instead of u-boot, it can be a problem when working with NFS, becuase
NFS need constant ip address and ethernet.
Is it a problem to make this changes in linux if working with NFS or
should it be done in u-boot only ?

Thank you, Ran
Andreas Bießmann | 1 Jul 2012 12:34

Re: [PATCH v5] AT91SAM9*: Change kernel address in dataflash to match u-boot's size

Dear Alexandre Belloni,

I would like to apply this to upcoming 2012.07. Unfortunately this patch
does not apply cleanly on current u-boot-atmel, please rebase and fix
some minor parts.

On 21.04.12 23:24, Alexandre Belloni wrote:
> On at91sam platforms, u-boot grew larger than the allocated size in
> dataflash, the layout was:
> bootstrap  0x00000000
> ubootenv   0x00004200
> uboot      0x00008400
> kernel     0x00042000
> 
> u-boot with the defconfig doesn't seem to fit in 0x42000 - 0x8400 =
> 0x39C00 bytes anymore.
> 
> Now, the layout is:
> bootstrap  0x00000000
> ubootenv   0x00004200
> uboot      0x00008400
> kernel     0x00084000
> 
> Signed-off-by: Alexandre Belloni <alexandre.belloni <at> piout.net>
> ---
> Changes for v2:
>   - changed the layout as per Marek's recommendation
> Changes for v3:
>   - prefixed the patch title with AT91SAM9*:
> Changes for v4:
(Continue reading)

Pali Rohár | 1 Jul 2012 12:34
Picon

[PATCH] cfb_console: Add support for some ANSI terminal escape codes

Hello,

I'm sending new patch which add support for ANSI terminal in cfb_console
driver. This patch comes from RX-51 patch series, but more cfb patches were
commited to u-boot git. This is last patch for cfb driver, so I'm sending
it separatly. Changes from last version: this patch is rebased on top of
u-boot master and has fixed comment style problems.

diff --git a/README b/README
index 67dc444..5528004 100644
--- a/README
+++ b/README
 <at>  <at>  -621,6 +621,9  <at>  <at>  The following options need to be configured:
 						additional board info beside
 						the logo

+		When CONFIG_CFB_CONSOLE_ANSI is defined, console will have
+		ANSI terminal support. Needed for CONFIG_CMDLINE_EDITING.
+
 		When CONFIG_CFB_CONSOLE is defined, video console is
 		default i/o. Serial console can be forced with
 		environment 'console=serial'.
diff --git a/drivers/video/cfb_console.c b/drivers/video/cfb_console.c
index 92fa77d..8ead72c 100644
--- a/drivers/video/cfb_console.c
+++ b/drivers/video/cfb_console.c
 <at>  <at>  -381,6 +381,11  <at>  <at>  static u32 eorx, fgx, bgx;	/* color pats */

 static int cfb_do_flush_cache;

(Continue reading)

Stephan Linz | 1 Jul 2012 16:44

[PATCH 2/2] microblaze: move ENV onto top of flash

On Microblaze systems with BPI configuration from CFI flash
the first 1-10 MB will occupied by the FPGA configuration
data (BIN file). So we can not use this area for the U-Boot
environment.

In most of all FPGA configuration cases the upper sector in
flash memory will be free for individuell usage.

Signed-off-by: Stephan Linz <linz <at> li-pro.net>
---
 include/configs/microblaze-generic.h |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h
index e20eb08..818435d 100644
--- a/include/configs/microblaze-generic.h
+++ b/include/configs/microblaze-generic.h
 <at>  <at>  -186,11 +186,9  <at>  <at> 
  * CONFIG_ENV_SIZE = SECT_SIZE;		128kB environment store
  *
  * 0x2200_0000	CONFIG_SYS_FLASH_BASE
- *					FREE		256kB
- * 0x2204_0000	CONFIG_ENV_ADDR
- *					ENV_AREA	128kB
- * 0x2206_0000
  *					FREE
+ * 0x227E_0000	CONFIG_ENV_ADDR
+ *					ENV_AREA	128kB
  * 0x2280_0000	CONFIG_SYS_FLASH_BASE + CONFIG_SYS_FLASH_SIZE
  *
(Continue reading)

Stephan Linz | 1 Jul 2012 16:44

[PATCH 1/2] microblaze: expand and correct configuration comments

  - fix CONFIG_SYS_MALLOC_BASE from 0x11FB_F000 to 0x13EF_F000
  - add new size calculation for CONFIG_SYS_MONITOR_LEN
    and CONFIG_SYS_MALLOC_LEN derived from SIZE
  - change CONFIG_SYS_MONITOR_BASE and CONFIG_SYS_MALLOC_BASE
    calculation to a symbolic equation with the corresponding
    _LEN definitions
  - add a "CFI flash memory layout - Example" comment

Signed-off-by: Stephan Linz <linz <at> li-pro.net>
---
 include/configs/microblaze-generic.h |   36 +++++++++++++++++++++++++++------
 1 files changed, 29 insertions(+), 7 deletions(-)

diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h
index 2c7ed5d..e20eb08 100644
--- a/include/configs/microblaze-generic.h
+++ b/include/configs/microblaze-generic.h
 <at>  <at>  -122,15 +122,19  <at>  <at> 

 /*
  * memory layout - Example
- * CONFIG_SYS_TEXT_BASE = 0x1200_0000;
+ * CONFIG_SYS_TEXT_BASE = 0x1200_0000;	defined in config.mk
  * CONFIG_SYS_SRAM_BASE = 0x1000_0000;
- * CONFIG_SYS_SRAM_SIZE = 0x0400_0000;
+ * CONFIG_SYS_SRAM_SIZE = 0x0400_0000;	64MB
+ *
+ * CONFIG_SYS_MONITOR_LEN = 0x40000
+ * CONFIG_SYS_MALLOC_LEN = 3 * CONFIG_SYS_MONITOR_LEN = 0xC0000
  *
(Continue reading)

Ishwar Saunshi | 1 Jul 2012 16:53
Picon

Re: Is it possible to boot the U-boot from the another U-boot from the flash area

Thanks Wolfgang & Kolja,

Kolja,

I wanted to do the same with the other Uboot what you have
already achieved, Infact I am using mpc85xx too. could you please list out
the changes you made.

Thanks for the help.
_______________________________________________
U-Boot mailing list
U-Boot <at> lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Harman Sohanpal | 1 Jul 2012 19:33
Picon

Re: [PATCH v3 1/3] AM335x : Add USB support for AM335x in u-boot

On Sat, Jun 30, 2012 at 9:38 PM, Ilya Yanok
<ilya.yanok <at> cogentembedded.com> wrote:
> Hi,
>
> Harman Sohanpal <harman_sohanpal <at> ti.com> writes:
>> +/* Control Module Registers */
>> +#define CM_REGISTERS                 CTRL_BASE
>> +#define USB_CTRL0_REG_OFFSET (0x628)
>> +#define USB_CTRL1_REG_OFFSET (0x680)
Hi llya,
Thanks for your review.
But I believe you are talking of version 3 of the patches.
Kindly have a look at the version 4 I have sent.
I have used the same approach which Tom has mentioned
for control register offset also.
Thanks,
Harman
> USB_CTRL1 seems to be unused. Furthermore, both values seems to be incorrect:
> according to the RM USB_CTRL0 offset should be 0x628 and USB_CTRL1 should be
> 0x628. I understand that's cause you use USB1 by default but that's kind of
> misguiding. Could you please use the approach Tom suggested for base address
> here too? Define USB_CRTL* to correct values but use USB_CONTROL_REG_OFFSET
> (defined conditionally) in code?
>
> Regards, Ilya.
>
>
> _______________________________________________
> U-Boot mailing list
> U-Boot <at> lists.denx.de
(Continue reading)

Nobuhiro Iwamatsu | 2 Jul 2012 04:12
Gravatar

Pull request: u-boot-sh/master

Dear Wolfgang Denk.

Please pull from git://git.denx.de/u-boot-sh master.

Best regards,
  Nobuhiro

The following changes since commit 436da3cd233e7166b5ce9293dbd28092cf37bcc9:

  ext2load: increase read speed (2012-06-21 22:49:33 +0200)

are available in the git repository at:

  git://git.denx.de/u-boot-sh.git master

for you to fetch changes up to 97e305cfc19c26e762e0c9d00a164db81fe23dff:

  sh: ap_sh4a_4a: Fix wrong register initialization value (2012-06-28
16:06:32 +0900)

----------------------------------------------------------------
Nobuhiro Iwamatsu (1):
      sh: ap_sh4a_4a: Fix wrong register initialization value

 board/alphaproject/ap_sh4a_4a/ap_sh4a_4a.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--

-- 
Nobuhiro Iwamatsu
   iwamatsu at {nigauri.org / debian.org}
(Continue reading)

Donghwa Lee | 2 Jul 2012 04:22

[PATCH] video: support exynos fimd driver for various exynos series

This patch supports exynos fimd driver for various exynos series different from
existing it supports only exynos4 chip.

Signed-off-by: Donghwa Lee <dh09.lee <at> samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park <at> samsung.com>
---
 arch/arm/include/asm/arch-exynos/fb.h |   15 +++++-
 drivers/video/exynos_fimd.c           |   85 ++++++++++++++++++++-------------
 2 files changed, 66 insertions(+), 34 deletions(-)

diff --git a/arch/arm/include/asm/arch-exynos/fb.h b/arch/arm/include/asm/arch-exynos/fb.h
index b10b0da..b56ab55 100644
--- a/arch/arm/include/asm/arch-exynos/fb.h
+++ b/arch/arm/include/asm/arch-exynos/fb.h
 <at>  <at>  -23,7 +23,7  <at>  <at> 
 #define __ASM_ARM_ARCH_FB_H_
 
 #ifndef __ASSEMBLY__
-struct exynos4_fb {
+struct exynos_fb {
 	unsigned int vidcon0;
 	unsigned int vidcon1;
 	unsigned int vidcon2;
 <at>  <at>  -154,6 +154,9  <at>  <at>  struct exynos4_fb {
 };
 #endif

+/* LCD IF register offset */
+#define EXYNOS_LCD_IF_BASE_OFFSET			(0x20000)
+
(Continue reading)


Gmane