embeded/raspberry pi2018. 2. 19. 14:09

레트로 파이 돌리다 보니

우측에 번개모양 아이콘이 떠서 찾아 보니 음.. 전력 부족이면 뜨는건가?


배포판 버전 올라가면서 단순하게 무지개 모양(쉐이더?) 에서 아이콘을 변경한건가..

아무튼 해당 부분 표현하는거 어디서 하는지 찾아 봐야겠다.

(보이는게 신경 쓰이기도 하고)


음.. rpi 2B에서 잘못 출력하는건가?

그래도 아이패드용 어댑터에서 5V는 정상적으로 나올텐데 4.63V/+-5% 보다 낮으면 띄운다니.. 머지?

Undervoltage warning

If the power supply to the Raspberry Pi drops below 4.63V (+/-5%), the following icon is displayed. 

[링크 : https://www.raspberrypi.org/documentation/configuration/warning-icons.md]

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


아무튼 정석은 어댑터 교체이고 차선책(?)으로는 설정에서 해당 출력을 하지 않도록 해버림

$ sudo nano /boot/config.txt

# Disable under-voltage warning

avoid_warnings=1 

[링크 : https://scribles.net/lightning-bolt-under-voltage-warning-on-raspberry-pi/]

[링크 : https://www.raspberrypi.org/documentation/configuration/config-txt/misc.md]

---

Power: Ensure you have a good power supply which can steadily supply at least 2A at 5V. Many power supplies sag voltage and current under maximum load. If you see a lightning bolt icon or rainbow square in the top right corner during regular operation, this is the under-voltage warning and you are not supplying enough power. If you have USB devices plugged into the USB ports, considering getting a good powered USB hub to reduce power draw on the Pi. 

[링크 : https://www.reddit.com/r/RetroPie/wiki/faq]


aha so power brownout

Probably, although I haven't done an rpi-update and looked myself, and the commit doesn't say.

It would be the most logical one out of under-voltage and over-temp (yellow or red). 

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


Finally on the subject of icons, in the past if your Pi was working particularly hard, you might have noticed some yellow and red squares appearing in the top-right corner of the screen, which were indications of overtemperature or undervoltage. These have now been replaced with some new symbols that make it a bit more obvious what’s actually happening; there’s a lightning bolt for undervoltage, and a thermometer for overtemperature. 

[링크 : https://www.raspberrypi.org/blog/introducing-pixel]

    [링크 : https://raspberrypi.stackexchange.com/questions/57963/what-does-the-lightning-bolt-mean/57998]

[링크 : https://www.element14.com/.../pi3-shows-yellow-lightning-bolt-with-official-power-supply...]


+

어떤 레이어에서 출력하나 궁금하네..

단순한(?) OSD 레이어로 출력하는걸려나?


pi@raspberrypi:~ $ vcgencmd get_throttled

throttled=0x50000 

[링크 : https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=147781&start=50#p972790]


+

모니터 없이 써서 내가 몰랐던 걸려나.. 꽤 오래전 부터 있었네..

(생각해보니까 openELEC에서 계속 뜨는데 걍 뜨나보네.. 하고 무시하고 살았....)

pi@raspberrypi:~ $ sudo apt-get install stress stress-ng

pi@raspberrypi:~ $ stress-ng --cpu 4 --io 1 --vm 1 --vm-bytes 128M --timeout 10s --verbose 

[링크 : http://www.solanara.net/solanara/raspberry#head_raspberry_tip_warnicon]



+

커널받아서 검색중

Search "avoid_warnings" (1 hit in 1 file)

  D:\Download\linux-rpi-4.9.y\drivers\gpu\drm\vc4\Kconfig (1 hit)


config DRM_VC4

tristate "Broadcom VC4 Graphics"

depends on ARCH_BCM2835 || COMPILE_TEST

depends on DRM

depends on SND && SND_SOC

depends on COMMON_CLK

select DRM_KMS_HELPER

select DRM_KMS_CMA_HELPER

select DRM_GEM_CMA_HELPER

select DRM_PANEL

select SND_PCM

select SND_PCM_ELD

select SND_SOC_GENERIC_DMAENGINE_PCM

select DRM_MIPI_DSI

help

  Choose this option if you have a system that has a Broadcom

  VC4 GPU, such as the Raspberry Pi or other BCM2708/BCM2835.


  This driver requires that "avoid_warnings=2" be present in

  the config.txt for the firmware, to keep it from smashing

  our display setup. 



+

두개가 동일한 회로인진 모르겠지만.. 일단 Schematic 상에 2B V1.2 에는 

APX803 칩이 내장되어서 무언가 하긴 하는 듯?

[링크 : https://www.raspberrypi.org/.../schematics/Raspberry-Pi-2B-V1.2-Schematics.pdf]


[링크 : https://www.raspberrypi.org/.../schematics/Raspberry-Pi-3B-V1.2-Schematics.pdf]


외형상으로는 걍.. 3핀 SOT로 레귤레이터인가 보다.. 하고 넘어갔던 녀석중에 하나 인 듯


APX803-46의 리셋 경계값이 4.56V(Min) 4.63V(Typical) 4.70V(Max)

[링크 : http://www.mouser.com/ds/2/115/APX803_D-86185.pdf]


+

커널이 아닌 VideoCore IV Firmware에서 관할하기에

라즈베리 커널에서 이미지나 코드 관련해서 뒤져도 해당 아이콘의 이미지가 안나오는 것으로 예상된다

(즉, 내가 찾기 귀찮으니 이정도로 끝내겠다? ㅋㅋㅋ)

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



+

끝이 아니라니..

이 놈이.. 온도 관련해서 센서 대신 사용하는 놈인가?

주변 온도에 따라 저항값이 달라지는데 이걸 사용하기에는 저항값 변화가 너무 적고..

용도가 머지?


N-CHANNEL ENHANCEMENT MODE MOSFET 

[링크 : https://www.diodes.com/assets/Datasheets/ds31783.pdf]


+

B+ 에서부터 깜박인다고 하는데 깜박이진 않고, 해당 마크에 대한 이야기가 없네.. 머지?

Red power LED is blinking

A blinking red power LED indicates problems with the power supply. On model A and B, it is hard-wired to the 3.3V power supply rail. If it is blinking, as one user has reported[1] it means the 5V power supply is dropping out. Use a different power supply.

On model B+ (and presumably also the A+), the circuit has been improved to give a much more reliable warning of poor power quality. The red power LED is wired to an APX803 supervisor[2] which kicks in when the 5V power supply drops below 4.63V[3]. If it does, the LED will blink. Check your connections, cable, and power supply.

[링크 : https://elinux.org/R-Pi_Troubleshooting#Red_power_LED_is_blinking]


그나저나.. 아이패드 충전기 5V 1A이고 USB 길이가 일어야 30cm도 안될 녀석인데

그 거리에 전압강하가 될리는 없고.. 실측하기도 빡센데 흐음.. 우짜지?

The Raspberry Pi 2 has a 2.2 amp polyfuse which limits the power which may be supplied via the microUSB socket. This is more than enough to power the Pi and the USB sockets.

Initially the USB sockets can only draw 600 mA. At worst this leaves 1.6 amps for the Pi2 and anything connected to the gpios.

By changing a setting after boot software can configure the USB sockets to draw up to 1.2 amps. At worst this leaves 1 amp for the Pi2 and anything connected to the gpios.

You haven't mentioned connecting anything to the gpios or the USB.

The only meaning to the rainbow square in the top right of the screen is that the 5V line has dropped beneath 4.65V.

If you trust the power supply to be accurate the other cause of low voltage is thin wires in the microUSB cable. 

[링크 : https://raspberrypi.stackexchange.com/questions/34305/undervoltage-rainbow-despite-good-power-supply]

Posted by 구차니
개소리 왈왈/블로그2018. 2. 19. 13:53

벌써 2년이 지났나.. 아니면 1년인가?

돈도 없는데 또 곧.. 도메인 결제의 시기가 다가오는구나.. ㅠㅠ



체크카드로 결제하려고 하다가 안되서

매우 빡침을 시전하고 무통장 입금으로 전환 ㅠㅠ

망할 액티브액스 ㅠㅠ



Posted by 구차니
하드웨어/Storage2018. 2. 19. 10:39

갑자기 무언가 바뀐건지 모르겠지만

gateway가 빠져있다고 외부에서 접속이 안되네..

(HTTP Connection timeout)


U+ 공유기에서 iptime으로 바꾸고 발생한건지

아니면 DSM 버전업되면서 무언가 달라진건지 모르겠지만


아무튼 이거 하나 설정해주니 잘되네.. ㄷㄷㄷ 머야

Posted by 구차니
회사일2018. 2. 19. 10:33

helix + coil인가

helicopter + coil 인가 고민하면서 찾아보니


helix가 어원일듯?


[링크 : https://starletzzang.blogspot.com/2017/03/helicoil.html]

[링크 : http://www.myworks.co.kr/xe/tools/109862]


[링크 : http://www.helicoil.in/]

'회사일' 카테고리의 다른 글

찾아 볼 것 들  (0) 2018.07.10
회사 가습기 고침 -_-  (4) 2018.03.26
접촉식 온도 센서  (0) 2018.02.09
레이저 프린터 백그라운드 현상(?)  (0) 2018.02.08
CAGE code / ECCN  (0) 2018.02.06
Posted by 구차니
프로그램 사용/MAME2018. 2. 19. 09:03

PC에서 MAME로 돌아가는 애들이

RetroPie에서 안돌길래 검색...


단순하게 롬 파일만 넣어 준다고 해서 목록이 늘어 나는게 아니고 돌아가는게 아니었나?


[링크 : http://re-coder.blogspot.com/2015/04/mame.html]

[링크 : http://ddinguri.blogspot.com/2009/11/다른-마메에서는-왜-목록에-뜨지-않나-마메-설치후기-ㅋ.html]


Thus, a new format was created for these in the CHD file. Compressed Hunks of Data, or CHD for short, are designed very specifically around the needs of mass storage media. Some arcade games, consoles, and PCs will require a CHD to run. As CHDs are already compressed, they should NOT be stored in a ZIP or 7Z file as you would for ROM images. 


Why do my Neo Geo ROMs no longer work? How do I get the Humble Bundle Neo Geo sets working? 

Recently the Neo Geo BIOS was updated to add a new version of the Universal BIOS. This was done between 0.171 and 0.172, and results in an error trying to load Neo Geo games with an un-updated neogeo.zip set. This also affects the Humble Bundle set: the games themselves are correct and up to date as of MAME 0.173 (and most likely will remain so) though you’ll have to pull the ROM set .ZIP files out of the package somehow yourself. However, the Neo Geo BIOS set (neogeo.zip) included in the Humble Bundle set is incomplete as of the 0.172 release of MAME. We suggest you contact the provider of your sets (Humble Bundle and DotEmu) and ask them to update their content to the newest revision. If enough people ask nicely, maybe they’ll update the package. 

[링크 : http://docs.mamedev.org/_files/MAME.pdf]

'프로그램 사용 > MAME' 카테고리의 다른 글

retropie / MAME 버전  (0) 2018.02.20
mame rom set  (0) 2018.02.19
Emulation Station  (0) 2018.02.18
recalbox ?  (0) 2018.02.18
심심하니.. 레트로 파이?  (0) 2018.02.17
Posted by 구차니
embeded/raspberry pi2018. 2. 18. 19:01

라즈베리 파이에 안전모드로 오버클럭 되어 있거나 할 경우에

해당 설정을 무효화 하고 부팅하도록 특정 핀을 연결할 수 있는데 그걸 무시하도록 하는 것

근데.. recalbox랑 이거랑 무슨 연관이 있길래 무효화 하는거지?


It provides a means of recovering from, e.g.


  • too high an overclock
  • a typo in cmdline.txt
  • an incorrect kernel=<filename> parameter
  • an invalid display mode

without requiring a PC. (Obviously it won't help if you've deleted start.elf...) 


Connect pins 5 & 6 with a jumper or piece of wire.


If you are using these pins for your own purposes and want to avoid ending up in safe mode, add this to config.txt:


avoid_safe_mode=1


[링크 : https://elinux.org/RPI_safe_mode]

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

라즈베리 파이 배포용 이미지 만들기  (0) 2018.02.23
라즈베리 파이 번개모양 아이콘  (2) 2018.02.19
블투 동글이 비싸!  (0) 2018.02.17
라즈베리 2 시리얼이 안되네...?  (0) 2018.01.11
piwall / yodeck  (0) 2017.11.08
Posted by 구차니
프로그램 사용/MAME2018. 2. 18. 11:50

레트로 파이류의 프로그램과 무슨 연관이려나

얘도 Mame의 Frontend일 뿐이려나?


[링크 : https://emulationstation.org/]



retropie는 단순히(?) EmulationSTation을 쓸 뿐 인 듯?

NOTE: RetroPie is not a part of EmulationStation. If you have problems with it, report them on the RetroPie GitHub issues page. EmulationStation is only the front-end. Instructions are included here for convenience.

[링크 : https://emulationstation.org/gettingstarted.html#install_rpi_retropie]

[링크 : https://blog.petrockblock.com/retropie/]


깔고 해보니..

retropie던 recalbox던 emulation station을 둘다 기동하는 것으로 보인다.

'프로그램 사용 > MAME' 카테고리의 다른 글

retropie / MAME 버전  (0) 2018.02.20
mame rom set  (0) 2018.02.19
MAME rom 구조  (0) 2018.02.19
recalbox ?  (0) 2018.02.18
심심하니.. 레트로 파이?  (0) 2018.02.17
Posted by 구차니
프로그램 사용/MAME2018. 2. 18. 11:30

레트로 파이에 블루투스 키보드 찾다 보니

kodi도 포함되었다는 recalbox 발견!

겸사겸사 사용하도록 한번 설정해볼까?


[링크 : http://justksh.tistory.com/entry/라즈베리파이3RaspBerry-Pi-리콜박스로-게임기-만들기]


특이하게도 Odroid도 지원한다!

XU4랑 U3 계열이랑 호환이 완전히는 안되어도 웬만큼 될거 같긴한데..

[링크 : https://archive.recalbox.com/]

    [링크 : https://www.recalbox.com/]


끄응.. 안되는건가 ㅠㅠ

[링크 : https://forum.recalbox.com/topic/4908/odroid-u3-recalbox/2]


recalboxOS uses many awesome existing components, like EmulationStation2 as frontend, piFBA and Retroarch as emulators, RaspberryPI NOOBS as installation/recovery system. 

[링크 : https://github.com/recalbox/recalbox-os/wiki/Home-%28EN%29]



+

라즈베리 2B 에서 해보니까 기본 설정으로

초기 부팅 말고 두번째 부팅에서 40초 정도 걸린다.


그나저나 쓰는법을 몰라서 MAME 파일 넣는거라던가 이런거 영 힘드네..

조이패드가 있는게 아니고 키보드일 경우에는

Enter - 메뉴

A - Enter

S - Cancel 인거 같은데 확실하진 않음


+

Enter - 스타트

space - 셀렉트

Q - 취소

S - OK

라는데 찾아봐야 하나..

[링크 : https://enjiforever.blog.me/220749546975]


부팅이 오래걸려서 고민중..

'프로그램 사용 > MAME' 카테고리의 다른 글

retropie / MAME 버전  (0) 2018.02.20
mame rom set  (0) 2018.02.19
MAME rom 구조  (0) 2018.02.19
Emulation Station  (0) 2018.02.18
심심하니.. 레트로 파이?  (0) 2018.02.17
Posted by 구차니
embeded/raspberry pi2018. 2. 17. 23:05

옥션에보니 택배 2500에 본픔 6000원 수준

ㅠㅠ


근데 레트로 파이 조이스틱 말고 키보드도 되나?

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

라즈베리 파이 번개모양 아이콘  (2) 2018.02.19
rpi config.txt avoid_safe_mode=1  (0) 2018.02.18
라즈베리 2 시리얼이 안되네...?  (0) 2018.01.11
piwall / yodeck  (0) 2017.11.08
rpi dual spi lcd  (0) 2017.11.08
Posted by 구차니
프로그램 사용/MAME2018. 2. 17. 18:55

남는 SD 메모리가 남은 김에 

심심하니 한번 만들어 볼까..


[링크 : https://retropie.org.uk/download/]


그나저나 블루투스 키보드 생긴걸로 먼가 하려고 하던

블루투스 조이스틱이던 결국에는 블루투스 동글이 필요하겠네 

근데 그 동글이가 5천원 ㅠㅠ 택배비가 아까워랑 ㅠㅠ


+

걍 삼바로 파일 전송!

[링크 : http://withcoding.com/113]

[링크 : http://ibblog.tistory.com/71]

'프로그램 사용 > MAME' 카테고리의 다른 글

retropie / MAME 버전  (0) 2018.02.20
mame rom set  (0) 2018.02.19
MAME rom 구조  (0) 2018.02.19
Emulation Station  (0) 2018.02.18
recalbox ?  (0) 2018.02.18
Posted by 구차니