From: Wolfgang Denk Date: Wed, 18 Aug 2010 12:54:59 +0200 Subject: [U-Boot] Debugging why my kernel won't start In-Reply-To: <4C6BAC5A.6060206@dawes.za.net> References: <4C68E7C0.1040801@dawes.za.net> <4C699C6E.2010706@dawes.za.net> <4C6A600B.5020809@free.fr> <4C6A62AC.6010206@dawes.za.net> <4C6A6741.7030002@free.fr> <4C6A703C.8080205@dawes.za.net> <4C6A75A4.9080506@dawes.za.net> <4C6AACEA.9060000@free.fr> <4C6AE955.1060708@dawes.za.net> <4C6AEC70.40801@dawes.za.net> <20100817212003.700DF157D71@gemini.denx.de> <4C6B051A.5050006@dawes.za.net> <20100817220447.919E5157D71@gemini.denx.de> <4C6B08F1.9000804@dawes.za.net> <20100818055133.53E99157D71@gemini.denx.de> <4C6BAC5A.6060206@dawes.za.net> Message-ID: <20100818105459.138A8157D71@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Rogan Dawes, In message <4C6BAC5A.6060206@dawes.za.net> you wrote: > > Thanks for the suggestion. It did make a slight difference in the boot > logs. bootcmd uses the default (in flash) location for the ramdisk, Actually it's a pretty significant difference, as for the first time you actually see the kernel trying to access the ramdisk. > > RAMDISK: Compressed image found at block 0 > > invalid compressed format (err=1) > > So it seems that the ramdisk is getting corrupted somehow. And yet, it > is fine using the vendor u-boot. It must be something that I am doing wrong. Try copying the raw ramdisk image (i. e. without the U-Boot header) to RAM, and try that one, i. e. something like => cp.b ff9a0040 01600000 ...size... ... => bootm ff820000 1600000 Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de If in any problem you find yourself doing an immense amount of work, the answer can be obtained by simple inspection.