Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 Apr 2022 13:38:43 +0000
From:      widelec-bb <widelecbb@protonmail.com>
To:        Al <al@datazap.net>
Cc:        "freebsd-ppc@FreeBSD.org" <freebsd-ppc@FreeBSD.org>
Subject:   Re: Booting FreeBSD 13-RELEASE on AmigaOne X5000 (Cyrus P5020)
Message-ID:  <T2QMV8YM4iMH3Wv5P0RGYI8B9DzlUnBurav3KUKt5bx8iU85aqGzqfp6yKzcYVDCR418h-kSubyV1VQdQSRHI5qisFB3Z_bRQthBTY0bPxI=@protonmail.com>
In-Reply-To: <82dd03be-dfd3-8d7b-0502-8c192e81e13e@datazap.net>
References:  <j0NfHu-q2mv320H_z3O1P7TjZzbUthnZ43U1fQfkvz_YmAjH8D01G9Sf27POtt7MNfPWTIKAZuEL10H9Legs7xbhLbrsizr89MXpAvaMPLk=@protonmail.com> <82dd03be-dfd3-8d7b-0502-8c192e81e13e@datazap.net>

next in thread | previous in thread | raw e-mail | index | archive | help
> You need to add:
>
> setenv loaderdev disk0s2a
>
> Also, maybe:
>
> setenv bootargs vfs.root.mountfrom=3Dufs:/dev/ada1s2a
>
> Of course, you will need to change the device to match yours.

Unfortunately this hasn't change anything. Ubldr still can't find kernel.
Log from console:
X5000> setenv loaderdev disk2s4a
X5000> setenv bootargs vfs.root.mountfrom=3Dufs:/dev/ada1s4a
X5000> run bootfreebsd
reading ubldr
315292 bytes read in 24 ms (12.5 MiB/s)
reading bsd_cyrus_p5020.dtb
65536 bytes read in 41 ms (1.5 MiB/s)
## Starting application at 0x00010160 ...
Consoles: U-Boot console
Compatible U-Boot API signature found @0x7fe2efd8

FreeBSD/powerpc64 U-Boot loader, Revision 1.1

Number of U-Boot devices: 4
U-Boot env: loaderdev=3D'disk2s4a'
Found U-Boot device: disk
  Checking unit=3D2 slice=3D4 partition=3D0... good.
Booting from disk2s4a:
/
can't load 'kernel'

Type '?' for a list of commands, 'help' for more detailed help.
loader> show
LINES=3D24
console=3Duboot
currdev=3Ddisk2s4a:
interpret=3DOK
loaddev=3Ddisk2s4a:
prompt=3Dloader>
script.lang=3Dforth
twiddle_divisor=3D1
usefdt=3D1
loader>

To be sure I set it properly I tried also setting loaderdev with colon at
end of device name, result was exactly the same, so I did not insert full
log of that attempt into this message.

> Also, you may need a newer .dtb. I can email you one if you need it.

That would be very nice, I will gladly try it.

- widelec-BB




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?T2QMV8YM4iMH3Wv5P0RGYI8B9DzlUnBurav3KUKt5bx8iU85aqGzqfp6yKzcYVDCR418h-kSubyV1VQdQSRHI5qisFB3Z_bRQthBTY0bPxI=>