Toybrick

RK1808M0烧录问题

李雪梅

注册会员

积分
170
楼主
发表于 2021-2-3 17:15:38    查看: 14130|回复: 9 | [复制链接]    打印 | 只看该作者
本帖最后由 李雪梅 于 2021-2-4 10:33 编辑

linux环境下烧写rk1808M0,过程显示如下图所示未报错,但lsusb却一直显示ID 2207:330d,请问哪里的问题?(固件版本下载的是官方提供的TB-RK1808M0--image_V2.1版本,但此处缺少config.ini配置文件,编写添加后拷贝至~/.config/upgrade_tool)



回复

使用道具 举报

jefferyzhang

版主

积分
12937
沙发
发表于 2021-2-4 09:08:53 | 只看该作者
图呢?
回复

使用道具 举报

李雪梅

注册会员

积分
170
板凳
 楼主| 发表于 2021-2-4 10:40:32 | 只看该作者

图可能被加密打不开了,我重新复制出来:
root@YZ:~# lsusb
Bus 009 Device 002: ID 05e3:0626 Genesys Logic, Inc.
Bus 009 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 008 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 005: ID 0bda:8152 Realtek Semiconductor Corp.
Bus 002 Device 010: ID 2207:330d
Bus 002 Device 007: ID 04d9:1702 Holtek Semiconductor, Inc. Keyboard LKS02
Bus 002 Device 006: ID 1a2c:0042 China Resource Semico Co., Ltd
Bus 002 Device 004: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 002 Device 003: ID 0bda:8152 Realtek Semiconductor Corp.
Bus 002 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@YZ:~/1808-demo/burn-linux/FlashTool-v1.49# ./linux_flash.sh

Found One Loader Device

Please Press Any Key to Continue:

Command: sudo ./bin/flash.aarch64 UL ./images/MiniLoaderAll.bin
Program Data in /home/YZ/.config/upgrade_tool
Loading loader...
Support Type:RK180A     Loader ver:1.04 Loader Time:2020-09-08 10:33:36
Upgrade loader ok.
Command: sudo ./bin/flash.aarch64 DI -p ./images/parameter-linux.txt
Program Data in /home/YZ/.config/upgrade_tool
directlba=1,first4access=1,gpt=1
Write gpt...
Write gpt ok.
Command: sudo ./bin/flash.aarch64 DI -uboot ./images/uboot.img ./images/parameter-linux.txt
Program Data in /home/YZ/.config/upgrade_tool
directlba=1,first4access=1,gpt=1
Download uboot start...(0x00002000)
Download image ok.
Command: sudo ./bin/flash.aarch64 DI -trust ./images/trust.img ./images/parameter-linux.txt
Program Data in /home/YZ/.config/upgrade_tool
directlba=1,first4access=1,gpt=1
Download trust start...(0x00004000)
Download image ok.
Command: sudo ./bin/flash.aarch64 DI -boot_linux ./images/boot_linux.img
Program Data in /home/YZ/.config/upgrade_tool
directlba=1,first4access=1,gpt=1
Download boot_linux start...(0x00006000)
Download image ok.
Command: sudo ./bin/flash.aarch64 DI -rootfs ./images/rootfs.img
Program Data in /home/YZ/.config/upgrade_tool
directlba=1,first4access=1,gpt=1
Download rootfs start...(0x00026000)
Download image ok.
Command: sudo ./bin/flash.aarch64 rd
Program Data in /home/YZ/.config/upgrade_tool
Reset Device OK.
root@YZ:~/1808-demo/burn-linux/FlashTool-v1.49# lsusb
Bus 009 Device 002: ID 05e3:0626 Genesys Logic, Inc.
Bus 009 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 008 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 005: ID 0bda:8152 Realtek Semiconductor Corp.
Bus 002 Device 011: ID 2207:330d
Bus 002 Device 007: ID 04d9:1702 Holtek Semiconductor, Inc. Keyboard LKS02
Bus 002 Device 006: ID 1a2c:0042 China Resource Semico Co., Ltd


有别人重新给我个固件烧录,但识别的ID是2207:0019,我查了下对应的是3399Pro的,或者我在此基础上更改哪个可以变成1808的固件呢?
回复

使用道具 举报

jefferyzhang

版主

积分
12937
地板
发表于 2021-2-4 11:11:40 | 只看该作者
置顶帖找下m0的最新固件烧下,你这个330d就还是在loader或者maskrom下,没起来。
之前除了烧写还有做过其他操作么,比如擦除过flash?
回复

使用道具 举报

李雪梅

注册会员

积分
170
5#
 楼主| 发表于 2021-2-4 13:28:16 | 只看该作者
jefferyzhang 发表于 2021-2-4 11:11
置顶帖找下m0的最新固件烧下,你这个330d就还是在loader或者maskrom下,没起来。
之前除了烧写还有做过其他 ...

又重新下载试了下TB-RK1808M0--image_V2.0和V2.1版本的都不行,烧写后仍然是330d的状态
且只进行了烧录操作,之前烧录识别成2207:0019的状态可以运行api的demo案例,但这种状态是不是不对?
回复

使用道具 举报

jefferyzhang

版主

积分
12937
6#
发表于 2021-2-4 14:15:16 | 只看该作者
李雪梅 发表于 2021-2-4 13:28
又重新下载试了下TB-RK1808M0--image_V2.0和V2.1版本的都不行,烧写后仍然是330d的状态
且只进行了烧录操 ...

0019是对的啊,330d是烧写模式啊
回复

使用道具 举报

李雪梅

注册会员

积分
170
7#
 楼主| 发表于 2021-2-4 16:18:05 | 只看该作者
jefferyzhang 发表于 2021-2-4 14:15
0019是对的啊,330d是烧写模式啊

0019不是对应rk3399Pro的吗?我查的rk1808对应的是0018,也是网上论坛上找到的答案,请问您有这样的对应关系吗?
回复

使用道具 举报

jefferyzhang

版主

积分
12937
8#
发表于 2021-2-5 08:26:14 | 只看该作者
李雪梅 发表于 2021-2-4 16:18
0019不是对应rk3399Pro的吗?我查的rk1808对应的是0018,也是网上论坛上找到的答案,请问您有这样的对应 ...

后面这个号码没有什么联系,标示usb工作模式而已。
回复

使用道具 举报

李雪梅

注册会员

积分
170
9#
 楼主| 发表于 2021-2-23 16:13:36 | 只看该作者
jefferyzhang 发表于 2021-2-5 08:26
后面这个号码没有什么联系,标示usb工作模式而已。

好的,谢谢
回复

使用道具 举报

李雪梅

注册会员

积分
170
10#
 楼主| 发表于 2021-3-10 11:53:08 | 只看该作者
目前烧录别人给的的固件只能做被动模式用,应该不是官方的,现在想用主动模式,但还是这个问题烧录官网固件会到下载boot失败,烧写不成功,请帮忙解决下
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

产品中心 购买渠道 开源社区 Wiki教程 资料下载 关于Toybrick


快速回复 返回顶部 返回列表