Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

convert u-boot.bin to RK3288UbootLoader_V2.19.01.bin

80

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
80

convert u-boot.bin to RK3288UbootLoader_V2.19.01.bin

Posted at 4/28/2016 21:17:09      View:5255 | Replies:3        Print      Only Author   [Copy Link] 1#
Last edited by banavathvishnu In 4/28/2016 21:20 Editor

Hi,
Can someone help me understand how do I convert u-boot.bin to RK3288UbootLoader_V2.19.01.bin so that upgrade_tool allows me to flash the boot loader that I have built from source  http://git.denx.de/?p=u-boot/u-boot-rockchip.git;a=summary ?

Tried copying rk_tools and generated RK3288UbootLoader_V2.19.01 using command $ ./tools/boot_merger --subfix ".01.bin" ./tools/rk_tools/RKBOOT/RK3288.ini

Flashed this image and board bricked.

Im aware that I can use SDCard but I want to flash the images

Thanks
Reply

Use props Report

1175

Credits

0

Prestige

0

Contribution

vip

Rank: 6Rank: 6

Credits
1175
Posted at 4/29/2016 16:12:36        Only Author  2#
Last edited by mara In 4/29/2016 16:21 Editor

Writing to the board with USB
=============================
http://git.denx.de/?p=u-boot/u-b ... de74f6789d5;hb=HEAD

compile on git u-boot
http://dl.fail.pp.ua/slackware/f ... 3288UbootLoader.bin
donation   slarm64
Reply

Use props Report

80

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
80
Posted at 5/4/2016 01:17:15        Only Author  3#
Is there anything wrong with this command

./tools/mkimage -n rk3288 -T rkimage -d ./spl/u-boot-spl-dtb.bin out && cat out | openssl rc4 -K 7c4e0304550509072d2c7b38170d1711 | sudo rkflashtool l

rkflashtool: info: rkflashtool v5.2
rkflashtool: info: Detected RK3288...
rkflashtool: info: interface claimed
rkflashtool: info: load DDR init

I could see rkflashtool dumping info but I still see board booting with older bootloader. How do I know if the binary is flashed really?
Reply

Use props Report

80

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
80
Posted at 5/4/2016 16:46:22        Only Author  4#
Last edited by banavathvishnu In 5/4/2016 17:50 Editor

After erasing eMMC using   dd if=/dev/zero of=/dev/mmcblk0 bs=1M  and flashing uboot bootloader I could see boot message

U-Boot SPL 2016.05-rc2-04879-g78f5953-dirty (May 03 2016 - 17:48:51)
Trying to boot from MMC1
Card did not respond to voltage select!
spl: mmc init failed with error: -17
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###

But on resetting board it  stops booting.  No idea what went wrong.

Does anyone know why board could not find boot devices?
I was hoping atleast it should boot to uboot.

./common/spl/spl.c

void board_init_r(gd_t *dummy1, ulong dummy2)
{

       ------
       ------
        if (i == ARRAY_SIZE(spl_boot_list) ||
            spl_boot_list == BOOT_DEVICE_NONE) {
                puts("SPL: failed to boot from all boot devices\n");
                //hang();
        }
    ------
}

Commented out hang() and I could see below boot messages

U-Boot SPL 2016.05-rc2-04879-g78f5953-dirty (May 04 2016 - 10:34:50)
Boot device
Trying to boot from MMC1
Card did not respond to voltage select!
spl: mmc init failed with error: -17
SPL: failed to boot from all boot devices
Unsupported OS image.. Jumping nevertheless..
loaded - jumping to U-Boot...image entry point: 0x


NOTE:  No MMC card present in TFCARD slot.
Do I need to have MMC card in TFCARD slot?

What should I do to boot uboot from eMMC?
Thanks

Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list