onion omega2+
Mike Wolman
mike at wolman.co.uk
Wed Nov 15 20:55:51 UTC 2017
On 15/11/2017 19:47, Ed Maste wrote:
> On 11 May 2017 at 19:45, Mike Wolman <mike at wolman.co.uk> wrote:
>> I have put together a little how to and uploaded an kernel image + default
>> mfsroot
>>
>> https://github.com/sysadminmike/freebsd-onion-omega2-build
> Hi Mike,
>
> I have a University of Waterloo co-op student working for the FreeBSD
> Foundation. Zak's trying out FreeBSD on a number of embedded boards,
> including an Onion Omega 2 that I have here. He tried replicating your
> result, but we've not had success yet.
>
> We tried the kernel image from your github repo, and it looks our
> Omega2 doesn't successfully transfer out of U-Boot; the red LED
> doesn't turn off, and what seems to be final U-Boot messages aren't
> printed.
>
> Excerpts from our attempt:
>
> Board: Onion Omega2 APSoC DRAM: 128 MB
> relocate_code Pointer at: 87f60000
> flash manufacture id: c2, device id 20 19
> find flash: MX25L25635E
> *** Warning - bad CRC, using default environment
>
> ============================================
> Onion Omega2 UBoot Version: 4.3.0.3
> --------------------------------------------
> ...
> Option [1] selected.
>
> 1: System Enter Boot Command Line Interface.
>
> U-Boot 1.1.3 (Oct 18 2016 - 17:29:05)
> Omega2 # usb reset
> (Re)start USB...
> ...
> Omega2 # fatload usb 0:1 0x80800000 kernel.MT7628_FDT.lzma.uImage
> *
> *
> Reading file "kernel.MT7628_FDT.lzma.uImage"
> *
> ****************************************************************
> ******
> *************************************************************************************************************************
> ************************************************************
> *
> FAT: 1144975 Bytes read
> Omega2 # bootm 0x80800000^M
> ## Booting image at 80800000 ...
> Image Name: FreeBSD
> Image Type: MIPS Linux Kernel Image (lzma compressed)
> Data Size: 1144911 Bytes = 1.1 MB
> Load Address: 80001100
> Entry Point: 80001100
> Verifying Checksum ... OK
> Uncompressing Kernel Image ... OK
> No initrd
> ## Transferring control to Linux (at address 80001100) ...
>
> [EOT]
>
> I know Allan Jude has an OnionOmega2 or two as well, and he's going to
> give it a try soon. Any other FreeBSD/mips folks have suggestions to
> test?
Hi Ed,
Im not sure why the boot didnt continue for you - i had a fair bit of
trouble getting things going initially with the load address and entry
point stuff but those settings worked for me - but the looks of things
you have done everything as I did - im not sure why you cant get it to
go any further - tbh I think after various randomish attempts and hints
from the mips list found the correct load address.
I ran into some other problems with what I had planned for the omega2
and unsupported bits so have put it aside for the time being so dont
have the build vm I was using to create the mips rootfs but maybe worth
a go from scratch with a current version of the freebsd src?
Just checking are your trying this on the Omega2 or the Omega2Plus? Also
I was using a ral (editmax) wifi usb dongle and a usb hub - I cant
remember if I removed the usb memory key before booting but maybe worth
messing with usb devices after loading stuff from the memory key and
before booting.
Also I seem to recall messing with the serial console perhaps - maybe
restart you serial terminal emulator perhaps something funny there at
boot? am pretty sure the dts stuff setup the console on the correct com
port and didnt need to mess with that and i got console output from
kernel boot start.
Sorry to be a bit vague but I havent messed with this for a little while
now.
Mike.
More information about the freebsd-mips
mailing list