ophub / amlogic-s9xxx-armbian

Support for Armbian in Amlogic, Rockchip and Allwinner boxes. Support a311d, s922x, s905x3, s905x2, s912, s905d, s905x, s905w, s905, s905l, rk3588, rk3568, rk3399, rk3328, h6, etc.
GNU General Public License v2.0
5.8k stars 1.86k forks source link

瑞芯微开发工具加载固件失败 #1562

Closed TheRainstorm closed 1 year ago

TheRainstorm commented 1 year ago

Device Information | 设备信息

Armbian Version | 系统版本

Describe the bug | 问题描述 可能是一个基础的问题,但是确实搜索了很久都没有找到解答。板子为king3399,使用瑞芯微开发工具(windows客户端,应用程序为AndroidTool.exe)尝试将本项目的镜像写入eMMC。在第一步选择armbian镜像时就会报错(还没有点击升级),而使用原厂的debian, ubuntu镜像不会出现这个问题,截图如下。也尝试过先擦除,仍然不行。 加载armbian报错 image 成功加载固件,显示了固件信息 image

查阅容品电子科技附带的手册,只看到以下说明:

2.1.1 固件加载失败 若是网盘下载的镜像要确保镜像没有损坏 自己编译的需要按我们提供的命令进行编译 防止打包失败可以重新编译打包

测试过了下载的镜像sha256校验和release里的一致,所以镜像应该没损坏。所以问题是打包的格式和官方工具的要求不一致导致的?是不是本项目不支持这种方式安装镜像?如果是我哪里理解有误,还请见谅。

我看到文档里8. Install Armbian to eMMC章节介绍了几种Rockchip的开发板刷Armbian进入eMMC的方式。几种均提到了使用RKDevTool直接根据地址空间写入eMMC。但是教程中给的例子除了armbian镜像均放在0x00000000相同外,Radxa-Rock5B额外需要rk3588_spl_loader_v1.08.111.bin文件,并且放在0x0,而FastRhino R68S, Beikeyun, Chainedbox-L1-Pro则是需要将MiniLoaderAll.bin放在0xCCCCCCCC。我想问一下:

因为我没有tf卡,看项目的文档,意思好像是先将armbian写入tf卡,启动系统后再通过armbian-install安装到其它存储设备中。但是能不能使用RKDevTool直接写入镜像呢,希望有大佬能解答我以上的疑惑,十分感谢。

ophub commented 1 year ago

SD/TF可以用balenaEtcher把armbian.img直接写入SD/TF即可使用。从SD/TF启动后,上传armbian.img到tf,可以dd写入emmc。

使用RKDevTool时需要loader,这个文件在同系列里通用,几个不同小版本的可以换个别的试试。比如使用仓库里u-boot/king3399里提供的

armbian-install是amlogic/allwinner用的,rockchip用不了

TheRainstorm commented 1 year ago

SD/TF可以用balenaEtcher把armbian.img直接写入SD/TF即可使用。从SD/TF启动后,上传armbian.img到tf,可以dd写入emmc。

使用RKDevTool时需要loader

armbian-install是amlogic/allwinner用的,rockchip用不了

是的!我从一篇别人的博客中找到了一个rk3399_loader_v1.24.126.bin文件,然后按照以下的地址确实成功写入armbian了。 image image

感谢,我才发现u-boot/king3399下提供了该文件 :) 不过我好奇这个文件的作用是对应这里的蓝色的idbloader.img吗?不过为什么地址是0xCCCCCCCC呢,图中不是0x40吗? image

ophub commented 1 year ago

不是

Manssizz commented 12 months ago

SD/TF can use balenaEtcher to write armbian.img directly to SD/TF for use. After booting from SD/TF, upload armbian.img to tf, and you can dd write it to emmc. Loader is required when using RKDevTool armbian-install is used by amlogic/allwinner, not rockchip.

Yes! I found a rk3399_loader_v1.24.126.bin file from someone else's blog, and then successfully wrote it to armbian according to the following address. image image

Thanks, I just discovered that this file is provided under u-boot/king3399:) But I'm curious. Does this file correspond to the blue idbloader.img here? But why is the address 0xCCCCCCCC? Isn’t it 0x40 in the picture? image

hello. do you have image copy of armbian? because i've try installing king with ophub repo, but can't installing on emmc.

TheRainstorm commented 12 months ago

hello. do you have image copy of armbian? because i've try installing king with ophub repo, but can't installing on emmc.

No, I deleted it. I actually used 2023.07 release in this repo. So I think it's not the image problem?

molodye commented 10 months ago

SD/TF可以用balenaEtcher把armbian.img直接写入SD/TF即可使用。从SD/TF启动后,上传armbian.img到tf,可以dd写入emmc。 使用RKDevTool时需要loader armbian-install是amlogic/allwinner用的,rockchip用不了

是的!我从一篇别人的博客中找到了一个rk3399_loader_v1.24.126.bin文件,然后按照以下的地址确实成功写入armbian了。 image image

感谢,我才发现u-boot/king3399下提供了该文件 :) 不过我好奇这个文件的作用是对应这里的蓝色的idbloader.img吗?不过为什么地址是0xCCCCCCCC呢,图中不是0x40吗? image

u-boot/king3399下提供了该文件 u-boot/king3399在哪里找

TheRainstorm commented 10 months ago

boot/king3399在哪里找 https://github.com/ophub/u-boot

molodye commented 10 months ago

boot/king3399在哪里找 https://github.com/ophub/u-boot

我想问一下friendlyelec的nanopc T4的uboot这里面没有,可以拿官网的替代吗