Boot with uImage and device tree

Hi,

I am looking for a uEnv.txt file which allow me to boot a uImage with a BBM .dtb file.

I use this one :

mmc rescan ; fatload mmc 0 82000000 uImage;fatload mmc 0 80000000 am335x-boneblack.dtb
mmcargs=setenv bootargs 'console=ttyO0,115200n8 mem=256M root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait init=/init ’
fdt addr 80000000; fdt resize; bootm 82000000 - 80000000 ; run mmcargs

But I can’t boot!!

I don’t have serial cable, but I have a HDMI screen;

So what’s i need to add in my uEnv.txt in order to have u-boot trace in my HDMI screen?

best!

Hi,

I am looking for a uEnv.txt file which allow me to boot a uImage with a BBM
.dtb file.

I use this one :

mmc rescan ; fatload mmc 0 82000000 uImage;fatload mmc 0 80000000
am335x-boneblack.dtb
mmcargs=setenv bootargs 'console=ttyO0,115200n8 mem=256M
root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait init=/init '
fdt addr 80000000; fdt resize; bootm 82000000 - 80000000 ; run mmcargs

But I can't boot!!

Well why are you running "mmcargs" after bootm? Once bootm runs,
everything in u-boot afterwards will not be run...

I don't have serial cable, but I have a HDMI screen;

Get a serial cable... Blind debugging can be painful and a waste of time..

So what's i need to add in my uEnv.txt in order to have u-boot trace in my
HDMI screen?

Well first, patches to enable hdmi output/terminal in u-boot.. Could
be a good google summer of code project....

Regards,