Not able to boot into BBG after changing uEnv.txt

24 views
Skip to first unread message

shreeya.p...@gmail.com

unread,
Mar 21, 2019, 8:12:08 AM3/21/19
to BeagleBoard
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

Robert Nelson

unread,
Mar 21, 2019, 10:00:47 AM3/21/19
to Beagle Board, Shreeya Patel
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

> And how can I recover my BBG?

Just reflash..

Regards,

--
Robert Nelson
https://rcn-ee.com/

Robert Nelson

unread,
Mar 21, 2019, 1:38:35 PM3/21/19
to Shreeya Patel, Beagle Board
> 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 :(

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.. ;)

Shreeya Patel

unread,
Mar 21, 2019, 3:26:02 PM3/21/19
to Robert Nelson, Beagle Board
On Thu, Mar 21, 2019 at 7:30 PM Robert Nelson <robert...@gmail.com> wrote:
On Thu, Mar 21, 2019 at 7:12 AM <shreeya.p...@gmail.com> wrote:
>
> 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 :(

Thanks
 
Reply all
Reply to author
Forward
0 new messages