눌러보긴 겁난다. 얼마나 토큰 빨아 먹으려나

Posted by 구차니
embeded/FPGA - ALTERA2026. 11. 18. 21:42

최대 클럭은 아니고

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)

 

+

극한으로 낮춰보기 ㅋㅋ

bogommips 는 여전히 높은데 체감은 그리 빠르지 않고

이건 jtag uart 쪽 문제인가..?

/root # cat /proc/cpuinfo
CPU:            Nios II/f
MMU:            none
FPU:            none
Clocking:       50.00 MHz
BogoMips:       24.01
Calibration:    12006400 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:56:40 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... 24.01 BogoMIPS (lpj=120064)
<6>[    0.110000] pid_max: default: 32768 minimum: 301
<6>[    0.120000] Mount-cache hash table entries: 512
<6>[    0.180000] devtmpfs: initialized
<6>[    0.210000] NET: Registered protocol family 16
<6>[    0.280000] bio: create slab <bio-0> at 0
<6>[    0.320000] Switching to clocksource timer
<6>[    0.370000] NET: Registered protocol family 2
<6>[    0.380000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
<6>[    0.400000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
<6>[    0.410000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
<6>[    0.410000] TCP: Hash tables configured (established 1024 bind 1024)
<6>[    0.410000] TCP: reno registered
<6>[    0.410000] UDP hash table entries: 256 (order: 0, 4096 bytes)
<6>[    0.410000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
<6>[    0.420000] NET: Registered protocol family 1
<6>[    1.720000] msgmni has been set to 58
<6>[    1.730000] io scheduler noop registered (default)
<6>[    1.750000] ttyAL0 at MMIO 0x10040 (irq = 3) is a Altera UART
<6>[    1.760000] ttyJ0 at MMIO 0x10000 (irq = 0) is a Altera JTAG UART
<6>[    1.760000] console [ttyJ0] enabled, bootconsole disabled
<6>[    1.790000] PPP generic driver version 2.4.2
<6>[    1.790000] SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256).
<6>[    1.810000] TCP: cubic registered
<6>[    1.810000] NET: Registered protocol family 17
<5>[    1.850000] 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가 올라갈수 있겠는데?

Posted by 구차니
embeded/FPGA - ALTERA2026. 11. 18. 18:04

여기서 무료로 받을수 있다는데

 

register 하고 sign in 으로 가서

[링크 : https://www.altera.com/sslc#actions] 여기서 알게 되었고

 

상단 메뉴 sign up for Evaluation or No-Cost Licenses 를 눌러서 가보면 이것저것 1년짜리 받을수 있다.

nios ii/f 는 3개월 인듯 한데 discontinued인데 가능한가?

[링크 : https://licensing.altera.com/sslc/s/] 로그인은 여기로

 

uniquest 고객센터로 전화해서 라이센스 담당분에게 여쭤보니

개인으로는 처음에 가깝게 문의가 와서 모르겠고 no-cost 니까 1년 지나고 또 신청하면 될거라고 하니

일단 용기를 내서 1년, 혹은 3개월 내에 끝내봐야지 머 ㅋㅋㅋ

 

일단은.. standard/pro 3개월 evaluation은 나중에 openCL 할때 해보고

지금은 Nios V/m V/g V/c 와 Nios ii/f 정도이려나?

 

받고 이걸 상업적으로 쓸수 있는진 altera 영문 고객센터로 문의해봐야겠다.

 

+

create computer가 좀 귀찮았는데

컴퓨터 mac 은 - 없이 넣어야 한다.

 

아무튼 nios ii/f 와 nios v에 대해서 신청했고 아래와 같이 메일이 바로온다.

일단은 non-commercial IP 였네. 어쩔수 없지 쓰읍 

 

quartus - tools - license setup

license file 옆에 ... 눌러서 선택하면

 

이렇게 똭! 오호

 

 

25.1 도 켜보니 18.1과 같이 설정이 되서 불려온다.

그런데 아마도(?) nios v/? 들은 왜 저렇게 만 나오지?

그와중에 nios ii/f 쪽은 expiration이 사라지고 permanent다?!

Posted by 구차니

비율 조정이 잇었나 먼가 좀.. 달라진 느낌이다

5시간 83% = 주간 13%~14% 라고 하면

대충 7번 정도 리셋이 가능하다는것 같은데

기분인진 모르겠지만 5시간 세션이 생각보다 빠르게 줄어서

5시간 한도가 줄고 주간 사용한도는 유지되고 있는게 아닌가 의심되는 중.

 

 

+

16% = 6.25회 * 5시간 단위

 

계산해보니 차이는 없는 듯.

 

+

한번 더 냠냠 31%

15.5% = 6.451612903 회 * 5시간 단위

'모종의 음모 > ai 프로그램' 카테고리의 다른 글

openAI GPT-6.2 Astra 출시  (0) 2026.11.18
k-exaone 2.5 멀티모달 미지원  (0) 2026.11.17
k-exaone 2.5 api key 발급  (0) 2026.11.17
VLM - Vision Language Model  (0) 2026.11.13
chatGPT 구독 취소  (0) 2026.11.10
Posted by 구차니
embeded/FPGA - ALTERA2026. 11. 18. 07:45

50Mhz 인데 nios ii/e 의 50Mhz 보단 좀 나은 느낌? 일단 클럭을 올려보자

root@buildroot:~# cat /proc/cpuinfo
processor       : 0
bogomips        : 100.00
hart            : 0
isa             : rv32ima_zicsr_zifencei
mmu             : sv32
mvendorid       : 0x0
marchid         : 0x0
mimpid          : 0x0
hart isa        : rv32ima_zicsr_zifencei

processor       : 1
bogomips        : 100.00
hart            : 1
isa             : rv32ima_zicsr_zifencei
mmu             : sv32
mvendorid       : 0x0
marchid         : 0x0
mimpid          : 0x0
hart isa        : rv32ima_zicsr_zifencei

root@buildroot:~# free
              total        used        free      shared  buff/cache   available
Mem:          23224        3456        7768          20       12000        7176
Swap:             0           0           0

 

+

원격으로 시키니 듀얼 코어로 100Mhz까진 달성 그 이상은 sdram clock phase로 온몸비틀기 해도 안되고

crc가 계속 안 맞다고 한다.

 

싱글 코어로 얼마까지 올라가나는 테스트 중

 

+

자세한건 좀 더 정리해서 달라고 해야겠지만, 아래의 MIT 라이센스 의 risc-v ip를 사용한 듯

근데 scala면 chisel 아니었나? spinalHDL은 멀까..?

This repository hosts a RISC-V implementation written in SpinalHDL. Here are some specs :

RV32I[M][A][F[D]][C] instruction set

[링크 : https://github.com/spinalhdl/vexriscv]

 

+

2026.11.19

싱글코어 120Mhz

root@buildroot:~# cat /proc/cpuinfo
processor       : 0
bogomips        : 240.00
hart            : 0
isa             : rv32ima_zicsr_zifencei
mmu             : sv32
mvendorid       : 0x0
marchid         : 0x0
mimpid          : 0x0
hart isa        : rv32ima_zicsr_zifencei
Posted by 구차니
embeded/FPGA - ALTERA2026. 11. 17. 23:09

processing - start compilation 이후

tools - timing analyzer

 

왼쪽 중앙의 Tasks에서

Reports - Datasheets - Report Fmax Summary

딱 봐도 최고 주파수네

altera_reserved_tck 는 jtag 클럭이라고 하고

pll|auto_generated|pll1|clk[0] 요게 생성된 회로의 최대 클럭인 듯.

'embeded > FPGA - ALTERA' 카테고리의 다른 글

altera self service license center (sslc)  (0) 2026.11.18
rv32 on de0-nano  (0) 2026.11.18
nios ii/e uclinux boot on epcs  (0) 2026.11.17
uclinux on nios ii/e with codex, DE0-NANO  (0) 2026.11.17
de0-nano 와 codex로 flash 통합하기  (0) 2026.11.16
Posted by 구차니
embeded/FPGA - ALTERA2026. 11. 17. 21:07

nios ii 정의 파일은 뭔가 많다.

AS 라고 하던게 이 ASDO 인가?

module nios_ii_uclinux(
 input wire CLOCK_50, input wire [1:0] KEY,
 input wire EPCS_DATA0, output wire EPCS_DCLK,EPCS_NCSO,EPCS_ASDO,
 output wire [12:0] DRAM_ADDR, output wire [1:0] DRAM_BA,DRAM_DQM,
 output wire DRAM_CAS_N,DRAM_CKE,DRAM_CLK,DRAM_CS_N,DRAM_RAS_N,DRAM_WE_N,
 inout wire [15:0] DRAM_DQ,
 input wire UART_RX, output wire UART_TX, output wire [7:0] DEBUG
);
 wire [4:0] pll_clk;
 wire pll_locked;
 wire [2:0] debug_control;
 wire reset_n=KEY[0] & pll_locked;
 assign DRAM_CLK=pll_clk[1];
 altpll pll(.inclk({1'b0,CLOCK_50}),.areset(~KEY[0]),.clk(pll_clk),.locked(pll_locked));
 defparam pll.intended_device_family="Cyclone IV E",
   pll.inclk0_input_frequency=20000, pll.operation_mode="NORMAL",
   pll.compensate_clock="CLK0", pll.width_clock=5,
   pll.clk0_multiply_by=1, pll.clk0_divide_by=1,
   pll.clk1_multiply_by=1, pll.clk1_divide_by=1, pll.clk1_phase_shift="-3000";
 linux_system u0(.clk_clk(pll_clk[0]),.reset_reset_n(reset_n),
   .epcs_external_data0(EPCS_DATA0),.epcs_external_dclk(EPCS_DCLK),
   .epcs_external_sce(EPCS_NCSO),.epcs_external_sdo(EPCS_ASDO),
   .sdram_wire_addr(DRAM_ADDR),.sdram_wire_ba(DRAM_BA),.sdram_wire_cas_n(DRAM_CAS_N),
   .sdram_wire_cke(DRAM_CKE),.sdram_wire_cs_n(DRAM_CS_N),.sdram_wire_dq(DRAM_DQ),
   .sdram_wire_dqm(DRAM_DQM),.sdram_wire_ras_n(DRAM_RAS_N),.sdram_wire_we_n(DRAM_WE_N),
   .serial_rxd(UART_RX),.serial_txd(UART_TX),.debug_pio_export(debug_control));
 assign DEBUG={debug_control[2:1],debug_control[0],reset_n,EPCS_DATA0,EPCS_ASDO,EPCS_NCSO,EPCS_DCLK};
endmodule

 

주소맵을 보면 먼가 정의 되어있긴한데.. 먼 소리인지 ㅋㅋㅋ

data_master만 있고 instruction_master가 없는건 또 멀까

 

cpu의 리셋벡터가 epcs로 되어있다.

그래야지 epcs 로 접근하게 되는건가?

다시보니 reset vector / reset vector offset 인데

그럼 reset vector + offset 으로 합해서 점프하나?

 

epcs 쪽은 크게 설정된게 없어 보이긴 한데..

Posted by 구차니

공식적으로는 text modalities를 지원하는 750B-A31B 모델인데

[링크 : https://docs.exaone.ai/ko/docs/models]

 

codex로 테스트 해보니 일단 에러가 열심히 난다.

telegram으로 구현한게 되서 좋아라 했는데 알고보니 local LLM 돌렸는데 시간차이로 인해서

gpu 사용율을 못 봐서 그랬던 것..

 

아래는 codex 통해서 테스트해본 결과

텍스트 정상 응답
base64 이미지 HTTP 400
영상 프레임 이미지 HTTP 400
영상 원본 HTTP 400
base64 WAV 음성 HTTP 400
음성 인식·합성 API HTTP 404

400 응답은 모두 invalid request to model이며 약 0.1초 만에 반환됐습니다. 시간·토큰 제한 문제가 아니라, 현재 엔드포인트와 모델이 해당 입력 요청을 거절합니다.

'모종의 음모 > ai 프로그램' 카테고리의 다른 글

openAI GPT-6.2 Astra 출시  (0) 2026.11.18
codex 5시간 한도의 양이 줄었나? 그대로인가?  (0) 2026.11.18
k-exaone 2.5 api key 발급  (0) 2026.11.17
VLM - Vision Language Model  (0) 2026.11.13
chatGPT 구독 취소  (0) 2026.11.10
Posted by 구차니

26년 11월 9일 부터 k-exaone 2.5 api 발급

[링크 : https://www.lg.co.kr/media/release/30760]

 

회원가입 하면 회사 이메일 계정을 입력하라는데

lg 그룹사 직원은 그렇게 해도 일반인은 개인 메일 써도 되는 듯.

 

국가는 아래처럼 지정이 가능하다. 일본도 없네? ㅋㅋㅋ

[링크 : https://docs.exaone.ai/ko/docs/overview]

 

귀찮으니 ai에게 링크 주고 해줘 시전 ㅋ

[링크 : https://docs.exaone.ai/ko/docs/k-exaone-2.5]

 

이거 먼가.. 왈도체..???

Posted by 구차니
embeded/FPGA - ALTERA2026. 11. 17. 08:46

50Mhz 로 밖에 합성이 안되다니.. 클럭을 올릴방법이 없나? ㅠㅠ

bogomips는 그래도 1Mhz 당 1 정도 나오는것 같던데 고작 1.67 이라니.. 너무 하네

ii/f 하면 좀 나으려나?

/root # cat /proc/cpuinfo
free -h
CPU:            Nios II/e
MMU:            none
FPU:            none
Clocking:       50.00 MHz
BogoMips:       1.67
Calibration:    838400 loops
HW:
 MUL:           no
 MULX:          no
 DIV:           no
Icache:         0kB, line length: 4
Dcache:         0kB, line length: 4
/root # free -h
/root # uname -a
uClinux de0-nano 3.5.0-rc4 #20 Tue Nov 17 08:09:52 KST 2026 nios2 GNU/Linux
/root # mount
rootfs on / type rootfs (rw)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
tmpfs on /tmp type tmpfs (rw,relatime)

 

16초에 있던 저게 먼진 모르겠는데 왜이렇게 오래 멈춰있다가 진행할까

램은 32MB 플래시 8M 였던것 같은데

[    0.000000] Linux version 3.5.0-rc4 (root@DESKTOP-0000000) (gc[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line: console=ttyJ0,115200 loglevel=8 rdinit=/init
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Memory available: 29796k/2644k RAM (1658k kernel code, 986k data)
[    0.000000] NR_IRQS:64
[    0.170000] Calibrating delay loop... 1.67 BogoMIPS (lpj=8384)
[    0.180000] pid_max: default: 32768 minimum: 301
[    0.260000] Mount-cache hash table entries: 512
[    0.670000] devtmpfs: initialized
[    0.850000] NET: Registered protocol family 16
[    1.290000] bio: create slab <bio-0> at 0
[    1.500000] Switching to clocksource timer
[    1.740000] NET: Registered protocol family 2
[    1.800000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    1.900000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    1.920000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    1.940000] TCP: Hash tables configured (established 1024 bind 1024)
[    1.950000] TCP: reno registered
[    1.950000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    1.960000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    2.000000] NET: Registered protocol family 1
[   16.200000] msgmni has been set to 58
[   16.240000] io scheduler noop registered (default)
[   16.290000] ttyAL0 at MMIO 0x10040 (irq = 3) is a Altera UART
[   16.330000] ttyJ0 at MMIO 0x10000 (irq = 0) is a Altera JTAG UART
[   16.340000] console [ttyJ0] enabled, bootconsole disabled
[   16.340000] console [ttyJ0] enabled, bootconsole disabled
[   16.540000] PPP generic driver version 2.4.2
[   16.580000] SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256).
[   16.650000] TCP: cubic registered
[   16.650000] NET: Registered protocol family 17
[   16.950000] 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:

 

요건 테스트로 led 깜박이는 예제 올린거

fx2lp 와 아두이노용 spi 이더넷을 연결하면 ifconfig 와 ssh 정도 가능하려나?

 

+

2026.11.17

50Mhz 에서 75Mhz로 올리니 1.6에서 2.6으로 상승!

그래봤자 응답이 엄청  느리다 ㅜㅠ

root # cat /proc/cpuinfo
CPU:            Nios II/e
MMU:            none
FPU:            none
Clocking:       75.00 MHz
BogoMips:       2.63
Calibration:    1318400 loops
HW:
 MUL:           no
 MULX:          no
 DIV:           no
Icache:         0kB, line length: 4
Dcache:         0kB, line length: 4

 

top 했다고 cpu 98% 찍는 위엄 ㅋㅋ

Mem: 3468K used, 26952K free, 0K shrd, 0K buff, 1028K cached
CPU:  17% usr  82% sys   0% nic   0% idle   0% io   0% irq   0% sirq
Load average: 0.32 0.21 0.14 1/17 48
  PID  PPID USER     STAT   VSZ %MEM %CPU COMMAND
   48    19 root     R      580   2%  98% top
   15     2 root     SW       0   0%   2% [kworker/0:1]
   19     1 root     S      596   2%   0% -sh
    1     0 root     S      592   2%   0% init
    8     2 root     SW       0   0%   0% [sync_supers]
    7     2 root     SW       0   0%   0% [kdevtmpfs]
    5     2 root     SW       0   0%   0% [kworker/u:0]
    2     0 root     SW       0   0%   0% [kthreadd]
    3     2 root     SW       0   0%   0% [ksoftirqd/0]
    9     2 root     SW       0   0%   0% [bdi-default]
   14     2 root     SW       0   0%   0% [kworker/u:1]
    4     2 root     SW       0   0%   0% [kworker/0:0]
    6     2 root     SW<      0   0%   0% [khelper]
   10     2 root     SW<      0   0%   0% [kblockd]
   11     2 root     SW       0   0%   0% [kswapd0]
   12     2 root     SW       0   0%   0% [fsnotify_mark]
   13     2 root     SW<      0   0%   0% [deferwq]

 

100Mhz 시도 성공 1.6 -> 3.55 딱 두배 오르긴 했는데 여전히 느리네

# cat /proc/cpuinfo
CPU:            Nios II/e
MMU:            none
FPU:            none
Clocking:       100.00 MHz
BogoMips:       3.55
Calibration:    1779200 loops
HW:
 MUL:           no
 MULX:          no
 DIV:           no
Icache:         0kB, line length: 4
Dcache:         0kB, line length: 4

 

+

2026.11.18

150Mhz 까지 성공. 이정도는 되어야 좀 쓸만하다고 느껴진다.

# cat /proc/cpuinfo
CPU:            Nios II/e
MMU:            none
FPU:            none
Clocking:       150.00 MHz
BogoMips:       5.50
Calibration:    2752000 loops
HW:
 MUL:           no
 MULX:          no
 DIV:           no
Icache:         0kB, line length: 4
Dcache:         0kB, line length: 4

'embeded > FPGA - ALTERA' 카테고리의 다른 글

합성 회로의 최대 클럭 확인하기(altera time quest)  (0) 2026.11.17
nios ii/e uclinux boot on epcs  (0) 2026.11.17
de0-nano 와 codex로 flash 통합하기  (0) 2026.11.16
epcs controller / as?  (0) 2026.11.16
quartus_sh  (0) 2026.10.31
Posted by 구차니