Re: FreeBSD on Star64 from Pine64
- In reply to: Mitchell Horne : "Re: FreeBSD on Star64 from Pine64"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 29 May 2025 07:42:10 UTC
On Thu, 29 May 2025 09:06:21 +0200 I wrote:
> On Thu, 29 May 2025 08:16:19 +0200 I wrote:
[ snip ]
> > ? List valid disk boot devices
> > . Yield 1 second (for background tasks)
> > <empty line> Abort manual input
> >
> > mountroot> ?
> >
> > List of GEOM managed disk devices:
> >
> >
> > mountroot>
> Building DTB from 15.0 sources with following commands did the trick:
>
> cd /.GIT/FreeBSD_src/main/sys/contrib/device-tree/src/riscv/starfive
> cpp -I ../../../include/ -x assembler-with-cpp
> jh7110-pine64-star64.dts | dtc -I dts -O dtb -o
> jh7110-pine64-star64.dtb
>
> (commands based on reply from Rich Dunkle to my first mail).
>
> I must enter 'ufs:/dev/mmcsd0p4' at mountroot prompt, but that's minor
> issue, now 'login:' prompt is waiting on me :)
Now I adjusted it a bit for me, see full boot log in attachment...
Looking at output of devinfo,
# devinfo
nexus0
timer0
rcons0
ofwbus0
cpulist0
cpu0
cpufreq_dt0
cpufreq0
cpu1
cpufreq_dt1
cpufreq1
cpu2
cpufreq_dt2
cpufreq2
cpu3
cpufreq_dt3
cpufreq3
clk_fixed0
clk_fixed1
clk_fixed2
clk_fixed3
clk_fixed4
clk_fixed5
clk_fixed6
clk_fixed7
clk_fixed8
clk_fixed9
clk_fixed10
clk_fixed11
clk_fixed12
clk_fixed13
simplebus0
plic0
uart0
jh7110_stg0
starfive_syscon0
jh7110_clk_sys0
starfive_syscon1
jh7110_clk_pll0
starfive_dwmmc0
mmc0
starfive_dwmmc1
mmc1
mmcsd0
eqos0
miibus0
mcommphy0
mcommphy1
eqos1
miibus1
mcommphy2
mcommphy3
jh7110_aon0
starfive_syscon2
intc0
ram0
sbi0
sbi_ipi0
cryptosoft0
there is not much devices, yet, so I could try to boot from eMMC (I
have one eMMC module somewhere, I just must find where :) you know),
and verify network (needs just cable for test - and some port to
connect it to).