Created
June 1, 2016 05:06
-
-
Save gonzopancho/8e7df7a826e9a2949b36ed2a9d30312e to your computer and use it in GitHub Desktop.
FreeBSD on Netgate uFW
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
U-Boot SPL 2016.03 (May 31 2016 - 19:23:56) | |
Trying to boot from MMC | |
Card doesn't support part_switch | |
MMC partition switch failed | |
*** Warning - MMC partition switch failed, using default environment | |
reading u-boot.img | |
reading u-boot.img | |
U-Boot 2016.03 (May 31 2016 - 19:23:56 -0500) | |
Watchdog enabled | |
I2C: ready | |
DRAM: 512 MiB | |
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1 | |
reading u-boot.env | |
** Unable to read "u-boot.env" from mmc0:1 ** | |
Using default environment | |
Net: <ethaddr> not set. Validating first E-fuse MAC | |
cpsw, usb_ether | |
Hit any key to stop autoboot: 0 | |
Booting from: mmc 0 ubldr.bin | |
reading ubldr.bin | |
224696 bytes read in 23 ms (9.3 MiB/s) | |
## Starting application at 0x88000000 ... | |
Consoles: U-Boot console | |
Compatible U-Boot API signature found @0x9ef3ab58 | |
FreeBSD/armv6 U-Boot loader, Revision 1.2 | |
(root@fbsd-current-amd64-loos, Sun May 29 01:24:33 CDT 2016) | |
DRAM: 512MB | |
Number of U-Boot devices: 3 | |
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=0x5b85e4+0x93a1c syms=[0x4+0x805f0+0x4+0x94566] | |
Hit [Enter] to boot immediately, or any other key for command prompt. | |
Booting [/boot/kernel/kernel]... | |
/boot/dtb/ufw.dtb size=0x7c61 | |
Loaded DTB from file 'ufw.dtb'. | |
Kernel entry at 0x0x88200100... | |
Kernel args: (null) | |
ARM Debug Architecture not supported | |
KDB: debugger backends: ddb | |
KDB: current backend: ddb | |
Copyright (c) 1992-2016 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 11.0-ALPHA1 #0 0671027(master)-dirty: Sun May 29 01:24:06 CDT 2016 | |
root@fbsd-current-amd64-loos:/usr/home/luiz/git/crochet-ubmc/work/obj/arm.armv6/usr/home/luiz/git/freebsd-ubmc/sys/uFW arm | |
FreeBSD clang version 3.8.0 (tags/RELEASE_380/final 262564) (based on LLVM 3.8.0) | |
WARNING: WITNESS option enabled, expect reduced performance. | |
CPU: Cortex A8-r3 rev 2 (Cortex-A core) | |
Supported features: ARM_ISA THUMB2 JAZELLE THUMBEE ARMv4 Security_Ext | |
WB enabled LABT branch prediction disabled | |
LoUU:2 LoC:3 LoUIS:1 | |
Cache level 1: | |
32KB/64B 4-way data cache WT WB Read-Alloc | |
32KB/64B 4-way instruction cache Read-Alloc | |
Cache level 2: | |
256KB/64B 8-way unified cache WT WB Read-Alloc Write-Alloc | |
real memory = 536870912 (512 MB) | |
avail memory = 512077824 (488 MB) | |
Texas Instruments AM335x Processor, Revision ES1.2 | |
random: entropy device external interface | |
ofwbus0: <Open Firmware Device Tree> | |
simplebus0: <Flattened device tree simple bus> on ofwbus0 | |
simplebus1: <Flattened device tree simple bus> on simplebus0 | |
simplebus2: <Flattened device tree simple bus> mem 0x210000-0x211fff on simplebus1 | |
ti_scm0: <TI Control Module> mem 0-0x7ff on simplebus2 | |
aintc0: <TI AINTC Interrupt Controller> mem 0x48200000-0x48200fff on simplebus0 | |
aintc0: Revision 5.0 | |
cpulist0: <Open Firmware CPU Group> on ofwbus0 | |
cpu0: <Open Firmware CPU> on cpulist0 | |
pmu0: <Performance Monitoring Unit> irq 3 on ofwbus0 | |
am335x_prcm0: <AM335x Power and Clock Management> mem 0x200000-0x203fff on simplebus1 | |
am335x_prcm0: Clocks: System 24.0 MHz, CPU 550 MHz | |
ti_pinmux0: <TI Pinmux Module> mem 0x800-0xa37 on simplebus2 | |
gpio0: <TI AM335x General Purpose I/O (GPIO)> mem 0x44e07000-0x44e07fff irq 96 on simplebus0 | |
gpiobus0: <OFW GPIO bus> on gpio0 | |
gpioc0: <GPIO controller> on gpio0 | |
gpio1: <TI AM335x General Purpose I/O (GPIO)> mem 0x4804c000-0x4804cfff irq 98 on simplebus0 | |
gpiobus1: <OFW GPIO bus> on gpio1 | |
gpioc1: <GPIO controller> on gpio1 | |
gpio2: <TI AM335x General Purpose I/O (GPIO)> mem 0x481ac000-0x481acfff irq 32 on simplebus0 | |
gpiobus2: <OFW GPIO bus> on gpio2 | |
gpioc2: <GPIO controller> on gpio2 | |
gpio3: <TI AM335x General Purpose I/O (GPIO)> mem 0x481ae000-0x481aefff irq 62 on simplebus0 | |
gpiobus3: <OFW GPIO bus> on gpio3 | |
gpioc3: <GPIO controller> on gpio3 | |
uart0: <TI UART (16550 compatible)> mem 0x44e09000-0x44e0afff irq 72 on simplebus0 | |
uart0: console (115384,n,8,1) | |
iichb0: <TI I2C Controller> mem 0x44e0b000-0x44e0bfff irq 70 on simplebus0 | |
iichb0: I2C revision 4.0 FIFO size: 32 bytes | |
iicbus0: <OFW I2C bus> on iichb0 | |
iic0: <I2C generic I/O> on iicbus0 | |
icee0: <AT24C256> at addr 0xa0 on iicbus0 | |
icee1: <AT24C256> at addr 0xa0 on iicbus0 | |
iichb1: <TI I2C Controller> mem 0x4802a000-0x4802afff irq 71 on simplebus0 | |
iichb1: I2C revision 4.0 FIFO size: 32 bytes | |
iicbus1: <OFW I2C bus> on iichb1 | |
iic1: <I2C generic I/O> on iicbus1 | |
sdhci_ti0: <TI MMCHS (SDHCI 2.0)> mem 0x48060000-0x48060fff irq 64 on simplebus0 | |
mmc0: <MMC/SD bus> on sdhci_ti0 | |
sdhci_ti1: <TI MMCHS (SDHCI 2.0)> mem 0x481d8000-0x481d8fff irq 28 on simplebus0 | |
mmc1: <MMC/SD bus> on sdhci_ti1 | |
ti_wdt0: <TI Watchdog Timer> mem 0x44e35000-0x44e35fff irq 91 on simplebus0 | |
ti_mbox0: <TI System Mailbox> mem 0x480c8000-0x480c81ff irq 77 on simplebus0 | |
ti_mbox0: revision 4.0 | |
am335x_dmtimer0: <AM335x DMTimer2> mem 0x48040000-0x480403ff irq 68 on simplebus0 | |
Event timer "DMTimer2" frequency 24000000 Hz quality 500 | |
am335x_dmtimer1: <AM335x DMTimer3> mem 0x48042000-0x480423ff irq 69 on simplebus0 | |
Timecounter "DMTimer3" frequency 24000000 Hz quality 500 | |
usbss0: <TI AM33xx integrated USB OTG controller> mem 0x47400000-0x47400fff on simplebus0 | |
usbss0: TI AM335X USBSS v0.0.13 | |
musbotg0: <TI AM33xx integrated USB OTG controller> mem 0x47401400-0x474017ff,0x47401000-0x474011ff irq 18 on usbss0 | |
usbus0: Dynamic FIFO sizing detected, assuming 16Kbytes of FIFO RAM | |
usbus0 on musbotg0 | |
musbotg1: <TI AM33xx integrated USB OTG controller> mem 0x47401c00-0x47401fff,0x47401800-0x474019ff irq 19 on usbss0 | |
usbus1: Dynamic FIFO sizing detected, assuming 16Kbytes of FIFO RAM | |
usbus1 on musbotg1 | |
am335x_pwmss0: <AM335x PWM> mem 0x48300000-0x4830000f on simplebus0 | |
am335x_ecap0: <AM335x eCAP> mem 0x48300100-0x4830017f irq 31 on am335x_pwmss0 | |
am335x_ehrpwm0: <AM335x EHRPWM> mem 0x48300200-0x4830027f on am335x_pwmss0 | |
am335x_pwmss1: <AM335x PWM> mem 0x48302000-0x4830200f on simplebus0 | |
am335x_ecap1: <AM335x eCAP> mem 0x48302100-0x4830217f irq 47 on am335x_pwmss1 | |
am335x_ehrpwm1: <AM335x EHRPWM> mem 0x48302200-0x4830227f on am335x_pwmss1 | |
am335x_pwmss2: <AM335x PWM> mem 0x48304000-0x4830400f on simplebus0 | |
am335x_ecap2: <AM335x eCAP> mem 0x48304100-0x4830417f irq 61 on am335x_pwmss2 | |
am335x_ehrpwm2: <AM335x EHRPWM> mem 0x48304200-0x4830427f on am335x_pwmss2 | |
cpswss0: <3-port Switch Ethernet Subsystem> mem 0x4a100000-0x4a1007ff,0x4a101200-0x4a1012ff irq 40,41,42,43 on simplebus0 | |
cpswss0: CPSW SS Version 1.12 (0) | |
cpswss0: Initial queue size TX=128 RX=384 | |
cpsw0: <Ethernet Switch Port> on cpswss0 | |
miibus0: <MII bus> on cpsw0 | |
ukphy0: <Generic IEEE 802.3u media interface> PHY 1 on miibus0 | |
ukphy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto | |
cpsw0: Ethernet address: 80:30:dc:54:43:6d | |
cpsw1: <Ethernet Switch Port> on cpswss0 | |
miibus1: <MII bus> on cpsw1 | |
ukphy1: <Generic IEEE 802.3u media interface> PHY 2 on miibus1 | |
ukphy1: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto | |
cpsw1: Ethernet address: 80:30:dc:54:43:6f | |
ti_adc0: <TI ADC controller> mem 0x44e0d000-0x44e0dfff irq 16 on simplebus0 | |
ti_adc0: scheme: 0x1 func: 0x730 rtl: 0 rev: 0.1 custom rev: 0 | |
cryptosoft0: <software crypto> | |
Timecounters tick every 10.000 msec | |
usbus0: 480Mbps High Speed USB v2.0 | |
usbus1: 480Mbps High Speed USB v2.0 | |
ugen1.1: <Mentor Graphics> at usbus1 | |
uhub0: <Mentor Graphics OTG Root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1 | |
ugen0.1: <Mentor Graphics> at usbus0 | |
uhub1: <Mentor Graphics OTG Root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus0 | |
mmcsd0: 8GB <SDHC SD08G 3.0 SN 7CD8CFAD MFG 08/2014 by 39 PH> at mmc0 48.0MHz/4bit/65535-block | |
uhub1: 1 port with 1 removable, self powered | |
uhub0: 1 port with 1 removable, self powered | |
mmcsd1: 4GB <MMCHC S10004 0.8 SN 2E53D905 MFG 11/1999 by 112 0x0000> at mmc1 48.0MHz/8bit/65535-block | |
WARNING: WITNESS option enabled, expect reduced performance. | |
Trying to mount root from ufs:/dev/mmcsd0s2a [rw,noatime]... | |
warning: no time-of-day clock registered, system time will not be set accurately | |
Setting hostuuid: fa0cf85f-278f-11e6-b7fa-8030dc54436d. | |
Setting hostid: 0x88675397. | |
Starting file system checks: | |
/dev/mmcsd0s2a: FILE SYSTEM CLEAN; SKIPPING CHECKS | |
/dev/mmcsd0s2a: clean, 1670292 free (204 frags, 208761 blocks, 0.0% fragmentation) | |
Mounting local filesystems:. | |
Setting hostname: ufw. | |
Setting up harvesting:[UMA],[FS_ATIME],SWI,INTERRUPT,NET_NG,NET_ETHER,NET_TUN,MOUSE,KEYBOARD,ATTACH,CACHED | |
Feeding entropy:random: unblocking device. | |
. | |
cpsw0: link state changed to DOWN | |
Starting Network: lo0 cpsw0 cpsw1. | |
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384 | |
options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6> | |
inet6 ::1 prefixlen 128 | |
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 | |
inet 127.0.0.1 netmask 0xff000000 | |
groups: lo | |
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> | |
cpsw0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 | |
options=8000b<RXCSUM,TXCSUM,VLAN_MTU,LINKSTATE> | |
ether 80:30:dc:54:43:6d | |
inet6 fe80::8230:dcff:fe54:436d%cpsw0 prefixlen 64 scopeid 0x1 | |
media: Ethernet autoselect (none) | |
status: no carrier | |
nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL> | |
cpsw1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500 | |
options=8000b<RXCSUM,TXCSUM,VLAN_MTU,LINKSTATE> | |
ether 80:30:dc:54:43:6f | |
cpsw1: link state changed to UP | |
media: Ethernet autoselect (1000baseT <full-duplex>) | |
status: active | |
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> | |
ELF ldconfig path: /lib /usr/lib /usr/lib/compat | |
Soft Float compatibility ldconfig path: | |
Starting devd. | |
Starting Network: cpsw1. | |
cpsw1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500 | |
options=8000b<RXCSUM,TXCSUM,VLAN_MTU,LINKSTATE> | |
ether 80:30:dc:54:43:6f | |
media: Ethernet autoselect (1000baseT <full-duplex>) | |
status: active | |
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> | |
add host 127.0.0.1: gateway lo0 fib 0: route already in table | |
Additional inet routing options: gateway=YES. | |
add host ::1: gateway lo0 fib 0: route already in table | |
add net fe80::: gateway ::1 | |
add net ff02::: gateway ::1 | |
add net ::ffff:0.0.0.0: gateway ::1 | |
add net ::0.0.0.0: gateway ::1 | |
Starting rtsold. | |
Waiting 30s for the default route interface: .....(no carrier) | |
Creating and/or trimming log files. | |
Starting syslogd. | |
Clearing /tmp (X related). | |
Updating motd:. | |
Mounting late filesystems:. | |
Performing sanity check on sshd configuration. | |
Starting sshd. | |
Starting cron. | |
Wed Jun 1 00:43:26 UTC 2016 | |
FreeBSD/arm (ufw) (ttyu0) | |
login: root | |
Jun 1 00:44:07 ufw login: ROOT LOGIN (root) ON ttyu0 | |
Last login: Wed Jun 1 00:32:00 on ttyu0 | |
FreeBSD 11.0-ALPHA1 (uFW) #0 0671027(master)-dirty: Sun May 29 01:24:06 CDT 2016 | |
Welcome to FreeBSD! | |
Release Notes, Errata: https://www.FreeBSD.org/releases/ | |
Security Advisories: https://www.FreeBSD.org/security/ | |
FreeBSD Handbook: https://www.FreeBSD.org/handbook/ | |
FreeBSD FAQ: https://www.FreeBSD.org/faq/ | |
Questions List: https://lists.FreeBSD.org/mailman/listinfo/freebsd-questions/ | |
FreeBSD Forums: https://forums.FreeBSD.org/ | |
Documents installed with the system are in the /usr/local/share/doc/freebsd/ | |
directory, or can be installed later with: pkg install en-freebsd-doc | |
For other languages, replace "en" with a language code like de or fr. | |
Show the version of FreeBSD installed: freebsd-version ; uname -a | |
Please include that output and any error messages when posting questions. | |
Introduction to manual pages: man man | |
FreeBSD directory layout: man hier | |
Edit /etc/motd to change this login announcement. | |
root@ufw:~ # dhclient cpsw1 | |
DHCPREQUEST on cpsw1 to 255.255.255.255 port 67 | |
DHCPACK from 172.21.0.1 | |
bound to 172.21.0.122 -- renewal in 3259 seconds. | |
root@ufw:~ # traceroute google.com | |
traceroute to google.com (216.58.194.78), 64 hops max, 40 byte packets | |
1 172.21.0.1 (172.21.0.1) 1.188 ms 0.521 ms 0.412 ms | |
2 N-O-P-E.static.grandenetworks.net (N.O.P.E) 1.830 ms 1.987 ms 2.143 ms | |
3 xe-0-0-2.0.core01.gf01.dllstx.grandecom.net (24.155.121.121) 6.646 ms 7.969 ms 8.121 ms | |
4 72.14.211.194 (72.14.211.194) 7.410 ms 7.991 ms 7.594 ms | |
5 108.170.240.129 (108.170.240.129) 7.675 ms 7.604 ms | |
108.170.240.193 (108.170.240.193) 8.867 ms | |
6 209.85.242.183 (209.85.242.183) 9.243 ms | |
209.85.242.181 (209.85.242.181) 8.807 ms 8.764 ms | |
7 dfw25s13-in-f14.1e100.net (216.58.194.78) 8.901 ms 7.554 ms 9.059 ms | |
root@ufw:~ # |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment