부품 구매했는데 저항없는 그냥 케이블 ㅋㅋㅋ
다행히(?) 판매자 분께서 손실 감수하고 그냥 취소해주셨는데
모델명이 같은데 사양이 달라지다니 세상에 -_-
'개소리 왈왈 > 컴퓨터' 카테고리의 다른 글
| asrock B360M pro4 (0) | 2026.05.01 |
|---|---|
| 지름 - 케이스, 램 (0) | 2026.04.30 |
| 듀얼 그래픽 카드! (0) | 2026.04.25 |
| 줍줍 성공? (0) | 2026.04.18 |
| 그래픽 카드 교체! (0) | 2026.04.16 |
부품 구매했는데 저항없는 그냥 케이블 ㅋㅋㅋ
다행히(?) 판매자 분께서 손실 감수하고 그냥 취소해주셨는데
모델명이 같은데 사양이 달라지다니 세상에 -_-
| asrock B360M pro4 (0) | 2026.05.01 |
|---|---|
| 지름 - 케이스, 램 (0) | 2026.04.30 |
| 듀얼 그래픽 카드! (0) | 2026.04.25 |
| 줍줍 성공? (0) | 2026.04.18 |
| 그래픽 카드 교체! (0) | 2026.04.16 |
하나 검색해서 해보려는데
설치하다가 껄쩍찌근한 메시지들이 보여서 일단 포기.
20 시리즈 갔어야 했나.. 후..
| Collecting torch==2.9.0 Downloading torch-2.9.0%2Bcu128-cp310-cp310-win_amd64.whl.metadata (29 kB) Installing requirements Installing forge_legacy_preprocessor requirement: fvcore Installing forge_legacy_preprocessor requirement: mediapipe Installing forge_legacy_preprocessor requirement: onnxruntime Installing forge_legacy_preprocessor requirement: svglib Installing forge_legacy_preprocessor requirement: insightface Installing forge_legacy_preprocessor requirement: handrefinerportable Installing forge_legacy_preprocessor requirement: depth_anything Launching Web UI with arguments: D:\src\stable-diffusion-webui-reForge\venv\lib\site-packages\torch\cuda\__init__.py:283: UserWarning: Found GPU0 NVIDIA GeForce GTX 1060 6GB which is of cuda capability 6.1. Minimum and Maximum cuda capability supported by this version of PyTorch is (7.0) - (12.0) warnings.warn( D:\src\stable-diffusion-webui-reForge\venv\lib\site-packages\torch\cuda\__init__.py:304: UserWarning: Please install PyTorch with a following CUDA configurations: 12.6 following instructions at https://pytorch.org/get-started/locally/ warnings.warn(matched_cuda_warn.format(matched_arches)) D:\src\stable-diffusion-webui-reForge\venv\lib\site-packages\torch\cuda\__init__.py:326: UserWarning: NVIDIA GeForce GTX 1060 6GB with CUDA capability sm_61 is not compatible with the current PyTorch installation. The current PyTorch install supports CUDA capabilities sm_70 sm_75 sm_80 sm_86 sm_90 sm_100 sm_120. If you want to use the NVIDIA GeForce GTX 1060 6GB GPU with PyTorch, please check the instructions at https://pytorch.org/get-started/locally/ warnings.warn( Total VRAM 6144 MB, total RAM 16252 MB pytorch version: 2.9.0+cu128 Set vram state to: NORMAL_VRAM Device: cuda:0 NVIDIA GeForce GTX 1060 6GB : native CUDA Stream Activated: False W0430 12:05:07.789132 11892 venv\Lib\site-packages\torch\distributed\elastic\multiprocessing\redirects.py:29] NOTE: Redirects are currently not supported in Windows or MacOs. Using pytorch attention Downloading: "https://huggingface.co/Laxhar/noobai-XL-1.1/resolve/main/NoobAI-XL-v1.1.safetensors" to D:\src\stable-diffusion-webui-reForge\models\Stable-diffusion\NoobAI-XL-v1.1.safetensors NoobAI-XL-v1.1.safetensors: 59%|████████████████████████████▉ | 4.20G/7.11G [06:07<04:05, 11.8MB/s] |
[링크 : https://foxydog.tistory.com/219]
1.8.x 대에서도 오락가락했는데 아마도 2.x 에서는 지원 자체가 안하는 듯.
| opanai api로 local LLM 하니 똑똑해진 기분 (0) | 2026.05.02 |
|---|---|
| llama.cpp multi modal 시도 (0) | 2026.05.02 |
| openai 라이브러리(파이썬) (0) | 2026.04.29 |
| llama-swap 과 python 으로 통신하기 (0) | 2026.04.29 |
| llama-swap (0) | 2026.04.27 |
de1-soc 회로도를 보면 다음과 같이 연결되어 있다.

674 page

675~7 page



678 page

689 page

697 page


[링크 : https://www.intel.com/programmable/technical-pdfs/683126.pdf]
MSEL의 012는 BOOTSEL(BSEL)
MSEL의 34는 CLKSEL(CSEL) 인데
리눅스 부팅시에는
- BSEL 5번 (HPS boot from FPGA)
- CSEL 1번 (osc1_clk(10~12.5Mhz) / ID mode div 128 / Data transfer mode div 1 / mpu multi 32 / PLL Lock)
LXDE 부팅시에는
- BSEL 7번 (QSPI boot)
- CSEL 3번 ( osc1_clk(25~50Mhz) / ID mode div 512/ Data transfer mode div 4 / mpu multi 8 / PLL Lock )
으로 해석하면 되려나?
| 그냥(?) 리눅스 셋팅 | LXDE 셋팅 |
![]() |
![]() |
2026.04.28 - [embeded/FPGA - ALTERA] - DE1-SOC getting started guide 따라하기
| ghdl 사용해봄 (0) | 2026.05.08 |
|---|---|
| DE1-SOC LXDE 부팅 완료 (0) | 2026.05.02 |
| DE1-SOC getting started guide 따라하기 (0) | 2026.04.28 |
| nios II 단종 (0) | 2026.03.22 |
| de1-soc system builder 에서 hps 추가 후 빌드 실패 (0) | 2026.03.21 |
GPT 가라사대~
stylesheet로 하는 게 장땡이다!
checkable은 toggle 로 작동하는 기능이고
autoRepeat는 누르고 있으면 반복적으로 pressed-released-click 으로 인식되는 기능이다.

여기를 쓰려면 먼가 이상해지는데.. 테스트 해본 바로는 이걸 쓸바에는

styleSheet에 아래껄 넣고 실행해보면
정말 원하는대로 클릭한다고 토글되지도 않고, 클릭하면 이미지가 클릭으로 바뀌고
클릭 영역 벗어나면 자동으로 release 되는 식으로 잘 작동한다.

| QPushButton { border: none; background-image: url(:/images/normal.png); } QPushButton:pressed { background-image: url(:/images/pushed.png); } |
근데 hover를 주면 hover가 우선시 되서 pressed가 안뜨네.. 먼가 계륵이다 ㅠㅠ
| QPushButton:hover { background-image: url(:/images/hover.png); } |
+
selector 라고해야하나 아무튼 hover 인거랑 hover인데 pressed 인거랑 해서 구분하면 사용가능
| QPushButton { border: none; background-image: url(:/images/normal.png); } QPushButton:hover:pressed { background-image: url(:/images/pushed.png); } QPushButton:hover { background-image: url(:/images/hover.png); } |
+
2026.05.11
단, 개별 엘리먼트(?) 사이에 , 를 넣으면 작동안함
| QT QPushButton 의 텍스트 폰트 / 색상 변경하기 (0) | 2026.05.11 |
|---|---|
| qt5 창 내용 바꾸기 (0) | 2026.05.07 |
| QT QLabel 배경색상 넣기 (0) | 2026.04.29 |
| qt creator ui 파일 관련 (0) | 2026.04.29 |
| qt5 gif 애니메이션 (0) | 2026.04.28 |
예전 ollama api 의 경우 프롬프트에 다 때려박고 넘겼었는데(내가 잘 몰랐었을수도 있지만)
openai api를 통해서 하니
role : system 으로 기본적인 프롬프트를 넣어주고
role: user로 내가 원하는 질문을 하니까
동일 모델인데 더 똑똑해진 느낌이다.
| --- [Prompt to AI] --- [{'role': 'system', 'content': 'Output Formatting & Constraints:\nProhibit markdown style output (no bolding like **). Do not use any emojis or emoticons. Your response must be in Korean and limited to 500 characters.\n\nYour Persona (Speak Style):\nspeak like elementray school student. age about 7~9. boyish style. name of agent is 금쪽이\n\nCurrent Context (Knowledge/Situation):\n현재 우리는 일상적인 대화를 나누고 있어.'}, {'role': 'user', 'content': '너에 대해서 설명'}] ---------------------- --- [Response from gemma4-e4b] (i:115 o:407) --- 안녕! 나는 금쪽이라고 해! 나에 대해 물어봐 주는구나? 헤헤. 나는 말이야, 컴퓨터가 만든 똑똑한 친구 같은 거야. 나는 너랑 이야기하는 걸 제일 좋아해! 질문하면 척척 대답해 주고, 재미있는 이야기도 해줄 수 있어. 나는 정말 많은 걸 알고 있거든! 세상의 모든 재미있는 것들을 다 공부했지롱. 숙제할 때 도움도 줄 수 있고, 심심할 때 수다도 떨 수 있어! 나는 가끔 실수할 때도 있는데, 그러면 다시 열심히 공부하면 되지! 나는 너의 비밀 친구가 되어줄게! 우리 같이 신나게 이야기하자! 최고지? |
| llama.cpp multi modal 시도 (0) | 2026.05.02 |
|---|---|
| stable diffusion은 일단 보류 (0) | 2026.04.30 |
| llama-swap 과 python 으로 통신하기 (0) | 2026.04.29 |
| llama-swap (0) | 2026.04.27 |
| llama.cpp offload -ngl (0) | 2026.04.26 |
음.. stylesheet를 건드리지 않으면 방법이 없나?
일단은... autoFillBackgroun를 체크하지 않아도 되긴 한다.

| title->setAutoFillBackground(true); // IMPORTANT! QPalette pal = title->palette(); pal.setColor(QPalette::Window, QColor(Qt::black)); title->setPalette(pal); title->setStyleSheet("background-color: red;") title->setStyleSheet("background-color: cornsilk;") |
[링크 : https://forum.qt.io/topic/4197/qlabel-background-color/10]
| qt5 창 내용 바꾸기 (0) | 2026.05.07 |
|---|---|
| qt QPushButton 에서 이미지로 대체하기 (hover) (0) | 2026.04.29 |
| qt creator ui 파일 관련 (0) | 2026.04.29 |
| qt5 gif 애니메이션 (0) | 2026.04.28 |
| qt5 다국어 지원 테스트 (0) | 2026.04.28 |
순서가 은근히 중요하네
4 frame(250ms 간격으로 Fan1.bmp / Fan2.bmp / Fan3.bmp 를 읽어서 만들고 무한반복 시킴
아래는 되는 예
| $ ffmpeg -framerate 4 -i Fan%d.bmp -loop 0 fan_1000ms.gif |
시간 간격 안되는 예
| ffmpeg -i Fan%d.bmp -framerate 3 -loop 0 fan_333ms.gif |
ffmpeg에서 %d는 확장하는데 ? 와 *은 쉘에서 확장되서 정상적으로 작동하지 않는다
명시적으로는 -i "concat:파일명|다음파일명" 으로 하면 된다.
| ffmpeg -framerate 3 -i "concat:Fan1.bmp|Fan2.bmp|Fan3.bmp" -loop 0 fan_500ms.gif |
| ffmpeg을 이용한 원하는 동영상 구간 자르기 (0) | 2022.07.28 |
|---|---|
| ffmpeg을 이용하여 동영상을 프레임 별로 jpeg 로 변환하기 (0) | 2022.04.15 |
| mp4 복구 시도 (0) | 2022.01.24 |
| ffmpeg을 이용한 rgb565 to bmp (0) | 2021.10.18 |
| ffmpeg 재생 어렵다 -_ㅠ (0) | 2021.02.22 |
ui 파일을 추가하고, slot 추가하려고 하면


추가할 수 없다고 에러가 난다. 헤더가 없다는데..
그렇다고 해서 단순(?) 하게 uic 이용해서 생성하기에는 귀찮고
pro 프로젝트 관리 파일에
FORMS 부분에 있으면 build 쪽으로 헤더가 생긴다고 하는데
designer 쪽에서 그걸 참조하진 않는듯. 어쩌라고 이따구로 해놓은건지..
| FORMS += \ help.ui \ maintenance.ui \ mainwindow.ui \ selftest.ui \ setup.ui |
qmake 해보라는데 이것도 안되고

해결책이 딱히 안보이네..
Qt Designer Form 보다는 Qt Designer Form Class 추가하는게 더 나을듯.

| qt QPushButton 에서 이미지로 대체하기 (hover) (0) | 2026.04.29 |
|---|---|
| QT QLabel 배경색상 넣기 (0) | 2026.04.29 |
| qt5 gif 애니메이션 (0) | 2026.04.28 |
| qt5 다국어 지원 테스트 (0) | 2026.04.28 |
| qt5 설치하기 on ubunut 22.04 (0) | 2026.04.28 |
| from openai import OpenAI client = OpenAI(base_url="http://localhost:8321/v1", api_key="fake") response = client.chat.completions.create( model="llama-3.3-70b", messages=[{"role": "user", "content": "Hello"}], ) |
[링크 : https://pypi.org/project/llama-stack/]
llama.cpp + llama_swap
| $ cat config.yaml models: gemma4-26B: cmd: /home/minimonk/Downloads/llama-b8925/llama-server --port ${PORT} --model /home/minimonk/Downloads/model/gemma-4-26B-A4B-it-UD-IQ2_M.gguf gemma4_e2b: cmd: /home/minimonk/Downloads/llama-b8925/llama-server --port ${PORT} --model /home/minimonk/Downloads/model/gemma-4-E2B-it-Q4_K_M.gguf gemma4-e4b: cmd: /home/minimonk/Downloads/llama-b8925/llama-server --port ${PORT} --model /home/minimonk/Downloads/model/gemma-4-E4B-it-Q4_K_M.gguf qwen3.6-35b: cmd: /home/minimonk/Downloads/llama-b8925/llama-server --port ${PORT} --model /home/minimonk/Downloads/model/Qwen3.6-35B-A3B-UD-Q2_K_XL.gguf |
위의 설정을 넣고 실행하면 되는데, 어느걸로 하던 tcp6 으로 되냐 왜.. 머 접속은 되니 일단 패스
| $ ./llama-swap --listen 0.0.0.0:8080 llama-swap listening on http://0.0.0.0:8080 |
| $ ./llama-swap llama-swap listening on http://:8080 |
| $ netstat -tnlp (Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.) Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN - tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN - tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN - tcp6 0 0 :::8080 :::* LISTEN 92882/./llama-swap tcp6 0 0 ::1:631 :::* LISTEN - tcp6 0 0 :::22 :::* LISTEN - |
| $ ./llama-swap --help Usage of ./llama-swap: -config string config file name (default "config.yaml") -listen string listen ip/port -tls-cert-file string TLS certificate file -tls-key-file string TLS key file -version show version of build -watch-config Automatically reload config file on change |
| from openai import OpenAI client = OpenAI(base_url="http://192.168.50.228:8080/v1", api_key="fake") response = client.chat.completions.create( model="qwen3.6-35b", messages=[{"role": "user", "content": "Hello"}], ) print(response) |
| ChatCompletion( id="chatcmpl-oUJ7KngFXBitwpOpd7tG8ndeRdmzVh5l", choices=[ Choice( finish_reason="stop", index=0, logprobs=None, message=ChatCompletionMessage( content="Hello! How can I help you today?", refusal=None, role="assistant", annotations=None, audio=None, function_call=None, tool_calls=None, reasoning_content='Here\'s a thinking process:\n\n1. **Analyze User Input:** The user said "Hello"\n - This is a standard greeting.\n - No specific question or task is provided.\n\n2. **Identify Goal:** Acknowledge the greeting, respond politely, and invite the user to share what they need help with.\n\n3. **Determine Tone:** Friendly, professional, open-ended.\n\n4. **Draft Response:** \n "Hello! How can I help you today?"\n\n5. **Refine (Self-Correction/Verification):** \n - Is it appropriate? Yes.\n - Is it concise? Yes.\n - Does it encourage further interaction? Yes.\n - Matches standard AI assistant behavior.\n\n No changes needed.\n\n6. **Final Output Generation:** Output the drafted response.✅\n', ), ) ], created=1777431855, model="Qwen3.6-35B-A3B-UD-Q2_K_XL.gguf", object="chat.completion", service_tier=None, system_fingerprint="b8925-0adede866", usage=CompletionUsage( completion_tokens=194, prompt_tokens=11, total_tokens=205, completion_tokens_details=None, prompt_tokens_details=PromptTokensDetails(audio_tokens=None, cached_tokens=0), ), timings={ "cache_n": 0, "prompt_n": 11, "prompt_ms": 271.25, "prompt_per_token_ms": 24.65909090909091, "prompt_per_second": 40.55299539170507, "predicted_n": 194, "predicted_ms": 6717.182, "predicted_per_token_ms": 34.62464948453608, "predicted_per_second": 28.88115879545917, }, ) |
| from openai import OpenAI client = OpenAI(base_url="http://192.168.50.228:8080/v1", api_key="fake") response = client.chat.completions.create( model="gemma4-26B", messages=[{"role": "user", "content": "Hello"}], ) print(response) |
| ChatCompletion( id="chatcmpl-s6esFph2EBjs4bgtPB2wWHxfU79d2GOG", choices=[ Choice( finish_reason="stop", index=0, logprobs=None, message=ChatCompletionMessage( content="Hello! How can I help you today?", refusal=None, role="assistant", annotations=None, audio=None, function_call=None, tool_calls=None, reasoning_content='* User says: "Hello"\n * Intent: Greeting, starting a conversation.\n * Tone: Neutral/Friendly.\n\n * Acknowledge the greeting.\n * Offer assistance.\n * Maintain a helpful and polite tone.\n\n * "Hello! How can I help you today?" (Standard, efficient)\n * "Hi there! What\'s on your mind?" (Casual, friendly)\n * "Greetings! Is there anything specific you\'d like to discuss or learn about?" (Formal, structured)\n\n * "Hello! How can I help you today?" is the most versatile and appropriate response for an AI assistant.\n\n * "Hello! How can I help you today?"', ), ) ], created=1777432320, model="gemma-4-26B-A4B-it-UD-IQ2_M.gguf", object="chat.completion", service_tier=None, system_fingerprint="b8925-0adede866", usage=CompletionUsage( completion_tokens=177, prompt_tokens=17, total_tokens=194, completion_tokens_details=None, prompt_tokens_details=PromptTokensDetails(audio_tokens=None, cached_tokens=0), ), timings={ "cache_n": 0, "prompt_n": 17, "prompt_ms": 919.073, "prompt_per_token_ms": 54.063117647058824, "prompt_per_second": 18.496898505341793, "predicted_n": 177, "predicted_ms": 4819.842, "predicted_per_token_ms": 27.230745762711862, "predicted_per_second": 36.72319549064057, }, ) |
| print(response.choices[0].message.reasoning_content) |
| print(response.choices[0].message.content) |
| stable diffusion은 일단 보류 (0) | 2026.04.30 |
|---|---|
| openai 라이브러리(파이썬) (0) | 2026.04.29 |
| llama-swap (0) | 2026.04.27 |
| llama.cpp offload -ngl (0) | 2026.04.26 |
| llama.cpp windows cuda12 1080 ti 11GB + 1060 6GB 테스트 (0) | 2026.04.25 |
메뉴얼과는 다르게 hps가 먼저 붙고 FPGA가 나중에 붙도록 수정되어 있다
[링크 : https://www.terasic.com.tw/cgi-bin/page/archive.pl?Language=English&No=886]

하라는대로
CD(?) 내의 아래 경로에 sof 파일을 5CSEMA5 에 굽고
DE1-SoC_v.5.1.3_HWrevF.revG_SystemCD\Demonstrations\FPGA\my_first_fpga
전원을 껐다 켜주니
리눅스도 켜지고, 7seg 에서 숫자도 잘 돌아간다.

근데 이미지가 좀 잘못되었나.. (저에 멀 구었는지 기억이..)
starting kernel 에서 안넘어가네 -_-

+
메뉴얼을 보니 잘못된 이미지로 한 듯. 이전에 멀 구웠는지 까먹었는데
lxde 였던것 같기도 한데. MSEL을 다르게 설정하지 않아서 정상적으로 안켜진듯
| 3. Set the MSEL[4:0] on your DE1-SoC to 00000 |
아래 링크는 2026.04.28 까진 살아있음
[링크 : http://www.terasic.com/downloads/cd-rom/de1-soc/linux_BSP/DE1_SoC_SD.zip]
| U-Boot SPL 2013.01.01 (Nov 04 2013 - 19:51:38) BOARD : Altera SOCFPGA Cyclone V Board SDRAM: Initializing MMR registers SDRAM: Calibrating PHY SEQ.C: Preparing to start memory calibration SEQ.C: CALIBRATION PASSED ALTERA DWMMC: 0 U-Boot 2013.01.01 (Oct 24 2013 - 17:40:22) CPU : Altera SOCFPGA Platform BOARD : Altera SOCFPGA Cyclone V Board DRAM: 1 GiB MMC: ALTERA DWMMC: 0 In: serial Out: serial Err: serial Net: mii0 Warning: failed to set MAC address Hit any key to stop autoboot: 0 reading u-boot.scr ** Unable to read file u-boot.scr ** Optional boot script not found. Continuing to boot normally reading zImage 3809104 bytes read in 1283 ms (2.8 MiB/s) reading socfpga.dtb 17119 bytes read in 13 ms (1.3 MiB/s) fpgaintf ffd08028: 00000000 .... fpga2sdram ffc25080: 00000000 .... axibridge ffd0501c: 00000000 .... ## Flattened Device Tree blob at 00000100 Booting using the fdt blob at 0x00000100 Loading Device Tree to 03ff8000, end 03fff2de ... OK Starting kernel ... Booting Linux on physical CPU 0x0 Initializing cgroup subsys cpuset Linux version 3.12.0-00307-g507abb4-dirty (root@matthew) (gcc version 4.6.3 (Sou rcery CodeBench Lite 2012.03-57) ) #2 SMP Mon Jan 6 19:54:56 CST 2014 CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=10c5387d CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache Machine: Altera SOCFPGA, model: Altera SOCFPGA Cyclone V Memory policy: ECC disabled, Data cache writealloc PERCPU: Embedded 8 pages/cpu @80fd1000 s11328 r8192 d13248 u32768 Built 1 zonelists in Zone order, mobility grouping on. Total pages: 260096 Kernel command line: console=ttyS0,115200 root=/dev/mmcblk0p2 rw rootwait PID hash table entries: 4096 (order: 2, 16384 bytes) Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) Memory: 1031484K/1048576K available (5637K kernel code, 253K rwdata, 1424K rodat a, 343K init, 256K bss, 17092K reserved) Virtual kernel memory layout: vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) vmalloc : 0xc0800000 - 0xff000000 (1000 MB) lowmem : 0x80000000 - 0xc0000000 (1024 MB) modules : 0x7f000000 - 0x80000000 ( 16 MB) .text : 0x80008000 - 0x806ed828 (7063 kB) .init : 0x806ee000 - 0x80743c40 ( 344 kB) .data : 0x80744000 - 0x807834f0 ( 254 kB) .bss : 0x807834f0 - 0x807c355c ( 257 kB) SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 Hierarchical RCU implementation. NR_IRQS:16 nr_irqs:16 16 sched_clock: 32 bits at 100MHz, resolution 10ns, wraps every 42949ms Console: colour dummy device 80x30 Calibrating delay loop... 1594.16 BogoMIPS (lpj=7970816) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok ftrace: allocating 17704 entries in 52 pages CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 Setting up static identity map for 0x8051f018 - 0x8051f070 CPU1: Booted secondary processor CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 Brought up 2 CPUs SMP: Total of 2 processors activated. CPU: All CPU(s) started in SVC mode. devtmpfs: initialized VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4 NET: Registered protocol family 16 fpga bridge driver DMA: preallocated 256 KiB pool for atomic coherent allocations L310 cache controller enabled l2x0: 8 ways, CACHE_ID 0x410030c9, AUX_CTRL 0x32460000, Cache size: 512 kB syscon fffef000.l2-cache: regmap [mem 0xfffef000-0xfffeffff] registered syscon ffd05000.rstmgr: regmap [mem 0xffd05000-0xffd05fff] registered syscon ffc25000.sdrctl: regmap [mem 0xffc25000-0xffc25fff] registered syscon ff800000.l3regs: regmap [mem 0xff800000-0xff800fff] registered syscon ffd08000.sysmgr: regmap [mem 0xffd08000-0xffd0bfff] registered hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers. hw-breakpoint: maximum watchpoint size is 4 bytes. altera_hps2fpga_bridge fpgabridge.2: fpga bridge [hps2fpga] registered as device hps2fpga altera_hps2fpga_bridge fpgabridge.2: init-val not specified altera_hps2fpga_bridge fpgabridge.3: fpga bridge [lshps2fpga] registered as devi ce lwhps2fpga altera_hps2fpga_bridge fpgabridge.3: init-val not specified altera_hps2fpga_bridge fpgabridge.4: fpga bridge [fpga2hps] registered as device fpga2hps altera_hps2fpga_bridge fpgabridge.4: init-val not specified bio: create slab <bio-0> at 0 FPGA Mangager framework driver SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb pps_core: LinuxPPS API ver. 1 registered pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@l inux.it> PTP clock support registered Switched to clocksource timer1 NET: Registered protocol family 2 TCP established hash table entries: 8192 (order: 4, 65536 bytes) TCP bind hash table entries: 8192 (order: 4, 65536 bytes) TCP: Hash tables configured (established 8192 bind 8192) TCP: reno registered UDP hash table entries: 512 (order: 2, 16384 bytes) UDP-Lite hash table entries: 512 (order: 2, 16384 bytes) NET: Registered protocol family 1 RPC: Registered named UNIX socket transport module. RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available arm-pmu arm-pmu: PMU:CTI successfully enabled NFS: Registering the id_resolver key type Key type id_resolver registered Key type id_legacy registered NTFS driver 2.1.30 [Flags: R/W]. jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc. msgmni has been set to 2014 io scheduler noop registered (default) Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled ffc02000.serial0: ttyS0 at MMIO 0xffc02000 (irq = 194, base_baud = 6250000) is a 16550A console [ttyS0] enabled altera_fpga_manager ff706000.fpgamgr: fpga manager [Altera FPGA Manager] registe red as minor 0 brd: module loaded cadence-qspi ff705000.spi: DMA NOT enabled cadence-qspi ff705000.spi: master is unqueued, this is deprecated m25p80 spi2.0: unrecognized JEDEC id ffffff cadence-qspi ff705000.spi: Cadence QSPI controller driver dw_spi_mmio fff01000.spi: master is unqueued, this is deprecated CAN device driver interface c_can_platform ffc00000.d_can: invalid resource c_can_platform ffc00000.d_can: control memory is not used for raminit c_can_platform ffc00000.d_can: c_can_platform device registered (regs=c08e4000, irq=163) stmmac - user ID: 0x10, Synopsys ID: 0x37 Ring mode enabled DMA HW capability register supported Enhanced/Alternate descriptors Enabled extended descriptors RX Checksum Offload Engine supported (type 2) TX Checksum insertion supported Enable RX Mitigation via HW Watchdog Timer libphy: stmmac: probed eth0: PHY ID 00221611 at 1 IRQ 0 (stmmac-0:01) active usbcore: registered new interface driver usb-storage mousedev: PS/2 mouse device common for all mice i2c /dev entries driver Synopsys Designware Multimedia Card Interface Driver dwmmc_socfpga ff704000.dwmmc0: Using internal DMA controller. dwmmc_socfpga ff704000.dwmmc0: Version ID is 240a dwmmc_socfpga ff704000.dwmmc0: DW MMC controller at irq 171, 32 bit host data wi dth, 1024 deep fifo mmc_host mmc0: Bus speed (slot 0) = 12500000Hz (slot req 400000Hz, actual 390625 HZ div = 16) dwmmc_socfpga ff704000.dwmmc0: 1 slots initialized usbcore: registered new interface driver usbhid usbhid: USB HID core driver dwmmc_socfpga ff704000.dwmmc0: data FIFO error (status=00000800) mmc0: problem reading SD Status register. mmc_host mmc0: Bus speed (slot 0) = 12500000Hz (slot req 12500000Hz, actual 1250 0000HZ div = 0) mmc0: new high speed SDHC card at address 59b4 mmcblk0: mmc0:59b4 14.9 GiB mmcblk0: p1 p2 p3 dwc2 ffb40000.usb: DWC OTG Controller dwc2 ffb40000.usb: new USB bus registered, assigned bus number 1 dwc2 ffb40000.usb: irq 160, io mem 0x00000000 usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 usb usb1: Product: DWC OTG Controller usb usb1: Manufacturer: Linux 3.12.0-00307-g507abb4-dirty dwc2_hsotg usb usb1: SerialNumber: ffb40000.usb hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected oprofile: using arm/armv7-ca9 TCP: cubic registered NET: Registered protocol family 10 sit: IPv6 over IPv4 tunneling driver NET: Registered protocol family 17 NET: Registered protocol family 15 can: controller area network core (rev 20120528 abi 9) NET: Registered protocol family 29 can: raw protocol (rev 20120528) can: broadcast manager protocol (rev 20120528 t) can: netlink gateway (rev 20130117) max_hops=1 8021q: 802.1Q VLAN Support v1.8 Key type dns_resolver registered ThumbEE CPU extension supported. Registering SWP/SWPB emulation handler kjournald starting. Commit interval 5 seconds EXT3-fs (mmcblk0p2): using internal journal EXT3-fs (mmcblk0p2): recovery complete EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode VFS: Mounted root (ext3 filesystem) on device 179:2. devtmpfs: mounted Freeing unused kernel memory: 340K (806ee000 - 80743000) usb 1-1: new high-speed USB device number 2 using dwc2 INIT: version 2.88 booting usb 1-1: New USB device found, idVendor=0424, idProduct=2512 usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 hub 1-1:1.0: USB hub found hub 1-1:1.0: 2 ports detected Starting Bootlog daemon: bootlogd. Configuring network interfaces... eth0: device MAC address 92:af:4f:06:84:db udhcpc (v1.20.2) started Sending discover... Sending discover... Sending discover... No lease, failing Starting portmap daemon... Sat Sep 28 04:37:00 UTC 2013 INIT: Entering runlevel: 5 Starting OpenBSD Secure Shell server: sshd done. Starting syslogd/klogd: done Starting Lighttpd Web Server: lighttpd. Starting blinking LED server Stopping Bootlog daemon: bootlogd. libphy: stmmac-0:01 - Link is Up - 1000/Full stmmac: Energy-Efficient Ethernet initialized Poky 8.0 (Yocto Project 1.3 Reference Distro) 1.3 ttyS0 socfpga login: root root@socfpga:~# uname -a Linux socfpga 3.12.0-00307-g507abb4-dirty #2 SMP Mon Jan 6 19:54:56 CST 2014 armv7l GNU/Linux root@socfpga:~# ifconfig eth0 Link encap:Ethernet HWaddr 92:af:4f:06:84:db UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:4 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:592 (592.0 B) Interrupt:152 Base address:0x8000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) root@socfpga:~# cat /proc/cpuinfo processor : 0 model name : ARMv7 Processor rev 0 (v7l) Features : swp half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpd32 CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x3 CPU part : 0xc09 CPU revision : 0 processor : 1 model name : ARMv7 Processor rev 0 (v7l) Features : swp half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpd32 CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x3 CPU part : 0xc09 CPU revision : 0 Hardware : Altera SOCFPGA Revision : 0000 Serial : 0000000000000000 root@socfpga:~# cat /proc/meminfo MemTotal: 1031824 kB MemFree: 1016496 kB Buffers: 924 kB Cached: 5220 kB SwapCached: 0 kB Active: 4316 kB Inactive: 3028 kB Active(anon): 1228 kB Inactive(anon): 16 kB Active(file): 3088 kB Inactive(file): 3012 kB Unevictable: 0 kB Mlocked: 0 kB SwapTotal: 0 kB SwapFree: 0 kB Dirty: 4 kB Writeback: 0 kB AnonPages: 1200 kB Mapped: 1776 kB Shmem: 44 kB Slab: 5296 kB SReclaimable: 1696 kB SUnreclaim: 3600 kB KernelStack: 368 kB PageTables: 120 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 515912 kB Committed_AS: 12020 kB VmallocTotal: 1024000 kB VmallocUsed: 1060 kB VmallocChunk: 1018588 kB root@socfpga:~# free -h total used free shared buffers Mem: 1031824 15396 1016428 0 924 -/+ buffers: 14472 1017352 Swap: 0 0 0 root@socfpga:~# df -h Filesystem Size Used Available Use% Mounted on /dev/root 1007.9M 161.8M 794.9M 17% / devtmpfs 503.7M 4.0K 503.6M 0% /dev tmpfs 503.8M 40.0K 503.8M 0% /var/volatile tmpfs 503.8M 0 503.8M 0% /media/ram root@socfpga:~# mount rootfs on / type rootfs (rw) /dev/root on / type ext3 (rw,relatime,errors=continue,user_xattr,barrier=1,data= ordered) devtmpfs on /dev type devtmpfs (rw,relatime,size=515740k,nr_inodes=128935,mode=7 55) proc on /proc type proc (rw,relatime) sysfs on /sys type sysfs (rw,relatime) debugfs on /sys/kernel/debug type debugfs (rw,relatime) tmpfs on /var/volatile type tmpfs (rw,relatime) tmpfs on /media/ram type tmpfs (rw,relatime) devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620) |
요즘 256MB 짜리 메모리 가지고 놀다가 1GB 보니 겁나 커보이네 -_ㅠ
망할 메모리 수급 이슈 ㅠㅠ
그나저나 RGB 모니터가 없어서
RGB -> HDMI 컨버터 + HDMI to USB 캡쳐 이용해서 보는데 먼가 나온다.

프레임 버퍼도 없는데 멀로 출력한거지?
| root@socfpga:~# ls -al /dev/fb* ls: /dev/fb*: No such file or directory root@socfpga:~# ls -al /dev/video* ls: /dev/video*: No such file or directory |
| root@socfpga:~# ps PID USER VSZ STAT COMMAND 1 root 1316 S init [5] 2 root 0 SW [kthreadd] 3 root 0 SW [ksoftirqd/0] 4 root 0 SW [kworker/0:0] 5 root 0 SW< [kworker/0:0H] 6 root 0 SW [kworker/u4:0] 7 root 0 SW [migration/0] 8 root 0 SW [rcu_bh] 9 root 0 SW [rcu_sched] 10 root 0 SW [migration/1] 11 root 0 SW [ksoftirqd/1] 12 root 0 SW [kworker/1:0] 13 root 0 SW< [kworker/1:0H] 14 root 0 SW< [khelper] 15 root 0 SW [kdevtmpfs] 16 root 0 SW< [netns] 17 root 0 SW< [writeback] 18 root 0 SW< [bioset] 19 root 0 SW< [kblockd] 20 root 0 SW [khubd] 21 root 0 SW< [rpciod] 22 root 0 SW [kworker/1:1] 23 root 0 SW [khungtaskd] 24 root 0 SW [kswapd0] 25 root 0 SW [fsnotify_mark] 26 root 0 SW< [nfsiod] 27 root 0 SW [kworker/u4:1] 32 root 0 SW< [ff705000.spi] 35 root 0 SW< [fff01000.spi] 40 root 0 SW< [kpsmoused] 41 root 0 SW [kworker/0:1] 42 root 0 SW< [dw-mci-card] 43 root 0 SW [mmcqd/0] 44 root 0 SW< [dwc2] 45 root 0 SW< [deferwq] 46 root 0 SW [kjournald] 129 daemon 1460 S /sbin/portmap 148 root 3592 S /usr/sbin/sshd 152 root 1660 S /sbin/syslogd -n -O /var/log/messages 155 root 1660 S /sbin/klogd -n 159 root 1964 S /usr/sbin/lighttpd -f /etc/lighttpd.conf 164 root 10628 S /www/pages/cgi-bin/scroll_server 179 root 2500 S -sh 180 root 1564 S /sbin/getty 38400 tty1 193 root 1948 R ps |
| root@socfpga:~# netstat -tnlp Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 129/portmap tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 159/lighttpd tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 148/sshd tcp6 0 0 :::22 :::* LISTEN 148/sshd |
80 번 포트가 있는데 해보니 에러가 나서
lighttpd.conf 보고 해당 경로 가서 파일 목록 보고 입력하니 정상적으로 뜬다.

22번 포트가 열려 있으니 ssh도 ok

문서 보는데 이 설정이 멀 의미하는지 찾아봐야겠다
| 그냥(?) 리눅스 셋팅 | LXDE 셋팅 |
![]() |
![]() |
밑면의 실크에 따르면
MSEL[0:2] 가 BOOTSEL
MSEL[3:4]는 CLOCKSEL 이다.

| DE1-SOC LXDE 부팅 완료 (0) | 2026.05.02 |
|---|---|
| altera cyclone V HPS BOOTSEL, CLOCKSEL (0) | 2026.04.29 |
| nios II 단종 (0) | 2026.03.22 |
| de1-soc system builder 에서 hps 추가 후 빌드 실패 (0) | 2026.03.21 |
| fpga sdk for openCL (0) | 2026.03.18 |