최대 클럭은 아니고
de0-nano 에서 100Mhz 일단 시도한거
nios ii/e 가 150Mhz 에서 차력쑈 해서 5.50 BogoMIPS인데 8.8배나 빠르게 나온다. 캐시 늘리면 더 빨라지려나?
그런데 bogoMIPS가 8배나 차이나는것에 비해서는 그렇게 획기적으로 빠르진 않은 느낌.
| /root # cat /proc/cpuinfo CPU: Nios II/f MMU: none FPU: none Clocking: 100.00 MHz BogoMips: 48.94 Calibration: 24473600 loops HW: MUL: yes MULX: no DIV: no Icache: 4kB, line length: 32 Dcache: 2kB, line length: 32 |
부팅 엄청 빨리 끝나네
| [ 0.000000] Linux version 3.5.0-rc4 (root@DESKTOP-0000000) (gc[ 0.880000] msgmni has been set to 58 [ 0.890000] io scheduler noop registered (default) [ 0.890000] ttyAL0 at MMIO 0x10040 (irq = 3) is a Altera UART [ 0.900000] ttyJ0 at MMIO 0x10000 (irq = 0) is a Altera JTAG UART [ 0.900000] console [ttyJ0] enabled, bootconsole disabled [ 0.900000] console [ttyJ0] enabled, bootconsole disabled [ 0.910000] PPP generic driver version 2.4.2 [ 0.910000] SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256). [ 0.920000] TCP: cubic registered [ 0.920000] NET: Registered protocol family 17 [ 0.940000] Freeing unused kernel memory: 624k freed (0x219f000 - 0x223b000) DE0-Nano root filesystem ready; login as root (no password). init started: BusyBox v1.18.4 (2026-11-17 08:09:33 KST) starting pid 19, tty '/dev/ttyJ0': '/sbin/getty -L ttyJ0 115200 vt100' DE0-Nano Nios II uClinux - local development console de0-nano login: root Jan 1 00:00:08 login[19]: root login on 'ttyJ0' BusyBox v1.18.4 (2026-11-17 08:09:33 KST) hush - the humble shell Enter 'help' for a list of built-in commands. /root # dmesg <5>[ 0.000000] Linux version 3.5.0-rc4 (root@DESKTOP- 0000000) (gcc version 4.1.2) #23 Wed Nov 18 21:01:11 KST 2026 <6>[ 0.000000] bootconsole [early0] enabled <6>[ 0.000000] early_console initialized at 0x80010000 <7>[ 0.000000] On node 0 totalpages: 8192 <7>[ 0.000000] free_area_init_node: node 0, pgdat 02288f14, node_mem_map 022977e0 <7>[ 0.000000] DMA zone: 64 pages used for memmap <7>[ 0.000000] DMA zone: 0 pages reserved <7>[ 0.000000] DMA zone: 8128 pages, LIFO batch:0 <7>[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 <7>[ 0.000000] pcpu-alloc: [0] 0 <4>[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128 <5>[ 0.000000] Kernel command line: console=ttyJ0,115200 loglevel=8 rdinit=/init <6>[ 0.000000] PID hash table entries: 128 (order: -3, 512 bytes) <6>[ 0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes) <6>[ 0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes) <6>[ 0.000000] Memory available: 29796k/2644k RAM (1658k kernel code, 986k data) <6>[ 0.000000] NR_IRQS:64 <6>[ 0.100000] Calibrating delay loop... 48.94 BogoMIPS (lpj=244736) <6>[ 0.100000] pid_max: default: 32768 minimum: 301 <6>[ 0.100000] Mount-cache hash table entries: 512 <6>[ 0.130000] devtmpfs: initialized <6>[ 0.140000] NET: Registered protocol family 16 <6>[ 0.180000] bio: create slab <bio-0> at 0 <6>[ 0.190000] Switching to clocksource timer <6>[ 0.210000] NET: Registered protocol family 2 <6>[ 0.220000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes) <6>[ 0.220000] TCP established hash table entries: 1024 (order: 1, 8192 bytes) <6>[ 0.230000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) <6>[ 0.230000] TCP: Hash tables configured (established 1024 bind 1024) <6>[ 0.230000] TCP: reno registered <6>[ 0.230000] UDP hash table entries: 256 (order: 0, 4096 bytes) <6>[ 0.230000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) <6>[ 0.230000] NET: Registered protocol family 1 <6>[ 0.880000] msgmni has been set to 58 <6>[ 0.890000] io scheduler noop registered (default) <6>[ 0.890000] ttyAL0 at MMIO 0x10040 (irq = 3) is a Altera UART <6>[ 0.900000] ttyJ0 at MMIO 0x10000 (irq = 0) is a Altera JTAG UART <6>[ 0.900000] console [ttyJ0] enabled, bootconsole disabled <6>[ 0.910000] PPP generic driver version 2.4.2 <6>[ 0.910000] SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256). <6>[ 0.920000] TCP: cubic registered <6>[ 0.920000] NET: Registered protocol family 17 <5>[ 0.940000] Freeing unused kernel memory: 624k freed (0x219f000 - 0x223b000) /root # |
+
수치만 보면 어마어마한데, 체감은 여전히 느리다.
| /root # cat /proc/cpuinfo CPU: Nios II/f MMU: none FPU: none Clocking: 130.00 MHz BogoMips: 63.89 Calibration: 31948800 loops HW: MUL: yes MULX: no DIV: no Icache: 4kB, line length: 32 Dcache: 2kB, line length: 32 /root # dmesg <5>[ 0.000000] Linux version 3.5.0-rc4 (root@DESKTOP-0000000) (gcc version 4.1.2) #24 Wed Nov 18 22:10:48 KST 2026 <6>[ 0.000000] bootconsole [early0] enabled <6>[ 0.000000] early_console initialized at 0x80010000 <7>[ 0.000000] On node 0 totalpages: 8192 <7>[ 0.000000] free_area_init_node: node 0, pgdat 02288f14, node_mem_map 022977e0 <7>[ 0.000000] DMA zone: 64 pages used for memmap <7>[ 0.000000] DMA zone: 0 pages reserved <7>[ 0.000000] DMA zone: 8128 pages, LIFO batch:0 <7>[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 <7>[ 0.000000] pcpu-alloc: [0] 0 <4>[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128 <5>[ 0.000000] Kernel command line: console=ttyJ0,115200 loglevel=8 rdinit=/init <6>[ 0.000000] PID hash table entries: 128 (order: -3, 512 bytes) <6>[ 0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes) <6>[ 0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes) <6>[ 0.000000] Memory available: 29796k/2644k RAM (1658k kernel code, 986k data) <6>[ 0.000000] NR_IRQS:64 <6>[ 0.090000] Calibrating delay loop... 63.89 BogoMIPS (lpj=319488) <6>[ 0.090000] pid_max: default: 32768 minimum: 301 <6>[ 0.090000] Mount-cache hash table entries: 512 <6>[ 0.110000] devtmpfs: initialized <6>[ 0.130000] NET: Registered protocol family 16 <6>[ 0.150000] bio: create slab <bio-0> at 0 <6>[ 0.160000] Switching to clocksource timer <6>[ 0.180000] NET: Registered protocol family 2 <6>[ 0.190000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes) <6>[ 0.190000] TCP established hash table entries: 1024 (order: 1, 8192 bytes) <6>[ 0.190000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) <6>[ 0.190000] TCP: Hash tables configured (established 1024 bind 1024) <6>[ 0.190000] TCP: reno registered <6>[ 0.190000] UDP hash table entries: 256 (order: 0, 4096 bytes) <6>[ 0.190000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) <6>[ 0.200000] NET: Registered protocol family 1 <6>[ 0.720000] msgmni has been set to 58 <6>[ 0.740000] io scheduler noop registered (default) <6>[ 0.740000] ttyAL0 at MMIO 0x10040 (irq = 3) is a Altera UART <6>[ 0.740000] ttyJ0 at MMIO 0x10000 (irq = 0) is a Altera JTAG UART <6>[ 0.740000] console [ttyJ0] enabled, bootconsole disabled <6>[ 0.750000] PPP generic driver version 2.4.2 <6>[ 0.760000] SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256). <6>[ 0.760000] TCP: cubic registered <6>[ 0.760000] NET: Registered protocol family 17 <5>[ 0.770000] Freeing unused kernel memory: 624k freed (0x219f000 - 0x223b000) |
platform designer에서 확인한 cpu
nios ii/f 가 활성화 가능! 이것이 라이센스의 위력!(무료, 무기한 ㅋㅋㅋ)

D-cache / I-cache 활성화 되었다. 이 설정의 위력인가?

산술 연산자 - nios ii/e 에서는 활성화 불가능했는데 이제 선택이 가능해진다

Divide hardware는 none / SRT Radix-2 라고 하는데 먼진 찾아봐야겠네.
그 와중에 35 사이클.. 어우.. 어셈을 봐서는 그냥 singed div 와 unsigned div 인듯?

MMU도 활성화 가능하다.
오.. 이정도면 uclinux가 아니라 linux가 올라갈수 있겠는데?

'embeded > FPGA - ALTERA' 카테고리의 다른 글
| altera self service license center (sslc) (0) | 2026.11.18 |
|---|---|
| rv32 on de0-nano (0) | 2026.11.18 |
| 합성 회로의 최대 클럭 확인하기(altera time quest) (0) | 2026.11.17 |
| nios ii/e uclinux boot on epcs (0) | 2026.11.17 |
| uclinux on nios ii/e with codex, DE0-NANO (0) | 2026.11.17 |
