'embeded/risc-v'에 해당되는 글 9건

  1. 2023.11.18 risc-v sv39
  2. 2023.11.18 milk-v duo(risc-v)
  3. 2023.11.02 부품 도착! + 주문 취소!
  4. 2023.11.01 오늘의 지름
  5. 2023.11.01 risc-v 저가보드 / sipeed maix amigo
  6. 2023.10.27 risc-v linux without mmu, uclinux
  7. 2023.10.27 kendryte k210, fft 가속?
  8. 2023.10.19 risc-v 저가 evk
  9. 2021.09.09 cuda on riscv
embeded/risc-v2023. 11. 18. 07:49

milk-v 에서 리눅스 된다고 해서

uclinux인가 했는데 그건 또 아닌것 같은 느낌이라 찾아보는데

 

devicetree에 아래와 같은게 있어서 찾아보는 중

isa는 RV64IMAFDC 인데 MMU type에 sv39 라는게 추가된다.

                        mmu-type = "riscv,sv39";
                        next-level-cache = <&L15 &L0>;
                        reg = <1>;
                        riscv,isa = "rv64imafdc";

 

[링크 : https://github.com/riscv-non-isa/riscv-device-tree-doc/blob/master/bindings/riscv/cpus.txt]

 

isa에 H/S가 없어도 MMU 자체는 그냥 지원이 가능하다는 말 같기도 한데,

SV32/48/57이 어떤 칩에 들어있느지 확인할 방법은 아직 못 찾음

The core has a memory management unit which includes separate instruction and data TLBs (Translation Look-aside Buffers). The TLBs and the Page Table Walk (PTW) modules support sv32, sv39, sv48 and sv57 virtualization scheme of RISC-V Instruction Set Manual, Volume II: Privileged Architecture, Version 1.11.

The above algorithm applies to Sv39, Sv48, and Sv57 with the following appropriate changes:

for Sv39 PTESIZE=8 and LEVELS=3
for Sv48 PTESIZE=8 and LEVELS=4
for Sv57 PTESIZE=8 and LEVELS=5

Any level of PTE may be a leaf PTE, so

in addition to 4 KiB pages, Sv32 supports 4 MiB megapages.
in addition to 4 KiB pages, Sv39 supports 2 MiB megapages and 1 GiB gigapages
in addition to 4 KiB pages, Sv48 supports 2 MiB megapages, 1 GiB gigapages, and 512 GiB terapages
in addition to 4 KiB pages, Sv57 supports 2 MiB megapages, 1 GiB gigapages, 512 GiB terapages, and 256 TiB petapages,

[링크 : https://chromite.readthedocs.io/en/latest/mmu.html]

 

 

virtualization 이야기가 나와서 보는데, 이거랑 저거랑은 다른 virtualization인가?

H와 S가

하이퍼바이저 지원(1.0) 

슈퍼바이저 지원(1.12)

Standard Extension for Hypervisor 1.0 Ratified 15
Standard Extension for Supervisor-level Instructions 1.12 Ratified 4

[링크 : https://en.m.wikipedia.org/wiki/RISC-V]

 

RV64IMAFDCH 막 이런식으로 붙게 되나?

근데 이놈의 ISA는 알파벳 순서도 아니고 규칙을 모르겠네 -_-

위키 기준으로는 extension 위에서 아래순서로 붙이는 느낌.

'embeded > risc-v' 카테고리의 다른 글

milk-v duo(risc-v)  (0) 2023.11.18
부품 도착! + 주문 취소!  (0) 2023.11.02
오늘의 지름  (0) 2023.11.01
risc-v 저가보드 / sipeed maix amigo  (0) 2023.11.01
risc-v linux without mmu, uclinux  (0) 2023.10.27
Posted by 구차니
embeded/risc-v2023. 11. 18. 07:37

이전에 봤던 risc-v k210 칩이 400mhz 였는데

이번이 구글 추천글로 보다가 발견한 쓸만할 것같은 녀석

 

9$ 라는데

라즈베리 파이 피코 보다는 좀 비싸지만 성능 측면에서는 메리트가 있어 보이고

내장 메모리도 넉넉한데다 이더넷 까지 옵션으로 할수 있는데다 리눅스도 올라간다니 기대가 되긴 한데

환율을 고려하면 전체 금액이 얼마나 되려나?

그리고 사이트 곳곳에 뭍어나오는 중국의 기운.. 크흡..

risc-v가 중국에서 대대적으로 밀고 있긴 하지만 qq나 위안화 그림이라던가

이런게 보이는데 찜찜해서(?) 어떻게 쓰지 싶다.

 

듀얼이긴 한데 두개의 코어 속도가 다르다. 그렇다고 700이 낮은건 아닌데 미묘하게 아쉽네

Hardware
- CVITEK CV1800B (C906@1Ghz + C906@700MHz)
- Dual RV64 Core up to 1GHz
- 64MB RAM
- Provides 10/100Mbps Ethernet via optional add-on board
- Technology supports running both Linux and RTOS

[링크 : https://milkv.io/duo]

 

리눅스는 buildroot로 구성해서 단일 파일로 나오려나?

[링크 : https://github.com/milkv-duo/duo-buildroot-sdk]

 

+

milk-v duo

[링크 : https://item.gmarket.co.kr/Item?goodsCode=3329506045] 17720원 / 무료배송(해외배송)

 

milk-v 이더넷 확장

[링크 : https://item.gmarket.co.kr/Item?goodscode=3329982517]  19040 / 무료배송(해외배송)

 

라즈베리 스타일의 베이스 보드(이더넷 + 허브) 25540

카메라 21350

[링크 : https://item.gmarket.co.kr/Item?goodsCode=3329507618]

'embeded > risc-v' 카테고리의 다른 글

risc-v sv39  (0) 2023.11.18
부품 도착! + 주문 취소!  (0) 2023.11.02
오늘의 지름  (0) 2023.11.01
risc-v 저가보드 / sipeed maix amigo  (0) 2023.11.01
risc-v linux without mmu, uclinux  (0) 2023.10.27
Posted by 구차니
embeded/risc-v2023. 11. 2. 19:58

1.

이제 귀찮아서(!) 사진도 안 찍는 ㅋㅋ

 

그나저나 서보 테스터는 ic 하나로 만들어진 느낌인데 그런 용도로 만들어진 칩이 있나?

아무튼.. can도 해봐야 하고 할거 많구만..

 

근데 라즈베리는 죄다 회사에 둬서 언제 해보려나 -ㅁ-

 

 

2.

risc-v 보드는 조이스틱 만 그 가격이라 취소

다 해서 10만원이면 좀 부담인데...

'embeded > risc-v' 카테고리의 다른 글

risc-v sv39  (0) 2023.11.18
milk-v duo(risc-v)  (0) 2023.11.18
오늘의 지름  (0) 2023.11.01
risc-v 저가보드 / sipeed maix amigo  (0) 2023.11.01
risc-v linux without mmu, uclinux  (0) 2023.10.27
Posted by 구차니
embeded/risc-v2023. 11. 1. 15:18

maix amigo 보드는 오래걸리더라도 오면 좋겠네

다른 부품은 소소하게 지른줄 알았는데 의외로 갯수로 모이니 비싸짐..

 

maix amigo 보드는 전에 사려고 하던 보드의 완성품 느낌이다.

다만 maix bit은 카메라가 하나고

max amigo는

케이스에 정전식 터치 스크린과 배터리, 카메라 2개, 사운드 카드(i2s), 3축 가속도 센서가 달려있다고 한다.

그런데 왜케 싸지?

 

 

+

[링크 : https://zenn.dev/okuoku/scraps/1dec9c3a40e65e]

'embeded > risc-v' 카테고리의 다른 글

milk-v duo(risc-v)  (0) 2023.11.18
부품 도착! + 주문 취소!  (0) 2023.11.02
risc-v 저가보드 / sipeed maix amigo  (0) 2023.11.01
risc-v linux without mmu, uclinux  (0) 2023.10.27
kendryte k210, fft 가속?  (0) 2023.10.27
Posted by 구차니
embeded/risc-v2023. 11. 1. 00:20

이걸 살까 했는데

Sipeed MAix BiT Kit for RISC-V AI+IoT 110991190

[링크 : https://www.eleparts.co.kr/goods/view?no=11890284]

 

더 싼거 없나 오픈마켓 찾아보니 헉..!?

저런 덜렁 거리는거 살 바에는 이런 좀 완제품 느낌이 나는게 나을 듯?

[링크 : http://itempage3.auction.co.kr/DetailView.aspx?itemno=D668181124] 29700 무배.. 직구

 

원래는 6만원은 족히 나올 녀석인데 믿어도 되나?

Sipeed Maix Amigo - All-in-One AIoT Development Platform Based on RV64GC (RISC-V) SKU 102110463

[링크 : https://www.seeedstudio.com/Sipeed-Maix-Amigo-p-4689.html] 48.80$ 재고 없음

[링크 : https://wiki.sipeed.com/soft/maixpy/en/develop_kit_board/maix_amigo.html]

[링크 : https://dl.sipeed.com/MAIX/MaixPy/ide/_/v0.2.5] maxipy ide

 

 

 

 

 

 

'embeded > risc-v' 카테고리의 다른 글

부품 도착! + 주문 취소!  (0) 2023.11.02
오늘의 지름  (0) 2023.11.01
risc-v linux without mmu, uclinux  (0) 2023.10.27
kendryte k210, fft 가속?  (0) 2023.10.27
risc-v 저가 evk  (0) 2023.10.19
Posted by 구차니
embeded/risc-v2023. 10. 27. 18:07

uclinux 올라간 예제를 찾아보는 중

git clone https://github.com/vowstar/k210-linux-nommu.git
cd k210-linux-nommu
export PROJ_ROOT=$(pwd)
sh ./prepare_buildroot.sh

[링크 : https://www.cnx-software.com/2020/02/17/how-to-build-run-linux-on-kendryte-k210-risc-v-nommu-processor/]

[링크 : https://github.com/vowstar/k210-linux-nommu.git]

 

아키텍쳐를 어떤걸 쓰는지 부터 봐야 하려나?

PREFIX=/opt/riscv-nommu
TARGET=riscv32-unknown-linux-gnu
ARCH=rv32ima
ABI=ilp32

[링크 : https://github.com/chmmn/riscv-uclinux]

 

 

보드에 128Mbit Flash만 달려서 램은 얼마인지 몰랐는데, 온칩 메모리로 SRAM 8MB 라고 한다.

  • SoC – Kendryte K210 dual core 64-bit RISC-V processor @ 400 MHz (overclockable up to 800 MHz) with
    • KPU CNN hardware accelerator
    • APU audio hardware accelerator with support for up to 8 mics, up to 192 KHz sample rate
    • FPIOA (Field Programmable IO Array) mapping 255 functions to all 48 GPIOs on the chip.
    • 8 MB general purpose SRAM including 5.9MB usable as AI SRAM memory
    • AXI ROM to load user program from SPI flash
  • Storage – micro SD card slot, 8MB SPI flash
  • Display I/F – MCU LCD FPC connector for optional 2.4″ display
  • Camera I/F – DVP camera FPC connector
  • USB – 1x USB type-C port for power and programming
  • Expansion – Breadboard friendly headers with UART, IIC, SPI, I2S, PWM, etc…
  • Misc – 2x buttons, RGB LED
  • Power Supply – Via USB type-C port
  • Performance + Power Consumption – 0.25TOPS @ 0.3W ,400MHz. 0.5 TOPS @ 800 MHz
  • Dimensions – 5.08 x 2.54 mm

[링크 : https://www.cnx-software.com/2018/11/15/maix-development-boards-sipeed-m1-risc-v-ai-module/]

 

K210 芯片基本参数

内核 RISC-V Dual Core 64bit, with FPU
主频 400MHz (可超频至600MHz)
SRAM 内置8M Byte

[링크 : https://wiki.sipeed.com/hardware/en/maix/maixpy_develop_kit_board/maix_bit.html]

 

아무튼 MMU가 없더라도 8MB/32MB 에 400MHz 니까, 적절하게 가지고 놀 수 있는 무언가가 가능할지도?

'embeded > risc-v' 카테고리의 다른 글

오늘의 지름  (0) 2023.11.01
risc-v 저가보드 / sipeed maix amigo  (0) 2023.11.01
kendryte k210, fft 가속?  (0) 2023.10.27
risc-v 저가 evk  (0) 2023.10.19
cuda on riscv  (0) 2021.09.09
Posted by 구차니
embeded/risc-v2023. 10. 27. 17:49

Sipeed MAix BiT Kit for RISC-V AI+IoT
라는 제품에 들어있는 risc-v mcu의 성능을 보려는데 벤치마크에 어라..? FFT ?!

The Maix Bit is a low-cost development board from Sipeed, featuring the Kendryte K210 from Canaan.
The Kendryte K210 is an SoC that includes:

  • Dual-core 64-bit RISC-V,
  • KPU (Knowledge Processing Unit),
  • APU (Audio Processing Unit),
  • FFT (Fast Fourier Transform) accelerator,
  • etc.

[링크 : https://www.luffca.com/2021/10/maixpy-fft-maix-bit/]

 

데이터시트나 

NPU, FFT, AES, SHA 가속기능이 있다. 특이하네..

그리고 KPU의 입력소스로서 영상 입력 기능(DVP). DVP가 LCD 출력도 겸하나?

1.1 Overview
Knowledge Processing Unit (KPU, aka Neural network Processing Unit).
KPU is a general-purpose neural network processor that implements convolutional
neural network calculations with low power consumption. It can acquire the size,
coordinates and types of detected objects in real time, and detect and classify
faces or objects. When using kpu, the neural network model must be generated with
the model compiler.
1.2 Features
KPU has the following characteristics:
• Supports the fixed training model that the common training framework trains
according to specific restriction rules
• There is no direct limit on the number of network layers, which supports separate configuration of each layer of convolutional neural network parameters,
including the number of input and output channels, input and output line width
and column height.
• Support for two convolution kernels 1x1 and 3x3
• Support for any form of activation function
• The maximum supported neural network parameter size in real-time work is
5.5MiB to 5.9MiB
• Maximum support network parameter size when working in non-real time is (Flash
capacity) - (software size)

2.1 Overview
Advanced Encryption Standard (AES) acceleration engine. The AES module uses hardware to implement AES operation acceleration.
2.2 Features
K210 have a built-in AES(Advanced Encryption Standard acceleration engine). Compared with software, it can greatly improve the speed of AES operation. The AES
accelerator supports multiple encryption/decryption modes (ECB, CBC, GCM) and multiple length of KEY (128, 192, 256).


7.1 Overview
Digital Video Port (DVP) unit is a camera interface unit that supports forwarding
camera input image data to KPU or memory.
7.2 Features
The DVP unit has the following features:
• Support RGB565, RGB422 and single channel Y gray scale input mode
• Support for setting frame interrupt
• Support setting transfer address
• Supports writing data to two addresses at the same time (output format is
RGB888 and RGB565 respectively)
• Support for discarding frames that do not need to be processed


8.1 Overview
Fast Fourier Transform (FFT) Accelerator.
The FFT accelerator implements the radix-2 decimation-in-time (DIT) Cooley–Tukey
FFT algorithm*
1 acceleration in hardware.
8.2 Features
The FFT accelerator currently supports 64-point, 128-point, 256-point, and 512-
point FFTs and IFFTs. Inside the FFT accelerator, there are two SRAMs with a size
of 512 * 32 bits. After the configuration is completed, the FFT sends a TX request
to the DMA, and the data sent by the DMA is placed in one of the SRAMs until the
data volume satisfies the current FFT operation needs, and the FFT operation begins at this point. The butterfly operation unit reads data from the SRAM which
containing the valid data, and writes the data to another SRAM after the end of the
operation. The next butterfly operation reads the data from the SRAM just written,
when the operation ends write to another SRAM. This process alternates this way
until the entire FFT operation is completed.


9.1 Overview
Secure Hash Algorithm (SHA) accelerator supports hardware acceleration of the
sha256 algorithm.
9.2 Features
• Supports hardware acceleration of the sha256 algorithm

[링크 : https://www.canaan.io/wp-content/uploads/2020/02/kendryte_standalone_programming_guide_20190311144158_en.pdf]

[링크 : https://www.canaan.io/product/kendryteai]

 

 

 

'embeded > risc-v' 카테고리의 다른 글

오늘의 지름  (0) 2023.11.01
risc-v 저가보드 / sipeed maix amigo  (0) 2023.11.01
risc-v linux without mmu, uclinux  (0) 2023.10.27
risc-v 저가 evk  (0) 2023.10.19
cuda on riscv  (0) 2021.09.09
Posted by 구차니
embeded/risc-v2023. 10. 19. 10:21

 

WIO LITE RISC-V (GD32VF103) - WI, - ESP8266, GD32VF103 트랜시버; 802.11b/g/n(Wi-Fi, WiFi, WLAN) 2.4GHz

[링크 : https://www.eleparts.co.kr/goods/view?no=9406488] 12827원

 

108Mhz 최대 주파수, single core ?

[링크 : https://www.gigadevice.com.cn/Public/Uploads/uploadfile/files/20230209/GD32VF103_User_Manual_EN_Rev1.4.pdf]

 

Sipeed MAix BiT Kit for RISC-V AI+IoT

진짜로.. 저 LCD랑 카메라 까지 주려나? 그런 구성이라면 꽤 끌리는데?

[링크 : https://www.eleparts.co.kr/goods/view?no=11890284] 27218 원

 

kendryte K210 RISC-V dual 400MHz with FPU

Tiny yolo v2 로 VGA(640x480) 30fps 처리 , QVGA(320x240) 60fps 처리

[링크 : https://www.canaan.io/product/kendryteai]

'embeded > risc-v' 카테고리의 다른 글

오늘의 지름  (0) 2023.11.01
risc-v 저가보드 / sipeed maix amigo  (0) 2023.11.01
risc-v linux without mmu, uclinux  (0) 2023.10.27
kendryte k210, fft 가속?  (0) 2023.10.27
cuda on riscv  (0) 2021.09.09
Posted by 구차니
embeded/risc-v2021. 9. 9. 19:03

성능이 문제이긴 한데..

cuda 독점이 깨지려나

아니면 범용 언어로 도약할까?

 

[링크 : https://www.notebookcheck.net/Researchers-enable-Nvidia-CUDA-app-support-on-RISC-V-GPGPU.559386.0.html]

'embeded > risc-v' 카테고리의 다른 글

오늘의 지름  (0) 2023.11.01
risc-v 저가보드 / sipeed maix amigo  (0) 2023.11.01
risc-v linux without mmu, uclinux  (0) 2023.10.27
kendryte k210, fft 가속?  (0) 2023.10.27
risc-v 저가 evk  (0) 2023.10.19
Posted by 구차니