Accessing uEnv.txt

Hello:

I am currently working on Beagle Bone Black (BBB) board.

I am having uSD card and both ROOT and BOOT partitions are created with ext4 and FAT32 filesystems respectively.

I copied the MLO, uboot.img, .dtb and kernel image into BOOT partition. Now, I created on uEnv.txt file to set some boot arguments and save.

  1. Where can I place the uEnv.txt file whether in BOOT partition or ROOT partition.?
  2. How Can I change the Debug Console from UART0 to USB0 from uEnv.txt.?

Please respond as soon as possible.

Thanks and Regards,
Siva Prakash Reddy

console=ttyUSB0,115200n8

Regards,

Hi Robert:

In my case I had created only BOOT partition on my SD Card and I copied the MLO, U-boot.img and uEnv.txt files.

the content in the uEnv.txt is as follows:

uenvcmd=setenv bootargs console=ttyUSB0,115200n8 console=${console}

run uenvcmd
echo *** Booting To Baremetal_1 ***

Before applying USB power to BBB, SD card is inserted and I pressed and hold the Switch-2 to boot from SD Card.

But there is no response from the board at USB0 port.

Is it problem with uEnv.txt file.?

Are there required for any changes.?

Thanks And Regards,

Siva Prakash Reddy