Page 1 of 4
AmigaOne X5000 - FreeBSD Only
Posted: Tue Jan 23, 2018 7:11 pm
by xeno74
Hi All,
Justin Hibbits has ported FreeBSD to the AmigaOne X5000.
I downloaded the
FreeBSD uImage from the website
https://people.freebsd.org/~jhibbits/ today. I tried to boot it with the following commands:
Code: Select all
load sata 0:1 1000000 amiga64.uImage
load sata 0:1 3000000 cyrus.dtb
bootm 1000000 - 3000000
Unfortunately the FreeBSD kernel doesn't boot on my X5000.
Error message:
Code: Select all
Critical Input Exception
### ERROR ### Please RESET the board ###
I tried several dtb files.
Any hints?
What is FreeBSD?
FreeBSD is an operating system for a variety of platforms which focuses on features, speed, and stability. It is derived from BSD, the version of UNIX® developed at the University of California, Berkeley. It is developed and maintained by a large community.
Further information about FreeBSD
Installing on a AmigaOne X5000
AmigaOne X5000 Support
FreeBSD in action on a PC:
Cheers,
Christian
Re: AmigaOne X5000 - FreeBSD Only
Posted: Tue Jan 23, 2018 8:01 pm
by Skateman
Nice to see that more flavours appear...
Hopefully we might have one complete usable system in the future..
Re: AmigaOne X5000 - FreeBSD Only
Posted: Mon Apr 30, 2018 10:32 pm
by chmeee
Hi xeno74,
I'm the porter, Justin, so wanted to clear some things up. I think your biggest issue is the load address. The kernel needs to be loaded on a 64MB boundary, less the U-Boot image header. I load the uImage at 0x3ffffc0.
I recently added install instructions to the FreeBSD wiki, which you can find at
https://wiki.freebsd.org/powerpc/UBoot-Install .
Known issues: The video card doesn't get initialized, due to resource translation (the DRI drivers map the resource addresses, which don't get properly initialized until the resource is actually activated). I have a patch for that, but I won't commit it because it's not exactly clean. Instead I filed a bug for it in the FreeBSD bugzilla at
https://bugs.freebsd.org/bugzilla/show_ ... ?id=223572 .
Most else works, and ethernet works really well, able to nearly saturate the gigabit link (limited only by the other end, I found, my G5 macs can't keep up with it).
I hope this helps.
Re: AmigaOne X5000 - FreeBSD Only
Posted: Tue May 01, 2018 4:35 am
by xeno74
chmeee wrote:Hi xeno74,
I'm the porter, Justin, so wanted to clear some things up. I think your biggest issue is the load address. The kernel needs to be loaded on a 64MB boundary, less the U-Boot image header. I load the uImage at 0x3ffffc0.
I recently added install instructions to the FreeBSD wiki, which you can find at
https://wiki.freebsd.org/powerpc/UBoot-Install .
Known issues: The video card doesn't get initialized, due to resource translation (the DRI drivers map the resource addresses, which don't get properly initialized until the resource is actually activated). I have a patch for that, but I won't commit it because it's not exactly clean. Instead I filed a bug for it in the FreeBSD bugzilla at
https://bugs.freebsd.org/bugzilla/show_ ... ?id=223572 .
Most else works, and ethernet works really well, able to nearly saturate the gigabit link (limited only by the other end, I found, my G5 macs can't keep up with it).
I hope this helps.
Thanks a lot for reporting! Very interesting! Many thanks for your work! I am looking forward to using FreeBSD on the X5000.
-- Christian
Re: AmigaOne X5000 - FreeBSD Only
Posted: Tue May 01, 2018 11:07 am
by Skateman
Very interesting indeed...
I am looking forward to the Ethernet part. If your X5000 onboard NIC is fully functional and stable, i wonder if it is an Kernel issue?
Thanks again.
Re: AmigaOne X5000 - FreeBSD Only
Posted: Thu May 03, 2018 9:57 pm
by appturk
Thanks Justin
Re: AmigaOne X5000 - FreeBSD Only
Posted: Mon May 21, 2018 12:30 pm
by Spectre660
@Skateman
Have you tried the X5000 Linux Ethernet tests using the kernel load address 0x3ffffc0 instead of 1000000 ?
Skateman wrote:Very interesting indeed...
I am looking forward to the Ethernet part. If your X5000 onboard NIC is fully functional and stable, i wonder if it is an Kernel issue?
Thanks again.
Re: AmigaOne X5000 - FreeBSD Only
Posted: Mon May 21, 2018 8:42 pm
by Skateman
No i have not tried it yet. I did try Fedora linux to make sure it was not my Ubuntu installation. And Fedora linux gives the same behavior with the NICs.
I will let u know the outcome.
Re: AmigaOne X5000 - FreeBSD Only
Posted: Mon May 21, 2018 9:41 pm
by Skateman
Like mentioned in the FreeBSD readme i have adjusted the setenv loadaddr from 1000000 to 0x3ffffc0
Ubuntu booted and all functional. The DPAA network issues still appear. To bad..
I will revert the the setenv loadaddr 0x3ffffc0 to 1000000
It was worth the try
Re: AmigaOne X5000 - FreeBSD Only
Posted: Fri May 25, 2018 6:35 am
by appturk
Skateman wrote:Like mentioned in the FreeBSD readme i have adjusted the setenv loadaddr from 1000000 to 0x3ffffc0
Ubuntu booted and all functional. The DPAA network issues still appear. To bad..
I will revert the the setenv loadaddr 0x3ffffc0 to 1000000
It was worth the try
Ubuntu booted??