Re: [U-Boot] mpc8313 SPL, relocate_code, large page NAND

2010-04-20 Thread Norbert van Bolhuis
It sure looks like an mpc8313 problem I once looked into for quite some time. The solution was: http://lists.denx.de/pipermail/u-boot/2009-March/049175.html It could also be your DDR RAM not properly functioning. You can let u-boot test it with the POST MEM test (which happens before relocation

[U-Boot] [PATCH] ppc: unused memory region too close to current stack pointer

2010-03-19 Thread Norbert van Bolhuis
ends at 0x%08lx\n", sp); - /* adjust sp by 1K to be safe */ - sp -= 1024; + /* adjust sp by 4K to be safe */ + sp -= 4096; lmb_reserve(lmb, sp, (CONFIG_SYS_SDRAM_BASE + get_effective_memsize() - sp)); return ; -- 1.5.2.2 Signed-

Re: [U-Boot] u-boot stack overwrites end ramdisk

2010-03-18 Thread Norbert van Bolhuis
I was not totally correct. gunzip/inflate has nothing to do with this problem. the problem is this: - do_bootm->bootm_start->arch_lmb_reserve reserves "unused" memory as in cur_sp-1k upto end-of-mem in my case this is 0x0fb0cb28 - 0x1000 - do_bootm->do_bootm_linux->boot_body_linux->bo

[U-Boot] u-boot stack overwrites end ramdisk

2010-03-17 Thread Norbert van Bolhuis
before I send a patch or whatsoever I'll explain what's wrong first, maybe I overlook something. I'm using u-boot v2008.10, customized for our PPC MPC8313 based board. When booting a kernel (including ramdisk and dtb) space for cmdline and board info is reserved (by arch_lmb_reserve->lmb_reserve)

[U-Boot] [PATCH] A VLAN tagged DHCP request/discover is 4 bytes short

2009-06-04 Thread Norbert van Bolhuis
zeof(bp->bp_vend) + extlen; iplen = BOOTP_HDR_SIZE - sizeof(bp->bp_vend) + extlen; NetSetIP(iphdr, 0xL, PORT_BOOTPS, PORT_BOOTPC, iplen); -- 1.5.2.2 Signed-off-by: Norbert van Bolhuis ___ U-Boot mailing list U-Boot@lists.denx

Re: [U-Boot] [PATCH v2] Marvell MV88E61XX Switch Driver support

2009-04-08 Thread Norbert van Bolhuis
Hi Prafulla, We have a custom designed board with the M88E6185 and M88E6131 switch. The u-boot patches are very usefull, even though I already finished some code to initialize the switches. In our application it's more easy to "fully" provision the switches when the linux kernel is up and running

Re: [U-Boot] u-boot fails to uncompress a "gzip'ed -9" kernel

2009-03-24 Thread Norbert van Bolhuis
1203e7995a9b4] zlib.c > +++ [88e71e289d0241baaa9db0624b98f00b5f1774b5] zlib.c > @@ -1604,6 +1604,7 @@ >while (p != Z_NULL) >{ > q = (--p)->next; > + udelay(10); > ZFREE(z, p, p->word.Nalloc * sizeof(inflate_huft)); > p = q; >} >

Re: [U-Boot] [PATCH] 8313erdb: Set guarded bit on BAT that covers the end of the address space.

2009-03-18 Thread Norbert van Bolhuis
Aha! It seems like the root cause of this problem: http://article.gmane.org/gmane.comp.boot-loaders.u-boot/53025/match=nasty+gunzip+problem+mpc8313e+rdb As a MPC8313E(-RDB) user I'm happy no more checkstops will occur for some kernels. I'm even more happy I took over the BAT settings from MPC8315

Re: [U-Boot] [PATCH] 83xx: correctly set encryption and I2C bus 0 clock

2009-03-13 Thread Norbert van Bolhuis
(im->clk.sccr & ~SCCR_ENCCM) | - (CONFIG_SYS_SCCR_ENCCM << SCCR_PCICM_SHIFT); + (CONFIG_SYS_SCCR_ENCCM << SCCR_ENCCM_SHIFT); #endif #ifdef CONFIG_SYS_SCCR_PCICM -- 1.5.2.2 Signed-off-by: Norbert van Bolhuis Wolfgang Denk wrote: >

Re: [U-Boot] [PATCH] 83xx: correctly set encryption and I2C bus 0 clock

2009-03-11 Thread Norbert van Bolhuis
. It appears Norbert cut-n-pasted the diff and thus introduced whitespace errors. I can obviously apply this by hand but I'd rather get Norbert up to speed with submitting patches, esp. for the sake of future, potentially unwieldy, contributions. Kim >From 1414c12b58c917bd11f8b3e91fbc

[U-Boot] [PATCH] 83xx: correctly set encryption and I2C bus 0 clock

2009-03-11 Thread Norbert van Bolhuis
< SCCR_PCICM_SHIFT); + (CONFIG_SYS_SCCR_ENCCM << SCCR_ENCCM_SHIFT); #endif #ifdef CONFIG_SYS_SCCR_PCICM Signed-off-by: Norbert van Bolhuis ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] saveenv command erases flash u-boot

2009-02-24 Thread Norbert van Bolhuis
t with u-boot.bin. If the value > extracted from the map file is less than the u-boot.bin size, we could > generate > an error/warning. Any comments? > > Best regards, > Frank > > On Tue, Feb 24, 2009 at 10:09 AM, Norbert van Bolhuis > wrote: >> rudresh wrote: &

Re: [U-Boot] saveenv command erases flash u-boot

2009-02-24 Thread Norbert van Bolhuis
rudresh wrote: > i'm using u-boot -1.3.0 in MPC8313 evaluation board, it having a NAND , NOR > Flash , u-boot stored in NOR flash. when i do the saveenv , reset command > the u-boot is erased. i'm not able to fix this issue. help me to fix this > issue > > Thanks > Rudresh > > > > I had a s

[U-Boot] Nasty gunzip problem on MPC8313E-RDB

2009-01-27 Thread Norbert van Bolhuis
We have 2 MPC8313E-RDB REVA4 boards. u-boot always fails to uncompress certain compressed files. Either the board will hang or a checkstop occurs. The problem occurs on both our MPC8313E-RDB REVA4 boards. Probably memory is overwritten at the end of RAM (where u-boot is relocated to). When using

Re: [U-Boot] u-boot fails to uncompress a "gzip'ed -9" kernel

2009-01-27 Thread Norbert van Bolhuis
This is a MPC8313E-RDB board problem. We have 2 REV A4 boards. I can reproduce this problem on both of the MPC8313E-RDB boards with any version of u-boot with a compressed file which contains 1 or more dynamic codes blocks and a final fixed codes block. I have a 5k gzipped file for which the pro

[U-Boot] CONFIG_ENV_ADDR incorrect in MPC8313ERDB.h

2008-12-16 Thread Norbert van Bolhuis
I built the latest u-boot for MPC8313E-RDB, flashed it, and ran into trouble after saving my environment to flash. I'm using git://git.denx.de/u-boot-nand-flash.git (I believe the "problem" is in other gits as well). I'm booting from NOR flash ('make MPC8313ERDB_33_config') The problem is CONFIG

[U-Boot] NAND only (no NOR)

2008-12-02 Thread Norbert van Bolhuis
Nowadays, do many (PowerPC) embedded devices already risk omitting NOR flash and use a NAND device solely for booting and storing images ? I'm talking about systems with 10 years life-cycle (so no MP3-players nor medical systems but somewhere in between). We have a MPC8313E-RDB and I know bootin