您尚未登录。

楼主 # 2021-10-12 10:30:18

小智跑腿
会员
注册时间: 2020-04-26
已发帖子: 78
积分: 78

(V3s/V3x/S3/S3L/R11通吃)小智V3x开发板smallwitpi lite u-boot/linux/buildroot测试

购买链接: https://item.taobao.com/item.htm?id=609079385265
购买链接: https://item.taobao.com/item.htm?id=609079385265
购买链接: https://item.taobao.com/item.htm?id=609079385265



















git clone https://github.com/u-boot/u-boot -b v2021.07

补丁包下载: smallwitpi_lite_v3x_uboot_patch_for_202107.diff

进入u-boot目录打上补丁:

patch -p1 < smallwitpi_lite_v3x_uboot_patch_for_202107.diff

现在的目录结构:

u-boot$ git status .
Not currently on any branch.
Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git checkout -- <file>..." to discard changes in working directory)

        modified:   arch/arm/dts/Makefile
        modified:   arch/arm/dts/sun8i-v3s.dtsi
        modified:   arch/arm/include/asm/arch-sunxi/gpio.h
        modified:   arch/arm/mach-sunxi/Kconfig
        modified:   arch/arm/mach-sunxi/board.c

Untracked files:
  (use "git add <file>..." to include in what will be committed)

        arch/arm/dts/sun8i-v3x-smallwitpi-lite-debug-uart0.dts
        arch/arm/dts/sun8i-v3x-smallwitpi-lite-debug-uart1.dts
        arch/arm/dts/sun8i-v3x-smallwitpi-lite-debug-uart2.dts
        configs/smallwitpi_lite_v3s_ddr2_debug_uart0_pb8_pb9_defconfig
        configs/smallwitpi_lite_v3s_ddr2_debug_uart0_pf2_pf4_defconfig
        configs/smallwitpi_lite_v3s_ddr2_debug_uart1_pe21_pe22_defconfig
        configs/smallwitpi_lite_v3s_ddr2_debug_uart1_pg6_pg7_defconfig
        configs/smallwitpi_lite_v3s_ddr2_debug_uart2_pb0_pb1_defconfig
        configs/smallwitpi_lite_v3x_ddr3_debug_uart0_pb8_pb9_defconfig
        configs/smallwitpi_lite_v3x_ddr3_debug_uart0_pf2_pf4_defconfig
        configs/smallwitpi_lite_v3x_ddr3_debug_uart1_pe21_pe22_defconfig
        configs/smallwitpi_lite_v3x_ddr3_debug_uart1_pg6_pg7_defconfig
        configs/smallwitpi_lite_v3x_ddr3_debug_uart2_pb0_pb1_defconfig

no changes added to commit (use "git add" and/or "git commit -a")
u-boot$


V3s u-boot 配置(五组串口随意选择):

ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- make smallwitpi_lite_v3s_ddr2_debug_uart0_pb8_pb9_defconfig  
ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- make smallwitpi_lite_v3s_ddr2_debug_uart0_pf2_pf4_defconfig  
ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- make smallwitpi_lite_v3s_ddr2_debug_uart1_pe21_pe22_defconfig
ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- make smallwitpi_lite_v3s_ddr2_debug_uart1_pg6_pg7_defconfig  
ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- make smallwitpi_lite_v3s_ddr2_debug_uart2_pb0_pb1_defconfig  

V3x u-boot 配置(五组串口随意选择):

ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- make smallwitpi_lite_v3x_ddr3_debug_uart0_pb8_pb9_defconfig  
ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- make smallwitpi_lite_v3x_ddr3_debug_uart0_pf2_pf4_defconfig  
ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- make smallwitpi_lite_v3x_ddr3_debug_uart1_pe21_pe22_defconfig
ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- make smallwitpi_lite_v3x_ddr3_debug_uart1_pg6_pg7_defconfig  
ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- make smallwitpi_lite_v3x_ddr3_debug_uart2_pb0_pb1_defconfig  

如果还需要其他 u-boot 配置执行:

ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- make menuconfig 

编译:

ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- make

请注意!!!如果使用pf2/pf4作为串口输出,那么不支持tf卡启动!!!
请注意!!!如果使用pf2/pf4作为串口输出,那么不支持tf卡启动!!!
请注意!!!如果使用pf2/pf4作为串口输出,那么不支持tf卡启动!!!





V3s手册V1.0: Allwinner_V3s_Datasheet_V1.0.pdf
V3LP手册V1.0: V3LP_Datasheet_V1.0.pdf
用户手册:Allwinner_V3s_User_Manual_V1_0.pdf
原理图:ORCAD_V3S_CDR_STD_V1_0_20150526.zip

离线

楼主 #1 2021-10-17 17:32:47

小智跑腿
会员
注册时间: 2020-04-26
已发帖子: 78
积分: 78

Re: (V3s/V3x/S3/S3L/R11通吃)小智V3x开发板smallwitpi lite u-boot/linux/buildroot测试

克隆:
git clone https://github.com/buildroot/buildroot -b 2020.02.4

patch 下载: br2_v3_uart0_pf2_pf4.tgz

使用方法,直接解压到buildroot根目录:
tar xvf br2_v3_uart0_pf2_pf4.tgz

编译指令:
make br2_v3_uart0_pf2_pf4_defconfig

flash固件下载: firmware-smallwitpi-lite-v1-spinor-20211017173200.7z (用于V3s,串口UART0 PF2/PF4)

最近编辑记录 小智跑腿 (2021-10-17 17:33:52)

离线

楼主 #2 2021-10-17 20:15:27

小智跑腿
会员
注册时间: 2020-04-26
已发帖子: 78
积分: 78

Re: (V3s/V3x/S3/S3L/R11通吃)小智V3x开发板smallwitpi lite u-boot/linux/buildroot测试

patch 下载: br2_v3_uart0_pb8_pb9-spinor-tfcard-20211017201000.tgz

使用方法,直接解压到buildroot根目录:
br2_v3_uart0_pb8_pb9-spinor-tfcard-20211017201000.tgz

编译指令: make br2_v3_uart0_pb8_pb9_defconfig

tf卡固件下载: firmware-smallwitpi-lite-v1-sdcard-uart0-pb8-pb9-tfcard-20211017201400.7z (用于V3s,串口UART0 PB8/9)

spi nor 固件: firmware-smallwitpi-lite-v1-spinor-uart0-pb8-pb9-spinor-20211024174500.7z  (用于V3s,串口UART0 PB8/9,16M spinor)

离线

楼主 #3 2021-10-18 16:58:55

小智跑腿
会员
注册时间: 2020-04-26
已发帖子: 78
积分: 78

Re: (V3s/V3x/S3/S3L/R11通吃)小智V3x开发板smallwitpi lite u-boot/linux/buildroot测试

7F0E0225CDB5679F5AE73B83D6820F98.jpg



小智V3x开发板16M SPI NOR /TFCARD 固件,分辨率480x272:
firmware-smallwitpi-lite-v1-spinor-uart0-pb8-pb9-480x272-开机显示一朵荷花.7z

小智V3x开发板TFCard 固件,分辨率480x272:
firmware-smallwitpi-lite-v1-sdcard-uart0-pb8-pb9-480x272-开机显示一朵荷花.7z

克隆:
git clone https://github.com/buildroot/buildroot -b 2020.02.4

buildroot patch: br2_v3_uart0_pb8_pb9-spinor-tfcard-20211026132800.tgz

解压:

tar xvf br2_v3_uart0_pb8_pb9-spinor-tfcard-20211026132800.tgz

生成 V3s / S3L 固件:

make br2_smallwitpi_lite_v3_ddr2_uart0_pb8_pb9_tfcard_spinor_defconfig

生成 V3x / S3 固件:

make br2_smallwitpi_lite_v3_ddr3_uart0_pb8_pb9_tfcard_spinor_defconfig

电阻触摸屏触摸校正与测试(NS2009 I2C PB8/9, 中断: PB0 ):

TSLIB_TSDEVICE=/dev/input/event0 ts_calibrate
TSLIB_TSDEVICE=/dev/input/event0 ts_test

离线

楼主 #4 2021-10-18 16:58:59

小智跑腿
会员
注册时间: 2020-04-26
已发帖子: 78
积分: 78

Re: (V3s/V3x/S3/S3L/R11通吃)小智V3x开发板smallwitpi lite u-boot/linux/buildroot测试

占位

离线

楼主 #5 2021-10-18 16:59:02

小智跑腿
会员
注册时间: 2020-04-26
已发帖子: 78
积分: 78

Re: (V3s/V3x/S3/S3L/R11通吃)小智V3x开发板smallwitpi lite u-boot/linux/buildroot测试

占位

离线

楼主 #6 2021-10-18 16:59:07

小智跑腿
会员
注册时间: 2020-04-26
已发帖子: 78
积分: 78

Re: (V3s/V3x/S3/S3L/R11通吃)小智V3x开发板smallwitpi lite u-boot/linux/buildroot测试




buildroot 源码补丁: smallwitpi_lite_patch_5inch_800x480_ns2009_rtp_20220222_src.tgz

5寸 800x480 电阻触摸屏固件: smallwitpi_lite_patch_5inch_800x480_ns2009_rtp_20220222_firmware.7z


源码使用方法:

①克隆:
git clone https://github.com/buildroot/buildroot -b 2020.02.4

② 解压源码补丁: tar xvf smallwitpi_lite_patch_5inch_800x480_ns2009_rtp_20220222_src.tgz

③编译:
make br2_smallwitpi_lite_v3_ddr3_uart0_pb8_pb9_tfcard_spinor_defconfig
make

④固件位置:
TF卡固件:          output/images/firmware-smallwitpi-lite-v1-sdcard.img
SPI FLASH固件: output/images/firmware-smallwitpi-lite-v1-spinor.img

离线

楼主 #7 2021-10-18 16:59:12

小智跑腿
会员
注册时间: 2020-04-26
已发帖子: 78
积分: 78

Re: (V3s/V3x/S3/S3L/R11通吃)小智V3x开发板smallwitpi lite u-boot/linux/buildroot测试

占位

离线

楼主 #8 2021-10-18 16:59:25

小智跑腿
会员
注册时间: 2020-04-26
已发帖子: 78
积分: 78

Re: (V3s/V3x/S3/S3L/R11通吃)小智V3x开发板smallwitpi lite u-boot/linux/buildroot测试

占位

离线

楼主 #10 2021-10-27 17:41:54

小智跑腿
会员
注册时间: 2020-04-26
已发帖子: 78
积分: 78

Re: (V3s/V3x/S3/S3L/R11通吃)小智V3x开发板smallwitpi lite u-boot/linux/buildroot测试

c02636adaae74215ffcea3aca268931.jpg


picogl / tinygl软件渲染,段错误死机了,只能看到一帧。

离线

楼主 #22 2022-02-22 21:40:18

小智跑腿
会员
注册时间: 2020-04-26
已发帖子: 78
积分: 78

Re: (V3s/V3x/S3/S3L/R11通吃)小智V3x开发板smallwitpi lite u-boot/linux/buildroot测试

eddard 说:

请问开发板哪里有出售?

购买链接: https://item.taobao.com/item.htm?id=609079385265

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn