My Raspberry Pi study
- https://github.com/raspberrypi/tools/blob/master/arm-bcm2708/arm-linux-gnueabihf
- If you want to cross compile elf for raspberry pi zero (like Qt 4), you can
use the old toolchain, like this, C and C++ (for Ubuntu 1404 64bit version): - /home/wmt/work_qt/tools-master/arm-bcm2708/arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -march=armv6
- /home/wmt/work_qt/tools-master/arm-bcm2708/arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -std=gnu++98 -march=armv6
- for rom: 2018-04-18-raspbian-stretch-lite.zip
(baidupan) 2018-04-18-raspbian-stretch.zip
(baidupan) 2018-04-18-raspbian-stretch-lite.zip
- https://github.com/weimingtom/buildroot_rpi0_hello
- https://github.com/weimingtom/wmt_rpi_study/blob/master/buildroot_manual.txt
- (baidupan) buildroot_rpi0_2018
- (baidupan) hello_v3.tar.gz
- (baidupan) buildroot-2018.02-rc3.tar.gz
- (baidupan) dl_2018.tar.gz
https://github.com/RPi-Distro
https://github.com/RPi-Distro/raspi-gpio
(1) 接好右上第3,第4,第5针
GND<->GND
TXD0<->RX
RXD0<->TX
电源用usb供电,不要用转换器的5V供电
(2) Win32DiskImager烧录2018-11-13-raspbian-stretch-lite.zip, 不要使用2018-04-18-raspbian-stretch-lite.zip
(3) 修改config.txt,增加enable_uart=1(不需要添加ssh空文件)
树莓派创客营
https://mp.weixin.qq.com/s/g5aNe2sBoxuWhSPd_QjCyw
(baidupan) 2018-04-18-raspbian-stretch-lite.zip
(baidupan) 2018-11-13-raspbian-stretch-lite.zip
http://www.shumeipai.net/portal.php
https://www.raspberrypi.org/documentation/linux/kernel/building.md
- linaro
https://www.linaro.org/downloads/
https://releases.linaro.org/components/toolchain/binaries/latest-7/arm-linux-gnueabihf/
- https://www.vihrearobotti.com/raspberry-pi/monogamegles/
- https://github.com/MonoGame/MonoGame
- https://github.com/KonajuGames/MonoGame
- https://github.com/noxo/MonoGame
- https://github.com/mono/opentk
- https://github.com/CartBlanche/MonoGame-Samples
https://github.com/JohSchneider/piboy-zero
- 适用于ecos的嵌入式GUI(lwegui)源代码
search baidupan csdn.7z
https://github.com/RajivBiswas/RaspberryPi-Dev
3.5寸Raspberry Pi彩屏触摸屏
https://github.com/goodtft/LCD-show
- 世友
- SSK
https://blog.csdn.net/talkxin/article/details/79505826
Linux设备驱动开发详解:基于新的Linux 4.0
http://www.lcdwiki.com/zh/MHS-3.5inch_RPi_Display
(baidupan) Panasonic_SDFormatter.zip
(baidupan) putty.zip
(baidupan) Win32DiskImager.zip
https://www.bilibili.com/video/av6668646/
https://chenxublog.ctfile.com/fs/MkT158467783
(baidupan) raspi-badapple.7z
https://elinux.org/Main_Page
(1) 香橙派:250元左右
(2) PocketBeagle: beagleboard出品,250元左右
(3) 香蕉派:BPI-M2 Berry,250元左右,BPI-M2 Zero,100元左右
(4) CubieBoard:250元-300元左右
(5) PINE64、Rock64:150元-250元左右
(6) Marsboard:250-350元左右
(7) ROC-RK3328-CC: FireFly, 250元左右
(8) MTK7688: 120元左右
(9) NanoPi Duo:全志,100元左右
(10) NanoPi Duo2:全志,150元左右
(11) LinkIt Smart 7688:联发科,120元左右
(12) LinkIt Smart 7688 Duo:联发科,140元左右
(13) Widora-BIT5:Widora (歪朵拉), 联发科MT7688, 100元左右
https://www.cnblogs.com/lulipro/p/5992172.html
树莓派-wiringPI-设置引脚编号模式
https://blog.csdn.net/nicekwell/article/details/78607695
https://github.com/dotsha747/libsdl2-rpifb
http://blog.shahada.abubakar.net/post/hardware-accelerated-sdl-2-on-raspberry-pi
https://github.com/vanfanel/SDL-1.2.15-raspberrypi
https://github.com/wwj718/awesome-raspberry-pi-zh
https://www.raspberrypi.org/documentation/hardware/raspberrypi/spi/README.md
https://raspberrypi-aa.github.io/session3/spi.html
S5PV210
https://github.com/nopnop2002/wiringpi-tft-tool
SPI / GPIO
KeDei
MHS
HDMI
DSI
- s3c2440
https://elinux.org/S3C2440 - 飞凌S3C6410开发板学习板三星ARM11评估板Linux、Android、Wince
- 友善之臂嵌入式开发板ARM9 mini2440学习板,送显示屏Linux工控板
http://codeandlife.com/2012/07/03/benchmarking-raspberry-pi-gpio-speed/
https://github.com/jokkebk/rpi-gpio-benchmark
https://github.com/sammyizimmy/ili9341
ioremap
https://github.com/fundoong/Raspberry-pi-Device-Driver
https://github.com/Apress/mastering-raspberry-pi
https://github.com/ve3wwg/raspberry_pi
(baidupan) Mastering_the_Raspberry_Pi.pdf
书,book
https://tieba.baidu.com/p/1248658772
gba: 240 * 160
fc: 255 * 224
(baidupan) InfoNES097JRC1_SDL.tar.gz
(baidupan, win) InfoNES097JRC1_SDL_v2.rar
(baidupan, rpi) infones_rpi_v1.rar
see (baidupan) infones_stm32f407ve_v1.rar
https://blog.csdn.net/iteye_4515/article/details/81800882
https://ssjupiter.iteye.com/blog/890104
(baidupan) nofrendo-2.0pre1.zip
(baidupan, linux) nofrendo_linux_v1.tar.gz
(baidupan, ubuntu) nofrendo_linux_v2_ubuntu.tar.gz
(baidupan, win32) nofrendo_vc6_v9_min.rar
https://tieba.baidu.com/p/1248658772
fc SFC都是255x224
GB 160x144
GBA 240x160
GBC和GB一样只不过是彩屏
GB是四阶灰度的黑白屏
http://wiki.friendlyarm.com/wiki/index.php/NanoPi_Duo/zh
https://github.com/wertyzp/WiringNP
https://labs.mediatek.com/en/support/resources
https://labs.mediatek.com/zh-cn/platform/linkit-smart-7688
https://github.com/MediaTek-Labs
https://docs.onion.io/omega2-docs/first-time-setup.html
https://onion.io/getstarted/
https://github.com/OnionIoT
RALINK_GPIO_BASE
0xB0000600
https://github.com/aggresss/RFDemo
https://github.com/jiangrunwu/linux_driver
http://iotdk.intel.com/docs/master/mraa/
https://github.com/aggresss/RFDemo
https://blog.csdn.net/aggresss/article/details/52753098
https://tieba.baidu.com/p/5293710050?pn=1
https://steward-fu.github.io/website/handheld/handmade01/design.htm
https://github.com/linux-sunxi/
http://linux-sunxi.org/Main_Page
https://www.clockworkpi.com
https://github.com/clockworkpi
https://github.com/notro/fbtft
https://github.com/fgalliat/XtsGamingSystem
https://github.com/friendlyARM/WiringNP
https://github.com/orangepi-xunlong/wiringOP
https://shop108780008.taobao.com
https://www.banana-pi.org.cn
http://wiki.banana-pi.org/Getting_Started_with_M2_Zero
https://github.com/BPI-SINOVOIP/BPI-WiringPi2
https://github.com/BPI-SINOVOIP/RPi.GPIO
https://github.com/BPI-SINOVOIP/BPI-M2Z-bsp
https://www.kafan.cn/edu/4809992.html
http://www.zlg.cn/ipc/ipc/product/id/91.html
https://www.nxp.com/products/processors-and-microcontrollers/arm-based-processors-and-mcus/i.mx-applications-processors:IMX_HOME
https://github.com/guowenxue/embedded_project
https://blog.csdn.net/ztguang/article/details/51016325
- https://www.makeuseof.com/tag/install-android-raspberry-pi/
- https://github.com/android-rpi/device_brcm_rpi3/tree/nougat-tablet
- GNU/Linux嵌入式快速编程
- https://github.com/giometti/gnu_linux_rapid_embedded_programming
- https://github.com/giometti/gnu_linux_rapid_embedded_programming/blob/master/chapter_05/openwrt-helloworld/Makefile
- yocto
https://www.raspberrypi.org/forums/viewtopic.php?p=446411#p446411
https://blog.csdn.net/wa779478028/article/details/84498017
digitalWriteByte
http://www.wnavy.com/archives/584
https://blog.csdn.net/a656343072/article/details/41209857
https://blog.csdn.net/xukai871105/article/details/17737005
https://blog.csdn.net/xukai871105/article/details/17881433
https://github.com/lzto/RaspberryPi_KeDei_35_lcd_v62
https://github.com/rm-hull/st7735fb
???
https://github.com/Nand-e/RPI-TFTLIBS
https://www.quwj.com/2018/04/14/retro-cm3-a-powerful-retropie-handled-game-console.html
ilitek, ili9486
https://github.com/willprice/willprice.github.com/blob/master/_posts/2017-09-16-adventures-with-tft-screens-for-raspberry-pi.md
https://github.com/swkim01/waveshare-dtoverlays/blob/master/waveshare35a.dts
tft35a-overlay.dtb
https://github.com/goodtft/LCD-show/blob/master/usr/tft35a-overlay.dtb
https://github.com/waveshare/LCD-show/blob/master/waveshare35a-overlay.dtb
$ sudo apt-get install device-tree-compiler
$ dtc -O dts -o tft35a.dts -I dtb tft35a-overlay.dtb
$ dtc -O dts -o waveshare35a.dts -I dtb waveshare35a-overlay.dtb
https://github.com/ioxhop/Adafruit-ILI9481-ESP32-SPI
https://github.com/rvp-nl/vs10xx-linux
-
友达屏,群创屏,群创兼容屏,分别针对各种型号的主板
https://tieba.baidu.com/p/6090881402 -
WX150, WX300
https://tieba.baidu.com/p/6092629172
https://arcade.makecode.com
https://learn.adafruit.com/makecode-arcade-with-raspberry-pi-zero
https://github.com/weimingtom/eriri/blob/master/rubysdl/jni/sdl/src/video/android/SDL_androidvideo.c
https://facelesstech.wordpress.com/2019/04/07/retrozero-retropie-handheld/
https://github.com/facelessloser/retro_zero_handheld
https://github.com/facelessloser/ST7789_1.3_screen
http://www.valvers.com/open-software/raspberry-pi/step01-bare-metal-programming-in-cpt1/
https://buildroot.org
https://cellux.github.io/articles/diy-linux-with-buildroot-part-1/
https://github.com/cellux/rpi-buildroot
https://git.busybox.net/buildroot/tree/board/raspberrypi
https://github.com/bogics/rpi_gpio_driver
https://github.com/gitlicheng/camdroid
https://github.com/sysadminmike/freebsd-onion-omega2-build
https://github.com/dwelch67/onion_omega2_samples
Android for the Raspberry Pi
https://sourceforge.net/projects/razdroid/
https://github.com/Razdroid
https://www.ptpress.com.cn/shopping/buy?bookId=0fc6355e-5915-473e-9479-b63ca6f15f33
gentoo
https://gentoo.org
http://www.jackxiang.com/post/7637/
http://tieba.baidu.com/p/5514213749
https://github.com/userdw/RaspberryPi_3_Starter_Kit
https://wiki.gentoo.org/wiki/Raspberry_Pi
https://github.com/rockchip-linux/buildroot/tree/rockchip/2018.02-rc3/package/wiringpi
http://wiki.friendlyarm.com/wiki/index.php/Buildroot_for_RK3399
https://buildroot.org/downloads/buildroot-2018.02-rc3.tar.gz
https://github.com/WiringPi/WiringPi/tree/96344ff7125182989f98d3be8d111952a8f74e15
https://blog.csdn.net/liuqun69/article/details/82455823
https://jumpnowtek.com/rpi/Raspberry-Pi-Systems-with-Buildroot.html
http://sources.buildroot.net/bcm2835/
bcm2835
c-periphery
https://github.com/vsergeev/c-periphery
lua
wiringpi
http://www.openembedded.org/wiki/Main_Page
https://github.com/raspberrypi/hats
https://hackaday.io/project/20482-designing-a-raspberry-pi-hat
https://github.com/PiSugar/pisugar-case-pihat-cap
https://www.howtoing.com/how-to-create-your-own-linux-distribution-with-yocto-on-ubuntu/
https://ftp.denx.de/pub/u-boot/
http://downloads.openwrt.org/snapshots/targets/brcm2708/bcm2710/
https://github.com/joan2937/pigpio
https://github.com/raspberrypi/gpioexpander/blob/master/gpioexpand/package/pigpio/pigpio.mk
https://github.com/OpenNuvoton/NUC970_Linux_Applications/tree/master/minigui
https://github.com/weimingtom/wmt_arm9_study
https://github.com/rockchip-linux/minigui
https://community.nxp.com/docs/DOC-99218
http://blog.lxx1.com/树莓派-wiringpi-用户手册
https://blog.csdn.net/xukai871105/article/details/17881433
http://opensource.rock-chips.com/wiki_Main_Page
https://releases.linaro.org/components/toolchain/binaries/5.4-2017.01/arm-linux-gnueabihf/
https://github.com/BPI-SINOVOIP/BPI-M2Z-bsp
https://github.com/BPI-SINOVOIP/BPI-files
https://github.com/BPI-SINOVOIP/BPI_WiFi_Firmware
https://github.com/linux-sunxi
(baidupan) search buildroot-2019.02.3_bpi-m2z.tar.gz
http://zero.lichee.pro
http://nano.lichee.pro
https://licheezero.readthedocs.io/
https://www.kancloud.cn/lichee/lpi0
https://www.kancloud.cn/lichee/lpi0/421924
https://elinux.org/STM32
https://github.com/fdu/STM32F429I-disco_Buildroot
https://www.cnblogs.com/zhinianzhizhan/p/10051013.html
https://whycan.cn/t_1457.html
(baidupan) minimal_f1c100s_framebuffer_zlggui.rar
https://blog.csdn.net/dunwin/article/details/84253928
http://wiki.t-firefly.com/zh_CN/ROC-RK3308-CC/buildroot_development.html
https://gitlab.com/TeeFirefly/rk3308-linux/tree/firefly/buildroot/package/rockchip
https://github.com/txurtxil/ST7735R-LCD
https://github.com/vinodstanur/raspberry-pi-frame-buffer-mapping-to-160x128-ST7735R-LCD
https://github.com/sammyizimmy/ili9341
http://wiki.jikexueyuan.com/project/raspberry-pi/spi.html
https://www.cnblogs.com/ch122633/p/10959419.html
https://blog.csdn.net/cztqwan/article/details/79428341
https://blog.csdn.net/lhw88117/article/details/7183896
https://yq.aliyun.com/articles/235931?spm=a2c4e.11153940.0.0.3d054edcLXxH7F
https://yq.aliyun.com/articles/87208
http://www.linuxfromscratch.org/blfs/view/8.1/index.html
https://github.com/respeaker/seeed-voicecard
https://www.cnblogs.com/microxiami/p/9746979.html
https://github.com/jameswalmsley/RaspberryPi-FreeRTOS
https://blog.csdn.net/wangwenxue1989/article/details/90085798
http://www.microdigitaled.com/ARM/RPi_ASM_books.htm
http://nicerland.com/raspberry-pi/
http://nicerland.com/eduFiles/RaspPi/RaspberryPiAsmProgramming_v1.pdf
(baidupan) FC任天堂红白机中文模拟器 500经典游戏大集合.rar
http://down.myir-tech.com/MYS-6ULX/
https://github.com/louisrubet/MYiR-iMX-Linux
https://github.com/louisrubet/MYiR-iMX-uboot
https://github.com/boundarydevices/linux-imx6
https://github.com/hgqian/MYiR-iMX-Linux
https://github.com/hgqian/MYiR-iMX-uboot
https://github.com/robe-zhang/project_mys_y6ulx
https://shumeipai.nxez.com/2019/12/27/raspberrypi-numworks.html
https://www.numworks.com/simulator/
https://github.com/zardam/epsilon/tree/rpi
https://github.com/marin9/RPi_Bootloader
https://github.com/marwansalama94/Raspberrypi3-bootloader
$ pip3 install jupyter
$ nano .profile
PATH加入/home/pi/.local/bin或者$HOME/.local/bin
$ jupyter notebook --generate-config
$ cd /home/pi/.jupyter
$ nano jupyter_notebook_config.py (if ip is fixed to 192.168.1.188)
-> change c.NotebookApp.allow_remote_access = False to
c.NotebookApp.allow_remote_access = True
-> c.NotebookApp.ip = '192.168.1.188' # <== (or not suggest 0.0.0.0)
-> c.NotebookApp.local_hostnames = ['localhost', '192.168.1.188'] # <== (or not suggest 0.0.0.0)
-> c.NotebookApp.shutdown_no_activity_timeout = 0 # <== mod here, uncomment
-> c.NotebookApp.quit_button = False
-> c.NotebookApp.shutdown_no_activity_timeout = 0
补充一下上次说的jupyter,如果想把IP定为任意,可以在配置文件中填0.0.0.0,这样可以避免绑定不了有堡垒机的机器的IP(例如那些云服务)。另外jupyter除了可以运行python3,还可以直接调用终端shell,所以如果想暴露出去远程,记得要加个密码保护一下
$ jupyter notebook --debug
$ jupyter notebook &
$ exit
open web browser http://192.168.1.188:8888
$ jupyter notebook list
$ ps aux | grep jupyter
$ kill -KILL xxxx
https://blog.csdn.net/Dolphinsz/article/details/83623514
mysql timezone, not need to change global var time_zone, only to change rpi's timezone through raspi-config
$ sudo mysql -uroot -p
show global variables like '%time%'
(see time_zone (set to default value 'SYSTEM') and system_time_zone (set to 'CST') )
$ sudo raspi-config
(...change localization timezone here)
$ date
( Fri 04 Jun 2021 12:22:50 PM HDT is changed to this )
Sat 05 Jun 2021 05:27:00 AM CST
需要重启mariadb数据库服务
$ sudo service mysql restart
https://linux.cn/article-7970-1.html?pr
pi@raspberrypi:~ $ timedatectl
Local time: Sat 2021-06-05 05:36:28 CST
Universal time: Fri 2021-06-04 21:36:28 UTC
RTC time: n/a
Time zone: Asia/Shanghai (CST, +0800)
System clock synchronized: yes
NTP service: active
RTC in local TZ: no
$ cat /etc/timezone
Asia/Shanghai
$ sudo apt-get install php-xml php-mbstring
$ sudo service apache2 restart
<tomcat-users xmlns="http://tomcat.apache.org/xml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://tomcat.apache.org/xml tomcat-users.xsd"
version="1.0">
<!--
NOTE: By default, no user is included in the "manager-gui" role required
to operate the "/manager/html" web application. If you wish to use this app,
you must define such a user - the username and password are arbitrary. It is
strongly recommended that you do NOT use one of the users in the commented out
section below since they are intended for use with the examples web
application.
-->
<!--
NOTE: The sample user and role entries below are intended for use with the
examples web application. They are wrapped in a comment and thus are ignored
when reading this file. If you wish to configure these users for use with the
examples web application, do not forget to remove the <!.. ..> that surrounds
them. You will also need to set the passwords to something appropriate.
-->
<!--
<role rolename="tomcat"/>
<role rolename="role1"/>
<user username="tomcat" password="<must-be-changed>" roles="tomcat"/>
<user username="both" password="<must-be-changed>" roles="tomcat,role1"/>
<user username="role1" password="<must-be-changed>" roles="role1"/>
-->
<role rolename="admin-gui"/>
<user username="tomcat" password="mypass" roles="admin-gui,manager-gui,manager-jmx,
manager-script,manager-status"/>
</tomcat-users>
$ tar xzf node-v14.16.1-linux-armv7l.tar.gz
$ nano .profile
PATH="$HOME/jdk1.8.0_291/bin:$HOME/node-v14.16.1-linux-armv7l/bin:$PATH"
$ source .profile
$ npm install -g pm2
pi@raspberrypi:~/vue/server $ npm run production
[email protected] production /home/pi/vue/server
pm2 start ./bin/www
$ sudo apt-get install redis-server
$ redis-cli
127.0.0.1:6379>
$ sudo service redis restart
pi@raspberrypi:~ $ sudo service --status-all
$ sudo apt-get install mongodb-server
pi@raspberrypi:~ $ mongo
pi@raspberrypi:~ $ service --status-all
http://distro.ibiblio.org/tinycorelinux/13.x/armv6/releases/RPi/
http://distro.ibiblio.org/tinycorelinux/ports.html
search work_krkrsdl2, krkrsdl2_github_20220221_full.tar.gz, data_web.zip, data.zip
$ tar xzf krkrsdl2_github_20220221_full.tar.gz
$ unzip data_web.zip
$ unzip data.zip
$ sudo apt install ninja-build meson libsdl2-dev
$ cd krkrsdl2
$ meson –prefix=/usr/local _build
$ ninja -C _build
$ cd work_krkrsdl2/data_web
$ /home/pi/work_krkrsdl2/krkrsdl2/_build/krkrsdl2
$ sudo apt install nestopia fceux
- https://wiki.freebsd.org/arm/Raspberry%20Pi
- https://download.freebsd.org/ftp/releases/arm64/aarch64/ISO-IMAGES/12.4/
- https://download.freebsd.org/ftp/releases/arm64/aarch64/ISO-IMAGES/12.4/FreeBSD-12.4-RELEASE-arm64-aarch64-RPI3.img.xz
- user, password:
- freebsd, freebsd
- root, root
- 我发现树莓派3b的一个新用途——用来跑FreeBSD 12 aarch6版。和Linux的区别是,引导程序是u-boot,进入登录命令行之后居然可以看到鼠标,可以用鼠标选择文本;编译器cc是指向clang。除此之外就不太会用了
- https://facelesstech.wordpress.com/2022/02/11/gbc-retropie-aio-rev-c/
- https://github.com/facelesstech/gbc_retropie_aio_revC
- dtoverlay=pwm-2chan,pin=18,func=2,pin2=13,func2=4
- https://learn.adafruit.com/retro-gaming-with-raspberry-pi/adding-controls-software
- https://openwrt.org/toh/raspberry_pi_foundation/raspberry_pi
- boot very fast, about 10 seconds
- https://downloads.openwrt.org/releases/23.05.0/targets/bcm27xx/bcm2710/openwrt-23.05.0-bcm27xx-bcm2710-rpi-3-ext4-factory.img.gz
- (TODO) How to build
- (TODO) How to cross compile application
- It seems to run on rpi0
- https://downloads.openwrt.org/releases/23.05.0/targets/bcm27xx/bcm2708/openwrt-23.05.0-bcm27xx-bcm2708-rpi-ext4-factory.img.gz