Date: Tue, 26 May 2009 21:15:02 +0200 From: Rafal Jaworowski <raj@semihalf.com> To: Marcel Moolenaar <xcllnt@mac.com> Cc: Rafal Jaworowski <raj@FreeBSD.org>, ppc@FreeBSD.org Subject: Re: MPC8555CDS: U-Boot vs loader compatibility Message-ID: <EB949125-E138-49FE-B5BE-1C72AF467CA9@semihalf.com> In-Reply-To: <B8C7C826-1DC9-4B66-8ECE-86B6C200F0F6@mac.com> References: <B8C7C826-1DC9-4B66-8ECE-86B6C200F0F6@mac.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2009-05-26, at 18:50, Marcel Moolenaar wrote: > I think I recently updated the FreeBSD loader on my CDS > that has U-Boot version 1.3.2-rc1 on it (yes, that sounds > rather fuzzy :-) In any case, the latest PowerPC U-Boot > loader is having a problem with netbooting. I see packets > being transmitted (BOOTP), but none of the responses seem > to arrive at the loader. Then the ARP resolution is > attempted, which fails as well. I'll try the latest loader tomorrow and let you know how this work here. Has your U-Boot been modified back then so as to avoid d-cache disabling before passing control to the ELF entry point? (see this patch http://people.freebsd.org/~raj/patches/misc/uboot-dcache-workaround.diff) U-Boot on 85xx does not flush d-cache before disabling it and we have seen strange effects without this workaround. To quickly verify this suspicion please try converting the loader ELF to raw binary and running with 'go' command (the raw binary way should not expose any problems). > I'm assuming there's an incompatibility between my U-Boot > and the loader so I tried building U-Boot on my FreeBSD > box, but that's failing due to FDT fodder in tools/mkimage. > In short: Linuxisms. > > So, before I dive into U-Boot build issues and waste my > time on that, can someone tell me if I *do* need to > upgrade and which U-Boot version (at minimum) I need? > > Also: did U-Boot grow support to boot from IDE/ATA that's > in the VIA chipset on the mainboard? I think there already should be code to handle VIA on CDS, but I never tried this. Beware however that recent U-Boot was kinda unstable on 85xx (when trying some week or two ago it would just hang during 8555 CDS bootup), so have a JTAG debugger handy :-) Rafal
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?EB949125-E138-49FE-B5BE-1C72AF467CA9>