Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

Linux/AM3358: Changing board name in U-boot

$
0
0

Part Number:AM3358

Tool/software: Linux

In uboot ,

default  board_name =BBBW , so it taking 

"if test $board_name = BBBW; then " \
"setenv fdtfile am335x-boneblack-wireless.dtb; fi; " \.

i want to change board

"if test $board_name = A335BNLT; then " \
"setenv fdtfile am335x-boneblack.dtb; fi; " \

name to A335BNLT , so it takes  am335x-boneblack.dtb; file ,

how to change board_name in uboot .

I changed the board neme in uboot.env, but board_name has not changed 

root@am335x-evm:~# cat /run/media/mmcblk0p1/uboot.env 
�f+arch=armargs_mmc=run finduuid;setenv bootargs console=${console} ${optargs} root=PARTUUID=${uuid} rw rootfstype=${mmcrootfstype}baudrate=115200board=am335xboard_name=A335BNLTboard_rev=BWA5boot_a_scri 

In Uboot.env , i changed the board_name=A335BNLT , default it was BBBW .

but 

U-Boot 2018.01-00558-gcd25eb3-dirty (May 14 2019 - 17:46:28 +0530)

CPU : AM335X-GP rev 2.1
Model: TI AM335x BeagleBone Black
DRAM: 512 MiB
NAND: 0 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
*** Warning - bad CRC, using default environment

<ethaddr> not set. Validating first E-fuse MAC
Net: Could not get PHY for cpsw: addr 0
cpsw, usb_ether
Hit any key to stop autoboot: 0 
=> printenv
arch=arm
args_mmc=run finduuid;setenv bootargs console=${console} ${optargs} root=PARTUUID=${uuid} rw rootfstype=${mmcrootfstype}
baudrate=115200
board=am335x
board_name=BBBW
board_rev=BWA5


but still board_name shows board_name=BBBW .

In run/media/mmc../ , uboot.env file is there , i didnt found uenv.txt . can we edit that file ?


Viewing all articles
Browse latest Browse all 17527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>