[U-Boot] [PATCH 2/2] HACK: arndale: deinit scsi before launching Linux

Wolfgang Denk wd at denx.de
Wed Oct 8 10:18:03 CEST 2014


Dear Ian Campbell,

In message <1412690200-6630-2-git-send-email-ijc at hellion.org.uk> you wrote:
> From: Ian Campbell <ian.campbell at citrix.com>
> 
> 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


More information about the U-Boot mailing list