ClearFog Base serial console on FreeBSD 11.2?

glenn pygr at sonic.net
Fri Oct 18 18:17:22 UTC 2019


Hi Marcin,

Thank you for your quick response and suggestion, but it’s not clear to me how to proceed. Attempts to compile (with dtc) the file armada-388-gp.dts located in 11.2 sys/boot/fdt/dts/arm failed to include files (like skeleton.dtsi and dt-bindings/interrupt-controller/arm-gic.h) that weren’t there  but were in sys/gnu/dts.

If dts files in 12.0 source are used to create dtb files, shouldn’t those dtb files work with 11.2?

I’ve also tried to get into a fresh install and boot of the OS on the device via ssh, but without success. To that end, there is the following /etc/rc.conf:

hostname=“FreeBSD11.2”
defaultrouter=“10.137.113.1”
syslog_flags=“-ss”
sshd_enable=“YES”
ifconfig_mvneta0=“inet 10.137.113.200/24”

Pings to 10.137.113.200 fail as if nothing is there.

Glenn

> On Oct 17, 2019, at 4:03 PM, Marcin Wojtas <mw at semihalf.com> wrote:
> 
> Hi Glenn,
> 
> The release/11.2.0 is missing a huge amount of patches for a38x, which
> were merged later. However the initial support should work - please
> try dts from sys/boot/fdt/dts/arm/. At that time the port was not
> compatible with the Linux bindings from sys/gnu/dts/arm.
> 
> Please let know if it helped.
> 
> Best regards,
> Marcin
> 
> pt., 18 paź 2019 o 00:40 glenn <pygr at sonic.net> napisał(a):
>> 
>> FreeBSD12.0 and 12.1 can be made to work properly on a ClearFog Base, but so far, for 11.2, I haven’t been able to get an interactive serial console after control is passed to the kernel during the boot process. U-boot and ubldr.bin seem to work well.
>> 
>> ...
>> U-Boot env: loaderdev not set, will probe all devices.
>> Found U-Boot device: disk
>>  Probing all disk devices...
>>  Checking unit=0 slice=<auto> partition=<auto>... good.
>> Booting from disk0s3a:
>> /boot/kernel/kernel data=0x82c5e4+0xaba1c syms=[0x4+0x8cd30+0x4+0xe2c1f]
>> /boot/dtb/armada-388-clearfog.dtb size=0x675c
>> Loading /boot/defaults/loader.conf
>> /
>> Hit [Enter] to boot immediately, or any other key for command prompt.
>> Booting [/boot/kernel/kernel]...
>> Using DTB from loaded file '/boot/dtb/armada-388-clearfog.dtb'.
>> Kernel entry at 0xc00100...
>> Kernel args: (null)
>> 
>> 
>> 
>> The reason for wanting to get 11.2 working is that, currently, OPNsense doesn’t run on 12.0 or 12.1.
>> 
>> What does it take to get a serial console driver like uart-dev-snps.c to work with 11.2?
>> 
>> 
>> _______________________________________________
>> freebsd-arm at freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-arm
>> To unsubscribe, send any mail to "freebsd-arm-unsubscribe at freebsd.org"
> 



More information about the freebsd-arm mailing list