From: Wolfgang Denk Date: Wed, 08 Oct 2014 10:18:03 +0200 Subject: [U-Boot] [PATCH 2/2] HACK: arndale: deinit scsi before launching Linux In-Reply-To: <1412690200-6630-2-git-send-email-ijc@hellion.org.uk> References: <1412690172.4972.31.camel@hellion.org.uk> <1412690200-6630-2-git-send-email-ijc@hellion.org.uk> Message-ID: <20141008081803.F16E438352D@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 Ian Campbell, In message <1412690200-6630-2-git-send-email-ijc@hellion.org.uk> you wrote: > From: Ian Campbell > > NOT TO BE APPLIED AS IS > > Without this Linux fails to correctly init the phy (or something) and cannot > detect the disk. > > Even with this we can fail to detect the disk outselves on some fraction of > boots, so something else is clearly up too. Why does the Subject: say "scsi" when you actually mean SATA? Note that this is a bug fix. U-Boot should _always_ shut down all peripherals it used before booting an OS, see [1] [1] http://www.denx.de/wiki/U-Boot/DesignPrinciples 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 you want strict real-time behavior, run in the real time schedu- ling class. But there are no seatbelts or airbags; main(){for(;;);} can hard hang your system. -- Bart Smaalders