Re: [U-Boot] Fwd: u-boot.img size limit for spl fat load ?

2017-10-18 Thread laksonobudi
where you edit it? i have same problem too -- Sent from: http://u-boot.10912.n7.nabble.com/ ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] Fwd: u-boot.img size limit for spl fat load ?

2015-01-19 Thread Albert ARIBAUD
Hello Ayoub, On Mon, 19 Jan 2015 13:33:30 +0100, Ayoub Zaki ayoub.z...@googlemail.com wrote: I set TEXT_BASE to : #define CONFIG_SYS_TEXT_BASE0x8060 Now u-boot.img can be up to 4MB sized and it solved my problem :) Thank you very much for your help. No problem. :)

[U-Boot] Fwd: u-boot.img size limit for spl fat load ?

2015-01-19 Thread Ayoub Zaki
Hello Albert, First tank you so much for inversting your time for replying. I put some printf in the code and SPL is hanging in spl_load_image_fat function. I also enable the DEBUG messages here the complete log file : http://pastebin.com/raw.php?i=BwUJXDDb So I suspect that SPL is

Re: [U-Boot] Fwd: u-boot.img size limit for spl fat load ?

2015-01-19 Thread Ayoub Zaki
I checked the SPL Memory allocations : CONFIG_SYS_SPL_MALLOC_START=(CONFIG_SPL_BSS_START_ADDR + CONFIG_SPL_BSS_MAX_SIZE) CONFIG_SPL_TEXT_BASE=0x402F0400 CONFIG_SPL_BSS_MAX_SIZE=0x8 CONFIG_SPL_BSS_START_ADDR=0x80a0 My U-boot.img is arround 2.8MB I increased the CONFIG_SPL_BSS_MAX_SIZE to

Re: [U-Boot] Fwd: u-boot.img size limit for spl fat load ?

2015-01-19 Thread Ayoub Zaki
CONFIG_SYS_TEXT_BASE=0x8080 and CONFIG_SPL_BSS_START_ADDR=0x80a0 So the maximal size of u-boot to avoid a memory address colision is 0x20 = 2MB ! 2015-01-19 13:20 GMT+01:00 Ayoub Zaki ayoub.z...@googlemail.com: I checked the SPL Memory allocations :

Re: [U-Boot] Fwd: u-boot.img size limit for spl fat load ?

2015-01-19 Thread Albert ARIBAUD
Addition: Can you check CONFIG_SPL_BSS_* and CONFIG_SYS_SPL_MALLOC_* definitions against CONFIG_SYS_TEXT_BASE and file size? Same goes for SPL stack if it is placed in DDR. Amicalement, -- Albert. ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] Fwd: u-boot.img size limit for spl fat load ?

2015-01-19 Thread Ayoub Zaki
I set TEXT_BASE to : #define CONFIG_SYS_TEXT_BASE0x8060 Now u-boot.img can be up to 4MB sized and it solved my problem :) Thank you very much for your help. 2015-01-19 13:25 GMT+01:00 Ayoub Zaki ayoub.z...@googlemail.com: CONFIG_SYS_TEXT_BASE=0x8080 and

Re: [U-Boot] Fwd: u-boot.img size limit for spl fat load ?

2015-01-19 Thread Albert ARIBAUD
Hello Ayoub, On Mon, 19 Jan 2015 10:35:56 +0100, Ayoub Zaki ayoub.z...@googlemail.com wrote: Hello Albert, First tank you so much for inversting your time for replying. I put some printf in the code and SPL is hanging in spl_load_image_fat function. I also enable the DEBUG