Port-sandpoint archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: DS207 fails to auto boot (Bad Magic Number)



On Sat, 28 Dec 2013 22:06:43 +0100
Nick Østergaard <oe.nick%gmail.com@localhost> wrote:

> I have a DS207, which I decided to install netbsd on.

The DS207 is listed as being successfully tested, although not by me.
So I hope this is correct. :)


> The difference in this and the wiki is that I use tftpload for the
> netbsd-INSTALL file also, rather than using go 1000000
> tftp:netbsd-INSTALL, which did not work at all.

Can you provide some more information about the problem?

Did altboot detect and initialize your network interface? There should
be a Marvell 88E8001 on the board, using the sk(4) driver.

Otherwise altboot would print: "no NET device driver was found".

Or were there any problems with DHCP? Altboot tries to retrieve the
client and server IP address. Maybe the MAC address did not match?
Check the log file of your DHCP server.


> _MPC824X > protect off ffc00000 ffc1ffff
> Un-Protected 2 sectors

Did you check whether ffc00000 is really the correct address for the
boot image? Type "printenv" in PPCBoot and look for the line starting
with "bootcmd=".


> But it does not auto boot, I get the following boot message.
> 
> [...]
> Press Ctrl+C to abort autoboot in 1 second
> ## Booting image at ffc00000 ...

Ok. This message tells us at least that ffc00000 was correct. ;)


> Bad Magic Number
> _MPC824X >
> 
> I have no idea where to go from here. Any help to getting the autoboot
> work will be appreciated.

The 2007 PPCBoot firmware usually has something like
  bootcmd=bootm FFC00000 FFE00000
stored in the environment.

"bootm" means that it wants to boot an UBoot-image, so you cannot simply
copy a raw binary there. The UBoot image has a header, which is the
reason that it prints "Bad Magic Number", because the header is missing.

To make it short: You have to use altboot.img instead of altboot.bin. :)

-- 
Frank Wille


Home | Main Index | Thread Index | Old Index