Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

DE0 Nanosoc support landed in -current



Hi,

I just committed support for the DE0 Nanosoc board to NetBSD -current,
so here is the mandatory dmesg. :-)

There is no tutorial/doc yet, but for the patient impatient, here are
the u-boot commands I use to boot from TFTP with root on a microsd card:

setenv bootargs console=ttyS0,115200 root=ld0a
setenv ipaddr 192.168.5.2
setenv serverip 192.168.5.1
setenv loadaddr 0x1000000
tftp ${fdtaddr} socfpga_cyclone5_de0_sockit.dtb
tftp ${loadaddr} netbsd.ub
bootm  ${loadaddr} - ${fdtaddr}

(fdtaddr is 0x100, and you have to use our dtb)

Regards,
 Aymeric

[   1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
[   1.0000000]     2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017,
[   1.0000000]     2018 The NetBSD Foundation, Inc.  All rights reserved.
[   1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
[   1.0000000]     The Regents of the University of California.  All rights reserved.

[   1.0000000] NetBSD 8.99.25 (NANOSOC) #8: Wed Sep 19 18:28:37 CEST 2018
[   1.0000000] 	vincent@tabacer:/home/vincent/projets/netbsd-altera/src/sys/arch/evbarm/compile/NANOSOC
[   1.0000000] total memory = 1024 MB
[   1.0000000] avail memory = 1006 MB
[   1.0000000] timecounter: Timecounters tick every 10.000 msec
[   1.0000000] armfdt0 (root)
[   1.0000000] simplebus0 at armfdt0: Terasic DE-0(Atlas)
[   1.0000000] simplebus1 at simplebus0
[   1.0000000] cpus0 at simplebus0
[   1.0000000] cpu0 at cpus0: Cortex-A9 r3p0 (Cortex V7A core)
[   1.0000000] cpu0: DC enabled IC enabled WB disabled EABT branch prediction enabled
[   1.0000000] cpu0: 32KB/32B 4-way L1 VIPT Instruction cache
[   1.0000000] cpu0: 32KB/32B 4-way write-back-locking-C L1 PIPT Data cache
[   1.0000000] cpu0: 512KB/32B 8-way write-back-locking-D L2 PIPT Unified cache
[   1.0000000] vfp0 at cpu0: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
[   1.0000000] cpu1 at cpus0
[   1.0000000] cycvrstmgr0 at simplebus1: reset manager
[   1.0000000] simplebus2 at simplebus1
[   1.0000000] simplebus3 at simplebus0
[   1.0000000] gic0 at simplebus0: GIC
[   1.0000000] armgic0 at gic0: Generic Interrupt Controller, 256 sources (245 valid)
[   1.0000000] armgic0: 32 Priorities, 224 SPIs, 5 PPIs, 16 SGIs
[   1.0000000] cycvclkmgr0 at simplebus1: clock manager
[   1.0000000] l2cc0 at simplebus1arml2cc0 at l2cc0: ARM PL310 r3p3 L2 Cache Controller (disabled)
[   1.0000000] arml2cc0: cache enabled
[   1.0000000] a9tmr0 at simplebus1a9tmr0: interrupting on GIC irq 27
[   1.0000000] arma9tmr0 at a9tmr0: A9 Global 64-bit Timer (231 MHz)
[   1.0000000] /soc/fpgamgr@ff706000 at simplebus1 not configured
[   1.0000000] /soc/sysmgr@ffd08000 at simplebus1 not configured
[   1.0000000] /soc/gpio@ff70a000 at simplebus1 not configured
[   1.0000000] /soc/sram@ffff0000 at simplebus1 not configured
[   1.0000000] /3-3-v-regulator at simplebus0 not configured
[   1.0000000] /soc/sdr@ffc25000 at simplebus1 not configured
[   1.0000000] /soc/amba/pdma@ffe01000 at simplebus2 not configured
[   1.0000000] /soc/usbphy at simplebus1 not configured
[   1.0000000] /soc/gpio@ff709000 at simplebus1 not configured
[   1.0000000] /pmu@ff111000 at simplebus0 not configured
[   1.0000000] /soc/fpga_bridge@ff400000 at simplebus1 not configured
[   1.0000000] /soc/fpga_bridge@ff500000 at simplebus1 not configured
[   1.0000000] awge0 at simplebus1: GMAC
[   1.0000000] awge0: interrupting on GIC irq 152
[   1.0000000] awge0: Ethernet address f2:00:ef:c7:1b:5a
[   1.0000000] ukphy0 at awge0 phy 1: OUI 0x0010a1, model 0x0022, rev. 2
[   1.0000000] ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
[   1.0000000] /soc/gpio@ff708000 at simplebus1 not configured
[   1.0000000] /soc/i2c@ffc04000 at simplebus1 not configured
[   1.0000000] /soc/eccmgr at simplebus1 not configured
[   1.0000000] dwcmmc0 at simplebus1: MHS (50000000 Hz)
[   1.0000000] dwcmmc0: interrupting on GIC irq 171
[   1.0000000] /soc/snoop-control-unit@fffec000 at simplebus1 not configured
[   1.0000000] /soc/timer0@ffc08000 at simplebus1 not configured
[   1.0000000] /soc/timer1@ffc09000 at simplebus1 not configured
[   1.0000000] /soc/timer2@ffd00000 at simplebus1 not configured
[   1.0000000] /soc/timer3@ffd01000 at simplebus1 not configured
[   1.0000000] com0 at simplebus1: ns16550a, working fifo
[   1.0000000] com0: console
[   1.0000000] com0: interrupting on GIC irq 194
[   1.0000000] com1 at simplebus1: ns8250 or ns16450, no fifo
[   1.0000000] com1: interrupting on GIC irq 195
[   1.0000000] dwctwo0 at simplebus1: DesignWare USB2 OTG
[   1.0000000] dwctwo0: interrupting on GIC irq 160
[   1.0000000] /soc/watchdog@ffd02000 at simplebus1 not configured
[   1.0000000] /leds at simplebus0 not configured
[   1.0000000] /soc/base_fpga_region at simplebus1 not configured
[   1.0000000] /soc/l3regs@0xff800000 at simplebus1 not configured
[   1.0000000] /soc/sdramedac at simplebus1 not configured
[   1.0000000] /soc/timer@fffec600 at simplebus1 not configured
[   1.0000000] timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
[   1.0003560] timecounter: Timecounter "arma9tmr0" frequency 231250000 Hz quality 500
[   1.0003560] cpu1: Cortex-A9 r3p0 (Cortex V7A core)
[   1.0003560] cpu1: DC enabled IC enabled WB disabled EABT branch prediction enabled
[   1.0103477] cpu1: 32KB/32B 4-way L1 VIPT Instruction cache
[   1.0103477] cpu1: 32KB/32B 4-way write-back-locking-C L1 PIPT Data cache
[   1.0203391] cpu1: 512KB/32B 8-way write-back-locking-D L2 PIPT Unified cache
[   1.0303384] vfp1 at cpu1: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
[   1.0303384] sdmmc0 at dwcmmc0
[   1.1703381] dwctwo0: Core Release: 2.93a (snpsid=4f54293a)
[   1.1703381] usb0 at dwctwo0: USB revision 2.0
[   1.1803419] sdmmc0: SD card status: 4-bit, C10, U1
[   1.1803419] ld0 at sdmmc0: <0x41:0x3432:SD32G:0x30:0x002462f6:0x0fc>
[   1.1903437] IPsec: Initialized Security Association Processing.
[   1.1903437] ld0: 29664 MB, 7533 cyl, 128 head, 63 sec, 512 bytes/sect x 60751872 sectors
[   1.2029040] uhub0 at usb0: NetBSD (0000) DWC2 root hub (0000), class 9/0, rev 2.00/1.00, addr 1
[   1.2103431] uhub0: 1 port with 1 removable, self powered
[   1.2103431] ld0: 4-bit width, High-Speed/SDR25, 50.000 MHz
[   1.9203373] boot device: ld0
[   1.9203373] root on ld0a dumps on ld0b
[   1.9303455] root file system type: ffs
[   1.9405185] kern.module.path=/stand/evbarm/8.99.25/modules
[   1.9405185] WARNING: no TOD clock present
[   1.9516043] WARNING: using filesystem time
[   1.9556618] WARNING: CHECK AND RESET THE DATE!


Home | Main Index | Thread Index | Old Index