@george It's fine for me—as a TrustZone developer, I always use a custom U-Boot and build the entire system myself.
However, it's good to keep this as a note to inform other developers.
@george It's fine for me—as a TrustZone developer, I always use a custom U-Boot and build the entire system myself.
However, it's good to keep this as a note to inform other developers.
@Neozy Because the other images are split into two partitions:
This layout is somewhat uncommon, as most distributions place the kernel image and DTB files directly under the /boot directory within the root filesystem. As a result, you may need to modify the boot script of your bootloader (e.g., U-Boot) to account for this partitioning scheme.
@george @emtohere 我看了一些镜像的内容,发现你们一些镜像实际搞了两个分区
1)boot:从0x4000开始,image,dtb,ramfs都放在这里
2)rootfs:从0x84000开始,linux就放在这里,然后boot下面是空的
而armbian就按照正常的Linux distro那样,把image、dtb,ramfs放到rootfs的boot下面,所以导致了只有armbian能够启动。
如果要刷你们的镜像的话,bootloader就需要改一下。比如U-Boot那边改一下启动脚本什么的。
@mtiqbal try this link: https://coolpi-my.sharepoint.com/personal/coolpi_coolpi_onmicrosoft_com/_layouts/15/onedrive.aspx?ga=1&id=%2Fpersonal%2Fcoolpi_coolpi_onmicrosoft_com%2FDocuments%2Fcoolpi%2Fcoolpi%2FCoolPi CM5 NOTEBOOK V20%2FUbuntu
Or you can manually navigate to the file:
click one drive on the top bar of the forum:
navigate to the right path, and download the 3.10 GB file:
@mxpfeng 可以仿照这个,我理解5b的串口配置应该都差不多。
https://cool-pi.com/topic/26/coolpi-4b-debug-console串口接线配置说明?_=1715909783162
然后这种串口转USB的线淘宝上随便两三块钱买一个就好: 【淘宝】https://m.tb.cn/h.g2Q4mDj?tk=K3ZoWF1EmbK CZ3452 「黑PL2303HX USB转TTL RS232模块升级 USB转串口下载线中九刷机线」
点击链接直接打开 或者 淘宝搜索直接打开
@george
所以我可以这么理解么?
1)当前coolpi-4b只支持从SPINOR Flash引导,我们的bootloader必须刷入SPINOR FLASH中,如果我选择清空SPINOR FLASH的话那整个板子启动就直接进入Maskrom模式。
2)coolpi-loader项目中提供的引导能力是基于rockchip的miniloader的,自定义SPL loader目前还不太可行
因为个人使用的是arm64的linux电脑或者一个Mac,所以能够使用的工具就是rkdeveloptool了。
现在有一个问题就是我直接使用rkdeveloptool去写入镜像(就下述命令)
sudo rkdeveloptool wl 0 ${some image}
写入完成后我的coolpi4b是没有反应的,启动后直接再次进入maskrom模式。
然后借了台Windows电脑用RKDevTool去执行按照地址写入整个镜像(同一个镜像文件),就成功启动了。。。
我想知道这两个工具写入有什么区别?
PS:镜像是Armbian_23.02.0
背景:需要自定义tee os(使用OPTEE而不是rockchip的TEE),所以想要定制bootloader。
我之前有个rock pi 4b,然后其启动流程就如同这里所示:https://opensource.rock-chips.com/wiki_Boot_option,基于这个wiki我们构建了一个基于官方TEE的启动镜像。
不过现在想知道在RK3588S的coolpi上是否也是一样的启动流程,如果地址或者流程不一样的话,能否告知一下coolpi 4b的启动流程呢