Skip to content
Christian Svensson edited this page Apr 9, 2019 · 4 revisions

Welcome to the u-bmc wiki!

Nameserver setup for ACME

The recommended setup is a server running unbound in a release newer than 1.7.2.

Example configuration:

server:
        # allow_setrd is needed to force a recursive lookup
        # to follow through with the forward for all requests
	access-control: 0.0.0.0/0 allow_setrd
	access-control: ::/0 allow_setrd
	interface: 0.0.0.0
	interface: ::
	hide-identity: yes
	hide-version: yes
	minimal-responses: yes
	# Needed if you run u-bmc in a simulator on localhost
	do-not-query-localhost: no
        # Enable for helpful debugging
	# verbosity: 4
	local-zone: "." refuse
	local-zone: "u-bmc.tk" transparent

forward-zone:
	name: "demo.u-bmc.tk"
	forward-addr: 127.0.0.1@6053

Ensure that you add NS records into the domain (in this case demo.u-bmc.tk) for the machine you're running this on.

Boot time tweaking

Things we know add seconds when booting and what can be done.

Verified boot

Verified boot adds about 8 seconds in simulator before the real kernel has been kexec'd.

Ubifs

You can tweak what compression Ubifs is created to use. LZO and Zlib is what linux supports, we're using Zlib right now as it buys about 10% space. At 2019-04-08 the measurement was LZO at 13.35 MiB and Zlib at 12.29 MiB (46% vs 42% free).

It adds 1-2 seconds to the boot time though in the simulator (but the simulator is pretty slow) Loader stage: 6.5 sec (LZO) - > 7.6 sec (Zlib)

Clone this wiki locally