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' 카테고리의 다른 글

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
mips riscv  (0) 2021.03.09
Posted by 구차니
embeded/odroid2021. 9. 5. 21:48

라즈베리의 config.txt는 uboot 와는 독립된 문법의 느낌이라면

odroid c2의 boot.ini 는 uboot의 환경설정 문법을 그대로 따라가는 느낌

 

그나저나 발열 문제 때문인가 클럭을 낮게 잡아놨네?

ODROIDC2-UBOOT-CONFIG

########################################################################
# Changes made to this are overwritten every time there's a new upgrade
# To make your changes permanent change it on 
# boot.ini.default
# After changing it on boot.ini.default run the bootini command to
# rewrite this file with your personal permanent settings.
# Documentation: http://odroid.com/dokuwiki/doku.php?id=en:c2_persistent_bootini
########################################################################

# Possible screen resolutions
# Uncomment only a single Line! The line with setenv written.
# At least one mode must be selected.

# Custom modeline!
# To use custom modeline you need to disable all the below resolutions
# and setup your own! 
# For more information check our wiki: 
# http://odroid.com/dokuwiki/doku.php?id=en:c2_hdmi_autosetting
# Example below:
# setenv m "custombuilt" 
# setenv modeline "1920,1200,154000,74040,60,1920,1968,2000,2080,1200,1202,1208,1235,1,0,1"

# Auto Detection of Monitor settings based on your Screen information
# See: http://odroid.com/dokuwiki/doku.php?id=en:c2_auto_detect_display
setenv display_autodetect "true"

# 480 Lines (720x480)
# setenv m "480i60hz" # Interlaced 60Hz
# setenv m "480i_rpt" # Interlaced for Rear Projection Televisions 60Hz
# setenv m "480p60hz" # 480 Progressive 60Hz
# setenv m "480p_rpt" # 480 Progressive for Rear Projection Televisions 60Hz

# 576 Lines (720x576)
# setenv m "576i50hz" # Interlaced 50Hz
# setenv m "576i_rpt" # Interlaced for Rear Projection Televisions 50Hz
# setenv m "576p50hz" # Progressive 50Hz
# setenv m "576p_rpt" # Progressive for Rear Projection Televisions 50Hz

# 720 Lines (1280x720)
# setenv m "720p50hz" # 50Hz
# setenv m "720p60hz" # 60Hz

# 1080 Lines (1920x1080)
# setenv m "1080i60hz" # Interlaced 60Hz
setenv m "1080p60hz" # Progressive 60Hz
# setenv m "1080i50hz" # Interlaced 50Hz
# setenv m "1080p50hz" # Progressive 50Hz
# setenv m "1080p24hz" # Progressive 24Hz

# 4K (3840x2160)
# setenv m "2160p30hz"    # Progressive 30Hz
# setenv m "2160p25hz"    # Progressive 25Hz
# setenv m "2160p24hz"    # Progressive 24Hz
# setenv m "smpte24hz"    # Progressive 24Hz SMPTE
# setenv m "2160p50hz"    # Progressive 50Hz
# setenv m "2160p60hz"    # Progressive 60Hz
# setenv m "2160p50hz420" # Progressive 50Hz with YCbCr 4:2:0 (Requires TV/Monitor that supports it)
# setenv m "2160p60hz420" # Progressive 60Hz with YCbCr 4:2:0 (Requires TV/Monitor that supports it)

### VESA modes ###
# setenv m "640x480p60hz"
# setenv m "800x480p60hz"
# setenv m "480x272p60hz"
# setenv m "480x320p60hz"
# setenv m "480x800p60hz"
# setenv m "800x600p60hz"
# setenv m "1024x600p60hz"
# setenv m "1024x768p60hz"  
# setenv m "1280x800p60hz"
# setenv m "1280x1024p60hz"
# setenv m "1360x768p60hz"
# setenv m "1440x900p60hz"
# setenv m "1600x900p60hz"
# setenv m "1680x1050p60hz"
# setenv m "1600x1200p60hz"
# setenv m "1920x1200p60hz"
# setenv m "2560x1080p60hz"
# setenv m "2560x1440p60hz"
# setenv m "2560x1600p60hz"
# setenv m "3440x1440p60hz"

# HDMI BPP Mode
setenv m_bpp "32"
# setenv m_bpp "24"
# setenv m_bpp "16"

# HDMI DVI/VGA modes
# By default its set to HDMI, if needed change below.
# Uncomment only a single Line.
# setenv vout "dvi"
# setenv vout "vga"

# HDMI HotPlug Detection control
# Allows you to force HDMI thinking that the cable is connected.
# true = HDMI will believe that cable is always connected
# false = will let board/monitor negotiate the connection status
setenv hpd "true"
# setenv hpd "false"

# Monitor output
# Controls if HDMI PHY should output anything to the monitor
setenv monitor_onoff "false" # true or false

# Server Mode (aka. No Graphics)
# Setting nographics to 1 will disable all video subsystem
# This mode is ideal of server type usage. (Saves ~300Mb of RAM)
setenv nographics "0"

# Meson Timer
# 1 - Meson Timer
# 0 - Arch Timer 
# Using meson_timer improves the video playback however it breaks KVM (virtualization).
# Using arch timer allows KVM/Virtualization to work however you'll experience poor video
setenv mesontimer "1"

# UHS (Ultra High Speed) MicroSD mode enable/disable
setenv disableuhs "false"

# MicroSD Card Detection enable/disable
# Force the MMC controlled to believe that a card is connected.
setenv mmc_removable "true"

# USB Multi WebCam tweak
# Only enable this if you use it.
setenv usbmulticam "false"

# Disable/Enable ODROID-VU7 Touchscreen
setenv disable_vu7 "false"

# Default Console Device Setting
setenv condev "console=ttyS0,115200n8 console=tty0"   # on both

# CPU Frequency / Cores control
###########################################
### WARNING!!! WARNING!!! WARNING!!!
# Before changing anything here please read the wiki entry: 
# http://odroid.com/dokuwiki/doku.php?id=en:c2_set_cpu_freq
#
# MAX CPU's
# setenv maxcpus "1"
# setenv maxcpus "2"
# setenv maxcpus "3"
setenv maxcpus "4"

# MAX Frequency
# setenv max_freq "2016"  # 2.016GHz
# setenv max_freq "1944"  # 1.944GHz
# setenv max_freq "1944"  # 1.944GHz
# setenv max_freq "1920"  # 1.920GHz
# setenv max_freq "1896"  # 1.896GHz
# setenv max_freq "1752"  # 1.752GHz
# setenv max_freq "1680"  # 1.680GHz
# setenv max_freq "1656"  # 1.656GHz
setenv max_freq "1536"  # 1.536GHz



###########################################

# Boot Arguments
if test "${display_autodetect}" = "true"; then usb pwren; hdmitx edid; fi
if test "${m}" = "custombuilt"; then setenv cmode "modeline=${modeline}"; fi
if test "${disable_vu7}" = "false"; then setenv hid_quirks "usbhid.quirks=0x0eef:0x0005:0x0004"; fi

setenv bootargs "root=/dev/mmcblk0p2 rootwait rw ${condev} no_console_suspend hdmimode=${m} ${cmode} m_bpp=${m_bpp} vout=${vout} fsck.repair=yes net.ifnames=0 elevator=noop disablehpd=${hpd} max_freq=${max_freq} maxcpus=${maxcpus} monitor_onoff=${monitor_onoff} disableuhs=${disableuhs} mmc_removable=${mmc_removable} usbmulticam=${usbmulticam} ${hid_quirks}"

# Booting

setenv loadaddr "0x11000000"
setenv dtb_loadaddr "0x1000000"
setenv initrd_loadaddr "0x13000000"

fatload mmc 0:1 ${initrd_loadaddr} uInitrd
fatload mmc 0:1 ${loadaddr} Image
fatload mmc 0:1 ${dtb_loadaddr} meson64_odroidc2.dtb
fdt addr ${dtb_loadaddr}

if test "${mesontimer}" = "0"; then fdt rm /meson_timer; fdt rm /cpus/cpu@0/timer; fdt rm /cpus/cpu@1/timer; fdt rm /cpus/cpu@2/timer; fdt rm /cpus/cpu@3/timer; fi
if test "${mesontimer}" = "1"; then fdt rm /timer; fi

if test "${nographics}" = "1"; then fdt rm /reserved-memory; fdt rm /aocec; fi
if test "${nographics}" = "1"; then fdt rm /meson-fb; fdt rm /amhdmitx; fdt rm /picdec; fdt rm /ppmgr; fi
if test "${nographics}" = "1"; then fdt rm /meson-vout; fdt rm /mesonstream; fdt rm /meson-fb; fi
if test "${nographics}" = "1"; then fdt rm /deinterlace; fdt rm /codec_mm; fi

booti ${loadaddr} ${initrd_loadaddr} ${dtb_loadaddr}

'embeded > odroid' 카테고리의 다른 글

odroid c2 gpio wiringpi  (0) 2021.09.09
odroid c2 계륵이 되었네 (opencl 미지원)  (0) 2021.09.09
odroid xu4 opencl  (0) 2021.08.27
odroid c2 ubuntu 20.04 64bit  (0) 2021.08.23
odroid c2  (0) 2021.08.22
Posted by 구차니
embeded/odroid2021. 8. 27. 19:10

odroid c2에도 적용되려나?

패키지는 있겠지?

 

일단은 mali쓰니 기대를..

[링크 : https://magazine.odroid.com/article/getting-started-with-opencl-using-the-odroid-xu4/]

'embeded > odroid' 카테고리의 다른 글

odroid c2 계륵이 되었네 (opencl 미지원)  (0) 2021.09.09
odroid c2 boot.ini  (0) 2021.09.05
odroid c2 ubuntu 20.04 64bit  (0) 2021.08.23
odroid c2  (0) 2021.08.22
모니터 소비전력과 오드로이드 XU4  (0) 2020.06.02
Posted by 구차니
embeded/raspberry pi2021. 8. 27. 12:24

4k 60p는 바라지 않았지만.. 30p는 무리인가?
[링크 : https://sysadmin-central.com/2019/08/14/raspberry-pi-how-to-output-4k-resolution-to-a-tv/]

 

2014년 글이면 라즈베리 2b인것 같은데.. 오호..

[링크 : https://www.raspberrypi.org/forums/viewtopic.php?f=38&t=79330]

'embeded > raspberry pi' 카테고리의 다른 글

rpi 3b update, install 실패  (0) 2021.09.10
vc4cl - VideoCore IV OpenCL  (0) 2021.09.09
흐음.. 그냥 라즈베리 2나 1으로 내려갈까..  (0) 2021.08.26
ubuntu 64bit server / rpi 로그인 느려!  (0) 2021.08.26
rpi power led off  (0) 2021.08.24
Posted by 구차니
embeded/raspberry pi2021. 8. 26. 23:41

라즈베리 3 64bit 버전은 로그인도 느리고 (우분투 릴리즈라 그런건가..)

결정적으로 온도가 로그인시 60도가 찍히고 있다. 밤이라 25도 정도인데도

케이스 덮어두었다는 이유로 그 정도 찍히는거 보면 쿨러 없이는 작동 시키기 불안한 수준?

 

옆에있는  odroid c2도 비슷한 온도 느낌이라 발열이 적은 라즈베리 2나 라즈베리 1을 터미널 서버로

그 안에서 접속하게 하게 하고, 릴레이를 이용해서 전원 관리를 하는게 낫지 않나 생각이 든다.

 

+

 대기전력이 비슷비슷한 느낌인데

[링크 : https://www.clien.net/service/board/cm_rasp/11124061]

 

3b+에서 wifi/bt 끄면 더 줄일수 있다고 하니 시도는 해볼까?

[링크 : https://www.raspberrypi.org/forums/viewtopic.php?t=208110]

'embeded > raspberry pi' 카테고리의 다른 글

vc4cl - VideoCore IV OpenCL  (0) 2021.09.09
rpi 3b 4k 24p  (0) 2021.08.27
ubuntu 64bit server / rpi 로그인 느려!  (0) 2021.08.26
rpi power led off  (0) 2021.08.24
raspberry pi ubuntu 20.04 64bit server  (0) 2021.08.23
Posted by 구차니
embeded/raspberry pi2021. 8. 26. 21:12

어느게 오래 먹는진 모르겠지만

Welcome to Ubuntu 20.04.3 LTS (GNU/Linux 5.4.0-1042-raspi aarch64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

  System information as of Thu Aug 26 14:12:39 UTC 2021

  System load:  0.05               Temperature:           55.8 C
  Usage of /:   19.2% of 14.30GB   Processes:             134
  Memory usage: 29%                Users logged in:       0
  Swap usage:   0%                 IPv4 address for eth0: 192.168.219.201

 * Super-optimized for small spaces - read how we shrank the memory
   footprint of MicroK8s to make it the smallest full K8s around.

   https://ubuntu.com/blog/microk8s-memory-optimisation

22 updates can be applied immediately.
1 of these updates is a standard security update.
To see these additional updates run: apt list --upgradable


Last login: Thu Aug 26 14:07:37 2021 from 192.168.219.44

 

하나씩 실행해봐도 50-landscape-sysinfo 가 조금 먹는것 외에는 그리 느리지 않는데

머가 문제이려나..

/etc/update-motd.d$ ls -al
total 56
drwxr-xr-x  2 root root 4096 Aug 23 10:34 .
drwxr-xr-x 94 root root 4096 Aug 26 14:04 ..
-rwxr-xr-x  1 root root 1220 Dec  5  2019 00-header
-rwxr-xr-x  1 root root 1157 Dec  5  2019 10-help-text
lrwxrwxrwx  1 root root   46 Aug 23 10:33 50-landscape-sysinfo -> /usr/share/landscape/landscape-sysinfo.wrapper
-rwxr-xr-x  1 root root 5023 Aug 17  2020 50-motd-news
-rwxr-xr-x  1 root root   96 Jun 18  2020 85-fwupd
-rwxr-xr-x  1 root root  218 Dec  7  2020 90-updates-available
-rwxr-xr-x  1 root root  374 Jul 17  2020 91-release-upgrade
-rwxr-xr-x  1 root root  165 Jul 21  2020 92-unattended-upgrades
-rwxr-xr-x  1 root root  129 Dec  4  2020 95-hwe-eol
-rwxr-xr-x  1 root root  111 Feb 25  2020 97-overlayroot
-rwxr-xr-x  1 root root  142 Dec  4  2020 98-fsck-at-reboot
-rwxr-xr-x  1 root root  144 Dec  4  2020 98-reboot-required

[링크 : https://jwillmer.de/blog/tutorial/custom-message-of-the-day-motd]

'embeded > raspberry pi' 카테고리의 다른 글

rpi 3b 4k 24p  (0) 2021.08.27
흐음.. 그냥 라즈베리 2나 1으로 내려갈까..  (0) 2021.08.26
rpi power led off  (0) 2021.08.24
raspberry pi ubuntu 20.04 64bit server  (0) 2021.08.23
라즈베리 파이 3B+ 겟!  (2) 2021.08.22
Posted by 구차니
embeded/raspberry pi2021. 8. 24. 20:04

소비전력 줄이기 위해 power on 시 들어오는 불도 끌 수 있다고 하네

 

[링크 : https://www.pidramble.com/wiki/benchmarks/power-consumption]

[링크 : https://raspberrypi.stackexchange.com/questions/112134/raspberry-pi-4-turn-red-led-off-via-software]

 

Posted by 구차니
embeded/FPGA - XILINX2021. 8. 24. 19:10

rpi pico를 이용해 xilinx virtual cable로 만드는 코드

xilinx USB cable 사려면 꽤나 비싼데, 피코로 가능하다면 최소 1/7 이하 가격으로 구성이 가능하다는거네

 

[링크 : https://github.com/kholia/xvc-pico]

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

vivado 설치 하려고 했더니.  (0) 2023.01.08
흐음.. 끌리네?  (0) 2022.11.02
microzed..  (0) 2021.04.07
pmod pinout  (0) 2021.04.02
xilinx vitis  (0) 2021.03.31
Posted by 구차니
embeded/odroid2021. 8. 23. 19:27

혹시나 해서 받아봤는데 다행히 64bit ubuntu 20.04 !!

그나저나 UHS-1 SD 인데 초기 업데이트 때문에 그런지 생각외로 느리고 생각외로 발열이 장난이 아니다.

소비전력을 재어봐야 하는데 급 귀찮..

[링크 : https://dn.odroid.com/S905/Ubuntu/ubuntu-20.04-3.16-mate-odroid-c2-20210120.img.xz]

 

[링크 : https://wiki.odroid.com/getting_started/os_installation_guide#tab__odroid-c2]

[링크 : https://dn.odroid.com/S905/Ubuntu/]

 

+

다행히도 기존에 구매해놓았던 U3용 UART/5V 어댑터를 같이 사용 가능할 듯?

[링크 : https://www.hardkernel.com/ko/shop/usb-uart-module-kit/]

[링크 : https://www.hardkernel.com/ko/shop/5v-2a-power-supply-asia-korea-round-plug-2/]

'embeded > odroid' 카테고리의 다른 글

odroid c2 boot.ini  (0) 2021.09.05
odroid xu4 opencl  (0) 2021.08.27
odroid c2  (0) 2021.08.22
모니터 소비전력과 오드로이드 XU4  (0) 2020.06.02
odroid XU4 H.265 가능이라니  (0) 2020.05.08
Posted by 구차니
embeded/raspberry pi2021. 8. 23. 18:20

pi:raspberry 인줄 알았는데 안되서 찾아보니

ubuntu:ubunt 라니!!!

캐노니컬 그룹이 관리하는거라 당연하면 당연한건가.. ㅠㅠ

[링크 : https://ubuntu.com/tutorials/how-to-install-ubuntu-on-your-raspberry-pi#4-boot-ubuntu-server]

 

이전에는 pi:raspberry 로 구성된 이미지를 쓴 것 같은데...?!

[링크 : https://downloads.raspberrypi.org/raspios_lite_arm64/images/]

  [링크 : https://www.raspberrypi.org/forums/viewtopic.php?t=275370]

'embeded > raspberry pi' 카테고리의 다른 글

ubuntu 64bit server / rpi 로그인 느려!  (0) 2021.08.26
rpi power led off  (0) 2021.08.24
라즈베리 파이 3B+ 겟!  (2) 2021.08.22
rpi dsi to csi  (0) 2021.08.22
라즈베리 파이 2 USB 부팅(SD 있어야 함)  (0) 2021.08.20
Posted by 구차니