Re: [U-Boot] [U-boot] failed to boot an compressed u-boot.bin

2013-07-21 Thread TigerLiu
Hi, Albert: >But then, why change the board's original SYS_TEXT_BASE? Could you not >just leave boards.cfg untouched, and only change the decompressed >target address to 0x03F8? > Yes, just change the decompressed target address to 0x03F8 is also ok! Best wishes,

Re: [U-Boot] [U-boot] failed to boot an compressed u-boot.bin

2013-07-19 Thread Albert ARIBAUD
Hi tiger...@viatech.com.cn, On Fri, 19 Jul 2013 17:25:46 +0800, wrote: > Hi, Albert: > Sorry! > I made a mistake at before mail content! > The correct setting is: > I changed SYS_TEXT_BASE = 0x0800 in boards.cfg. > I also changed the decompressed target address = SYS_TEXT_BASE = 0x0800

Re: [U-Boot] [U-boot] failed to boot an compressed u-boot.bin

2013-07-19 Thread Albert ARIBAUD
Hi tiger...@viatech.com.cn, On Fri, 19 Jul 2013 14:59:47 +0800, wrote: > Hi, Albert: > I found new u-boot source code had some PIC related question. > I succeeded to boot self-uncompressed u-boot.bin now. > > I reviewed self-uncompressed header code (similar with Linux kernel > piggy header), f

Re: [U-Boot] [U-boot] failed to boot an compressed u-boot.bin

2013-07-19 Thread TigerLiu
Hi, Albert: I found new u-boot source code had some PIC related question. I succeeded to boot self-uncompressed u-boot.bin now. I reviewed self-uncompressed header code (similar with Linux kernel piggy header), found: The header code would de-compress compressed uboot.bin to 0x 8000 dram locat

Re: [U-Boot] [U-boot] failed to boot an compressed u-boot.bin

2013-07-18 Thread Minkyu Kang
On 18/07/13 17:08, Wolfgang Denk wrote: > Dear tiger...@viatech.com.cn, > > please stop top posting / full quoting. > > > In message > you wrote: >> >> My code base is based on u-boot-2013.04 . >> I followed board\samsung\smdkc100\config.mk , and put it into my board >> related directory. > >

Re: [U-Boot] [U-boot] failed to boot an compressed u-boot.bin

2013-07-18 Thread Wolfgang Denk
Dear tiger...@viatech.com.cn, In message you wrote: > > >Yes, that would be the U-Boot way to implement it. It allows you to > >reusse existing code instead of adding new methods. > > So, is there any example SPL code which contains uncompressed algorithm > code? No, none thaty I am aware of.

Re: [U-Boot] [U-boot] failed to boot an compressed u-boot.bin

2013-07-18 Thread TigerLiu
Dear Denk: >Yes, that would be the U-Boot way to implement it. It allows you to >reusse existing code instead of adding new methods. So, is there any example SPL code which contains uncompressed algorithm code? Best wishes, ___ U-Boot mailing list U-Bo

Re: [U-Boot] [U-boot] failed to boot an compressed u-boot.bin

2013-07-18 Thread Wolfgang Denk
Dear tiger...@viatech.com.cn, please stop top posting / full quoting. In message you wrote: > > My code base is based on u-boot-2013.04 . > I followed board\samsung\smdkc100\config.mk , and put it into my board > related directory. You managed toi find a really bad example of code. This shou

Re: [U-Boot] [U-boot] failed to boot an compressed u-boot.bin

2013-07-17 Thread TigerLiu
Hi, Denk: My code base is based on u-boot-2013.04 . I followed board\samsung\smdkc100\config.mk , and put it into my board related directory. About SPL approach: Did you suggest I put decompressed algorithm code into SPL code instead of adding a self-uncompressed header? Best wishes, >In message

Re: [U-Boot] [U-boot] failed to boot an compressed u-boot.bin

2013-07-17 Thread Wolfgang Denk
Dear tiger...@viatech.com.cn, In message you wrote: > > I configured "CONFIG_SYS_TEXT_BASE = 0x03F8" in config.mk when > compiling u-boot source code. this has been moved out of config.mk ages ago. How old is your U-Boot version? > The self-uncompressed code also put the uncompressed ima

Re: [U-Boot] [U-boot] failed to boot an compressed u-boot.bin

2013-07-17 Thread TigerLiu
Hi, Albert: The DRAM address map is : 0 --- 0x1000 (256MB) on my ARM development board. I configured "CONFIG_SYS_TEXT_BASE = 0x03F8" in config.mk when compiling u-boot source code. The self-uncompressed code also put the uncompressed image at 0x03F8 Best wishes, >On Wed, 17 Jul 20

Re: [U-Boot] [U-boot] failed to boot an compressed u-boot.bin

2013-07-17 Thread Albert ARIBAUD
Hi tiger...@viatech.com.cn, On Wed, 17 Jul 2013 19:53:10 +0800, wrote: > Hi, experts: > Sorry! > Not self-compressed, it is self-uncompressed ! > -- > I tried to add a self-uncompressed header in u-boot.bin on a Cortex-A9 > single core platform

Re: [U-Boot] U-boot failed

2012-06-11 Thread Marek Vasut
Dear Zeyad A, > Dear Marek Vasut, > I have already done the CC, but the mail was rejected from u-boot mailing > list because the message size is too large. So i am not doing it for now > and I am sorry for the quoting of my reply. The matter is not so clear for > me. > Ok, I have done the command

Re: [U-Boot] U-boot failed

2012-06-08 Thread Marek Vasut
Dear Zeyad A, > Dear Mark, > Yeah sure, I'll do the CC and what you mean by 'fix the quote in my > mailer'?? When you reply on an email, you usually get the old email you reply to prefixed with these ">" (quotes). And I guess your mailed doesn't do that. > If my u-boot is broken then what will

Re: [U-Boot] U-boot failed

2012-06-08 Thread Marek Vasut
Dear Zeyad A, Ok, let's first adjust your posting so it's easier for everyone around to read and reply. Firstly please, always CC the u-boot mailing list. Secondly, fix the quoting in your mailer please. > Thank you very much for your reply. Please read the my answers below.. > > On Wed, Jun 6

Re: [U-Boot] U-boot failed

2012-06-05 Thread Marek Vasut
Dear Zeyad A, > Hello, > > Please help me to configure u-boot in my NC600 board. What's this board? Is it supported mainline? What CPU does it have, what version of uboot etc? > I have reached near > to u-boot, but the kernel is not booting. After the kernel image upload via > serial boot mod