Not able to boot into BBG after changing uEnv.txt

Hello Everyone,

I have a beaglebone green and I converted the am335x-evm.dtb file to a dts file.
After that I made some changes in it to give the specification of the board connected
to the BBG. Then I changed that dts file to dtb file so that it can be read by the kernel
during the boot process.
At the end, I added a line in the the /boot/uEnv.txt file as follows…
dtb=am335x-evm.dtb

But now I am not able to boot into BBG. All the four leds are ON and doesn’t blink
anymore.

I have two questions to ask…

What was my mistake here?
And how can I recover my BBG?

Thanks

Hello Everyone,

I have a beaglebone green and I converted the am335x-evm.dtb file to a dts file.
After that I made some changes in it to give the specification of the board connected
to the BBG. Then I changed that dts file to dtb file so that it can be read by the kernel
during the boot process.
At the end, I added a line in the the /boot/uEnv.txt file as follows...
dtb=am335x-evm.dtb

But now I am not able to boot into BBG. All the four leds are ON and doesn't blink
anymore.

I have two questions to ask..
What was my mistake here?

Your mistake was using using the dtb for the am335x-evm.dtb.. Here's
what that board looks like:

Doesn't look at all like the BBG

And how can I recover my BBG?

Just reflash..

Regards,

Hello Everyone,

I have a beaglebone green and I converted the am335x-evm.dtb file to a dts file.
After that I made some changes in it to give the specification of the board connected
to the BBG. Then I changed that dts file to dtb file so that it can be read by the kernel
during the boot process.
At the end, I added a line in the the /boot/uEnv.txt file as follows…
dtb=am335x-evm.dtb

But now I am not able to boot into BBG. All the four leds are ON and doesn’t blink
anymore.

I have two questions to ask…
What was my mistake here?

Your mistake was using using the dtb for the am335x-evm.dtb… Here’s
what that board looks like:

http://www.ti.com/tool/TMDXEVM3358

Doesn’t look at all like the BBG

Ah! yes I realized that later.

So now I reflashed the BBG.
I saw that /boot/dtbs/ folder in BBG has all the dtb files so I changed
the am335x-bonegreen.dtb file to am335x-bonegreen.dts file i.e. I
decompiled it so that I can make changes in it.

After making some changes, I converted dts file to dtb file so that it
can be read by kernel during boot.
I also added dtb=am335x-bonegreen.dtb line in the /boot/uEnv.txt file.

But I faced the same problem again. I tried to boot into the BBG but
all the leds are ON now and it is not booting.

I don’t know where am I going wrong.
I have to keep on reflashing the BBG and do the setup all over again :frowning:

Thanks

Ah! yes I realized that later.

So now I reflashed the BBG.
I saw that /boot/dtbs/ folder in BBG has all the dtb files so I changed
the am335x-bonegreen.dtb file to am335x-bonegreen.dts file i.e. I
decompiled it so that I can make changes in it.

After making some changes, I converted dts file to dtb file so that it
can be read by kernel during boot.
I also added dtb=am335x-bonegreen.dtb line in the /boot/uEnv.txt file.

But I faced the same problem again. I tried to boot into the BBG but
all the leds are ON now and it is not booting.

I don't know where am I going wrong.
I have to keep on reflashing the BBG and do the setup all over again :frowning:

Use the device tree source under /opt/source/dtb-4.14-ti/ instead..

Plus there is a built-in makefile so you can just run:

make
sudo make install

So you can't mess up.. :wink:

Regards,