From mboxrd@z Thu Jan 1 00:00:00 1970 From: Minkyu Kang Date: Fri, 19 Jul 2013 14:37:49 +0900 Subject: [U-Boot] [U-boot] failed to boot an compressed u-boot.bin In-Reply-To: <20130718080813.A000438306E@gemini.denx.de> References: <20130718080813.A000438306E@gemini.denx.de> Message-ID: <51E8D0AD.6080109@samsung.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 18/07/13 17:08, Wolfgang Denk wrote: > Dear TigerLiu at 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 should not be > used. Today, CONFIG_SYS_TEXT_BASE should be defined in the board > config file instead. The use of board specific confog.mk files is > strongly deprecated. > > Minkyu Kang, could you please clean this up as soon as possible? > Thanks! Sure. > > >> About SPL approach: >> Did you suggest I put decompressed algorithm code into SPL code instead >> of adding a self-uncompressed header? > > Yes, that would be the U-Boot way to implement it. It allows you to > reusse existing code instead of adding new methods. > > Best regards, > > Wolfgang Denk > Thanks, Minkyu Kang.