Orange Pi One

Milan Obuch freebsd-arm at dino.sk
Thu Apr 21 20:01:36 UTC 2016


On Tue, 19 Apr 2016 17:09:32 +0200
Milan Obuch <freebsd-arm at dino.sk> wrote:

[ snip ]

> However, I could not find a way to load kernel (downloaded from
> Emmanuel's site for test at a moment, I am building new world, maybe
> even kernel just now, but it is slow with 11 - clang is building for
> hours and hours) so it run - all I get is
> 
> FreeBSD/arm U-Boot loader, Revision 1.2
> (root at zeta.dino.sk, Tue Apr 19 06:33:11 CEST 2016)
> 
> DRAM: 512MB
> MMC Device 1 not found
> Number of U-Boot devices: 1
> U-Boot env: loaderdev='mmc 0'
> Found U-Boot device: disk
>   Checking unit=0 slice=<auto> partition=<auto>... good.
> Booting from disk0s2a:
> /
> /boot/kernel/kernel data=0x62ea24+0x1215dc
> syms=[0x4+0x8a720+0x4+0x9e5f2] Hit [Enter] to boot immediately, or any
> other key for command prompt. Booting
> [/boot/kernel/kernel]... Kernel entry at 0x0x42200100...
> Kernel args: (null)
> 
> and hang. But it apparently works for him, so why not for me? Do we
> have some good description of booting process with some details how
> fdt gets loaded along with kernel and how kernel finds needed bits?
> As all I want now is start kernel, I have only two files in FreeBSD
> partiion on my SD - /boot/dtb/orangepi.dtb and /boot/kernel/kernel.
> Maybe I need something more, like /boot/loader.conf? I hope somebody
> could enlighten me...
> 
> Milan
>

OK, so yesterday I solved this puzzle - it was stupid pilot error (my
ubldr.bin was not built with fdt support), after fixing it I made a
test today - building SD image from scratch. It is succesfull now, so
it's time to do kernel hacking. u-boot-orangepi port needs some review
and cleanup before submitting into port repository, but anybody
interested could write me for more details.

Regards,
Milan


More information about the freebsd-arm mailing list