All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] freebsd 8 installer on MPC8349E-mITX
@ 2010-06-23 16:08 Zied Fakhfakh
  2010-06-23 16:56 ` Rafal Jaworowski
  0 siblings, 1 reply; 5+ messages in thread
From: Zied Fakhfakh @ 2010-06-23 16:08 UTC (permalink / raw)
  To: u-boot

Hi
am trying to boot, freebsd 8 instalelr on the MPC8349E-mITX.

I loaded the ubldr:
MPC8349E-mITX> tftpboot $loadaddr freebsd8/boot/ubldr
Speed: 100, full duplex
Using TSEC0 device
TFTP from server 192.168.0.194; our IP address is 192.168.0.248
Filename 'freebsd8/boot/ubldr'.
Load address: 0x800000
Loading: #############
done
Bytes transferred = 177964 (2b72c hex)

and than trying to boot:
MPC8349E-mITX> bootelf $loadaddr
## Starting application at 0x00010080 ...
Bad trap at PC: 2ee08, SR: 3032, vector=300
NIP: 0002EE08 XER: 20000000 LR: 0002A2DC REGS: 0ff52b18 TRAP: 0300 DAR:
10000000
MSR: 00003032 EE: 0 PR: 0 FP: 1 ME: 1 IR/DR: 11

GPR00: 00000000 0FF52C08 0FF52F50 10000000 00035EF8 00000008 00000000
00000000
GPR08: 00000000 00000055 00000021 00003032 48044042 0D1A0082 00000000
00000000
GPR16: 0FFB5A14 0FFBC2C0 00000000 00000000 00000000 00000000 00000000
00000000
GPR24: 00000000 0FF52C24 0FF52C10 00035EF8 0FF52C60 101FFFF8 00032A8C
10000000
Call backtrace:
0FF55338 00017C78 0FF84100 0FF841BC 0FF94CBC 0FF943D0 0FF9461C
0FF94BFC 0FF943D0 0FF94540 0FF97074 0FF79A24 0FF78600
Exception in kernel pc 2ee08 signal 0
Resetting the board.


U-Boot 2010.03 (Jun 22 2010 - 15:17:07) MPC83XX
 .. . . . . . . . . .

any idea ?

-- 
Zied FAKHFAKH
Dot TN - CTO

@: fzied at dottn.com
t: +216 71 82 89 58
f: +216 71 82 89 58
w: http://www.dottn.com
a: Centre Molka, Esc E, Bur 17 - Manar 2 - 2092 - Tunis - Tunisia

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot] freebsd 8 installer on MPC8349E-mITX
  2010-06-23 16:08 [U-Boot] freebsd 8 installer on MPC8349E-mITX Zied Fakhfakh
@ 2010-06-23 16:56 ` Rafal Jaworowski
  2010-06-23 20:57   ` Zied Fakhfakh
  0 siblings, 1 reply; 5+ messages in thread
From: Rafal Jaworowski @ 2010-06-23 16:56 UTC (permalink / raw)
  To: u-boot


On 2010-06-23, at 18:08, Zied Fakhfakh wrote:

> Hi
> am trying to boot, freebsd 8 instalelr on the MPC8349E-mITX.
> 
> I loaded the ubldr:
> MPC8349E-mITX> tftpboot $loadaddr freebsd8/boot/ubldr
> Speed: 100, full duplex
> Using TSEC0 device
> TFTP from server 192.168.0.194; our IP address is 192.168.0.248
> Filename 'freebsd8/boot/ubldr'.
> Load address: 0x800000
> Loading: #############
> done
> Bytes transferred = 177964 (2b72c hex)
> 
> and than trying to boot:
> MPC8349E-mITX> bootelf $loadaddr
> ## Starting application at 0x00010080 ...
> Bad trap at PC: 2ee08, SR: 3032, vector=300
> NIP: 0002EE08 XER: 20000000 LR: 0002A2DC REGS: 0ff52b18 TRAP: 0300 DAR:
> 10000000
> MSR: 00003032 EE: 0 PR: 0 FP: 1 ME: 1 IR/DR: 11
> 
> GPR00: 00000000 0FF52C08 0FF52F50 10000000 00035EF8 00000008 00000000
> 00000000
> GPR08: 00000000 00000055 00000021 00003032 48044042 0D1A0082 00000000
> 00000000
> GPR16: 0FFB5A14 0FFBC2C0 00000000 00000000 00000000 00000000 00000000
> 00000000
> GPR24: 00000000 0FF52C24 0FF52C10 00035EF8 0FF52C60 101FFFF8 00032A8C
> 10000000
> Call backtrace:
> 0FF55338 00017C78 0FF84100 0FF841BC 0FF94CBC 0FF943D0 0FF9461C
> 0FF94BFC 0FF943D0 0FF94540 0FF97074 0FF79A24 0FF78600
> Exception in kernel pc 2ee08 signal 0
> Resetting the board.
> 
> 
> U-Boot 2010.03 (Jun 22 2010 - 15:17:07) MPC83XX
> .. . . . . . . . . .
> 
> any idea ?

Just making sure: have you got CONFIG_API enabled in your U-Boot config?

Rafal

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot] freebsd 8 installer on MPC8349E-mITX
  2010-06-23 16:56 ` Rafal Jaworowski
@ 2010-06-23 20:57   ` Zied Fakhfakh
  2010-06-23 21:40     ` Zied Fakhfakh
  0 siblings, 1 reply; 5+ messages in thread
From: Zied Fakhfakh @ 2010-06-23 20:57 UTC (permalink / raw)
  To: u-boot

On Wed, Jun 23, 2010 at 5:56 PM, Rafal Jaworowski <raj@semihalf.com> wrote:

> Just making sure: have you got CONFIG_API enabled in your U-Boot config?
>

NO I'll build another one, and come back.
thx for the tip

-- 
Zied FAKHFAKH
Dot TN - CTO

@: fzied at dottn.com
t: +216 71 82 89 58
f: +216 71 82 89 58
w: http://www.dottn.com
a: Centre Molka, Esc E, Bur 17 - Manar 2 - 2092 - Tunis - Tunisia

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot] freebsd 8 installer on MPC8349E-mITX
  2010-06-23 20:57   ` Zied Fakhfakh
@ 2010-06-23 21:40     ` Zied Fakhfakh
  2010-06-23 22:20       ` Zied Fakhfakh
  0 siblings, 1 reply; 5+ messages in thread
From: Zied Fakhfakh @ 2010-06-23 21:40 UTC (permalink / raw)
  To: u-boot

getting better with CONFIG_API enabled

MPC8349E-mITX> bootelf $loadaddr
## Starting application at 0x00010080 ...
Consoles: U-Boot console
Compatible API signature found @ff520c8
Number of U-Boot devices: 4

FreeBSD/powerpc U-Boot loader, Revision 1.0
(root at xserve.lan.xcllnt.net, Sat Nov 21 19:22:49 UTC 2009)
DRAM:     512MB
FLASH:     16MB
Speed: 100, full duplex
Speed: 100, full duplex
Speed: 100, full duplex

Speed: 100, full duplex
Speed: 100, full duplex
Speed: 100, full duplex
Speed: 100, full duplex
Speed: 100, full duplex
Speed: 100, full duplex
can't load 'kernel'

Type '?' for a list of commands, 'help' for more detailed help.
loader>

it's a matter of NFS now, isn't ?

On Wed, Jun 23, 2010 at 9:57 PM, Zied Fakhfakh <fzied@dottn.com> wrote:

>
>
> On Wed, Jun 23, 2010 at 5:56 PM, Rafal Jaworowski <raj@semihalf.com>wrote:
>
>> Just making sure: have you got CONFIG_API enabled in your U-Boot config?
>>
>
> NO I'll build another one, and come back.
> thx for the tip
>
> --
> Zied FAKHFAKH
> Dot TN - CTO
>
> @: fzied at dottn.com
> t: +216 71 82 89 58
> f: +216 71 82 89 58
> w: http://www.dottn.com
> a: Centre Molka, Esc E, Bur 17 - Manar 2 - 2092 - Tunis - Tunisia
>



-- 
Zied FAKHFAKH
Dot TN - CTO

@: fzied at dottn.com
t: +216 71 82 89 58
f: +216 71 82 89 58
w: http://www.dottn.com
a: Centre Molka, Esc E, Bur 17 - Manar 2 - 2092 - Tunis - Tunisia

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot] freebsd 8 installer on MPC8349E-mITX
  2010-06-23 21:40     ` Zied Fakhfakh
@ 2010-06-23 22:20       ` Zied Fakhfakh
  0 siblings, 0 replies; 5+ messages in thread
From: Zied Fakhfakh @ 2010-06-23 22:20 UTC (permalink / raw)
  To: u-boot

On Wed, Jun 23, 2010 at 10:40 PM, Zied Fakhfakh <fzied@dottn.com> wrote:

> Type '?' for a list of commands, 'help' for more detailed help.
> loader>


We are progressing, after fixing the dhcp parameters:
host mpc8349e-mitx {
        hardware ethernet       08:00:3e:03:01:10;
        fixed-address           192.168.0.195;
        option root-path        "/var/ftp/pub/freebsd8";
        filename                "/boot/loader";
}
we are able to load kernel, but crashes when looking for mfsroot.
...........................
Speed: 100, full duplex
Loading /boot/defaults/loader.conf
Speed: 100, full duplex
Speed: 100, full duplex
Speed: 100, full duplex
Speed: 100, full duplex
Speed: 100, full duplex
Speed: 100, full duplex
Speed: 100, full duplex
Speed: 100, full duplex
Speed: 100, full duplex
/boot/kernel/kernel text=0x6cf6d4 data=0x40af4+0x3e43c
syms=[0x4+0x592e0+0x4+0x7b3d4]
Speed: 100, full duplex
Speed: 100, full duplex

Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [/boot/kernel/kernel]...
Kernel entry at 0x100100 ...
Machine check in kernel mode.
Caused by (from msr): regs 007d1eb0 Unknown values in msr
NIP: 0032781C XER: 00000000 LR: 0058AAD8 REGS: 007d1eb0 TRAP: 0200 DAR:
00000000
MSR: 00003030 EE: 0 PR: 0 FP: 1 ME: 1 IR/DR: 11

GPR00: FFFFDF7B 007D1FA0 0FF4FF50 007B25EC 0084EF30 0084EF30 00000010
00000000
GPR08: 007D0000 FFFFDF84 00000010 0083BC9C 24024028 4D981482 00000000
00000000
GPR16: 0FFB41C4 0FFBA33C 00000000 00000000 00000010 00000000 00000000
00000000
GPR24: 00034680 0084EF30 00100100 0003670C 007B25EC 00000000 FFFFDF9C
FFFFDF9C
Call backtrace:
00000000 0058AAD8 0010018C
machine check
Resetting the board.

Actually there's mfsroot.gz, and loader.conf is:
mfsroot_load="YES"
mfsroot_type="mfs_root"
mfsroot_name="/boot/mfsroot"
vfs.root.mountfrom="ufs:/dev/md0"

- do I must tell him to load the gzipped mfsroot ?
- not to load it ?
- or gunzip it for him ??

-- 
Zied FAKHFAKH
Dot TN - CTO

@: fzied at dottn.com
t: +216 71 82 89 58
f: +216 71 82 89 58
w: http://www.dottn.com
a: Centre Molka, Esc E, Bur 17 - Manar 2 - 2092 - Tunis - Tunisia

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-06-23 22:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-23 16:08 [U-Boot] freebsd 8 installer on MPC8349E-mITX Zied Fakhfakh
2010-06-23 16:56 ` Rafal Jaworowski
2010-06-23 20:57   ` Zied Fakhfakh
2010-06-23 21:40     ` Zied Fakhfakh
2010-06-23 22:20       ` Zied Fakhfakh

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.