Skip to content

Instantly share code, notes, and snippets.

ARMboot 1.1.0 (Sep 13 2007 - 14:41:53)
Star maintain version 0.15.100000000
ARMboot code: 00000000 -> 0001b684
STR9100 CPU Clock: 250 Mhz
1.8V Regulator Regulated vdd Output : b101
2.5V Regulator Regulated vdd Output : b100
===> geom/geom_label (all)
cc -O -pipe -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HE
ADERS -include /usr/home/hiroki/ZRouter/obj/usr/home/hiroki/ZRouter2/zrouter/tmp
/arm.arm/usr/home/hiroki/data/git/freebsd/sys/Planex_MZK-W04G/opt_global.h -I. -
I/usr/home/hiroki/data/git/freebsd/sys -fno-common -funwind-tables -I/usr/home/
hiroki/ZRouter/obj/usr/home/hiroki/ZRouter2/zrouter/tmp/arm.arm/usr/home/hiroki/
data/git/freebsd/sys/Planex_MZK-W04G -march=armv4 -MD -MF.depend.g_label.o -MTg
_label.o -ffreestanding -fwrapv -Wall -Wredundant-decls -Wnested-externs -Wstric
t-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef
-Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-sho
@yamori813
yamori813 / gist:ae047a28a825aac255e436fd8ccaf785
Last active March 13, 2018 06:05
FreeBSD 12.0-CURRENT on STR9102
STR9100>bootm 0x10040000
## Booting image at 10040000 ...
## Copy image from flash 10040000 to ram 01000000 ...
Image Name: FreeBSD Kernel Image
Image Type: ARM Linux Kernel Image (gzip compressed)
Data Size: 1684421 Bytes = 1644 kB = 1 MB
Load Address: 00050100
Entry Point: 00050100
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
5VT1310-EVB# bootm
## Booting image at 00800000 ...
Image Name: FreeBSD Kernel Image
Image Type: ARM Linux Kernel Image (lzma compressed)
Data Size: 982111 Bytes = 959.1 kB
Load Address: 40000100
Entry Point: 40000100
Verifying Checksum ... OK
Uncompressing LZMA Kernel Image .......................................OK
% cd contrib/compiler-rt/lib/builtins/arm
% find . -type f | xargs sed -i "" "s/bx.*lr/mov pc,lr/g"
% find . -type f | xargs sed -i "" "s/bx.*ip/mov pc,ip/g"
diff --git a/share/mk/bsd.cpu.mk b/share/mk/bsd.cpu.mk
index 7081c9e..f4a3747 100644
--- a/share/mk/bsd.cpu.mk
+++ b/share/mk/bsd.cpu.mk
@@ -115,6 +115,8 @@ _CPUCFLAGS = -mfloat-abi=softfp
Starting kernel @40000100...
---<<BOOT>>---
KDB: debugger backends: ddb
KDB: current backend: ddb
Copyright (c) 1992-2018 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 13.0-CURRENT Buffalo_WZR2-G300N arm
===> lib/csu/arm (all)
cc -O -pipe -I/storage/home/hiroki/freebsd/lib/csu/arm/../common -I/storage/ho
me/hiroki/freebsd/lib/csu/arm/../../libc/include -march=armv4 -std=gnu99 -Wsys
tem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prot
otypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-st
rings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winli
ne -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -
Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable
-Qunused-arguments -mlong-calls -S -o crt1.s /storage/home/hiroki/freebsd/lib/c
su/arm/crt1.c
STR9100>bootm
## Booting image at 00800000 ...
Image Name: FreeBSD Kernel Image
Image Type: ARM Linux Kernel Image (gzip compressed)
Data Size: 1445273 Bytes = 1411 kB = 1 MB
Load Address: 00050100
Entry Point: 00050100
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
+Ethernet eth0: MAC address 00:11:22:33:44:57
IP: 10.10.10.90/255.255.255.0, Gateway: 10.10.12.254
Default server: 10.10.10.3
RedBoot(tm) bootstrap and debug environment [ROMRAM]
Non-certified release, version UNKNOWN - built 21:16:19, Mar 12 2007
Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.
Board: ap61
+Ethernet eth0: MAC address 00:18:84:a5:84:e8
IP: 10.10.10.99/255.255.255.0, Gateway: 0.0.0.0
Default server: 10.10.10.3
RedBoot(tm) bootstrap and debug environment [ROMRAM]
OpenWrt certified release, version 1.1 - built 22:32:28, May 7 2007
Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.
Board: FON 2201