Hi Quentin, On Fri, Jan 24, 2025 at 11:15 AM Quentin Schulz <quentin.sch...@cherry.de> wrote:
> Hi Marek, > > On 1/24/25 11:04 AM, Marek Belisko via lists.yoctoproject.org wrote: > > Hello, > > > > I'm trying to add support for rk3328-evb. I've added a machine and built > a > > minimal image which I would like to flash to emmc. For flashing I'm > usually > > using rkdeveloptool which download some binary blok (loader) and then can > > flash wic image (at least I'm doing that for radxa boards). Does anybody > > have an idea where I can find such loader pls? I've tried this : > > https://xdaforums.com/attachments/for-rk3328-devices-rar.5168743/ but > none > > of them works (it prints: Opening loader failed, exiting download boot!). > > I've tried to use MiniLoaderAll.bin from the vendor but this one just > > prints some garbage to the serial port and I cannot download wic after > that. > > > > I do not have any RK3328 board available, but the instructions so far > are the same for RK3399, PX30 and RK3588 (the boards I do have access to). > > https://github.com/rockchip-linux/rkbin > tools/boot_merger RKBOOT/RK3328MINIALL.ini > > This will generate an rk3328_loader_v1.21.250.bin file at the root of > rkbin directory. Use that as argument for `rkdeveloptool db` command. > Thanks a lot for that. > > If your board is using a different baudrate or console mux/controller, > you can modify its configuration for the DDR bin blob (first stage > bootloader contained in rk3328_loader_*.bin) by editing > tools/ddrbin_param.txt and then calling tools/ddrbin_tool.py rk3328 on > bin/rk33/rk3328_ddr_*.bin. Since there are two, you need to know which > one to edit. Reading RKBOOT/RK3328MINIALL.ini, the 333MHz one is used. > > FYI, you can also replace rkdeveloptool with rockusb from Collabora, > available here: > https://github.com/collabora/rockchiprs/tree/main/rockusb/examples What > I like about it is that it handles bmap files for flashing on the eMMC :) > Oh perfect. Didn't know about that one. Maybe we can put that info to meta-rockchip wiki/README. > > Cheers, > Quentin > Thanks and BR, marek -- as simple and primitive as possible ------------------------------------------------- Marek Belisko - OPEN-NANDRA Freelance Developer Ruska Nova Ves 219 | Presov, 08005 Slovak Republic Tel: +421 915 052 184 skype: marekwhite twitter: #opennandra web: http://open-nandra.com
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#64624): https://lists.yoctoproject.org/g/yocto/message/64624 Mute This Topic: https://lists.yoctoproject.org/mt/110787954/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-