Title: convert u-boot.bin to RK3288UbootLoader_V2.19.01.bin [Print This Page] Author: banavathvishnu Time: 4/28/2016 21:17 Title: convert u-boot.bin to RK3288UbootLoader_V2.19.01.bin 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 Author: mara Time: 4/29/2016 16:12 Last edited by mara In 4/29/2016 16:21 Editor
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? Author: banavathvishnu Time: 5/4/2016 16:46 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
Welcome Firefly Open Source Community (https://bbs.t-firefly.com/)