Questions from newbie - 2017.07 U-Boot Kirkwood : GoFlex Home February 05, 2022 09:46AM |
Registered: 1 year ago Posts: 15 |
GoFlex Home version 10.0.x -bash-3.2$ uname -a Linux axentraserver.********.seagateshare.com 2.6.22.18 #14 Wed Oct 27 15:41:03 EDT 2010 armv5tejl armv5tejl armv5tejl GNU/Linux -bash-3.2$ sudo -E -s We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things: #1) Respect the privacy of others. #2) Think before you type. #3) With great power comes great responsibility. Password: audit_log_user_command(): Connection refused -bash-3.2# cat /etc/fw_env.config cat: /etc/fw_env.config: No such file or directory -bash-3.2# cat /proc/mtd dev: size erasesize name mtd0: 00100000 00020000 "u-boot" mtd1: 00600000 00020000 "uImage" mtd2: 0f900000 00020000 "root" bash-3.2# fw_printenv ethaddr Warning: Bad CRC, using default environment ## Error: "ethaddr" not defined bash-3.2# dmesg | grep -i 'bad' Scanning device for bad blocks UBI: number of bad PEBs: 0 UBI: number of PEBs reserved for bad PEB handling: 38 bash-3.2# dmesg | grep -i ethaddr bash-3.2# fw_printenv Warning: Bad CRC, using default environment bootcmd=bootp; setenv bootargs root=/dev/nfs nfsroot=${serverip}:${rootpath} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; bootm bootdelay=5 baudrate=115200 bash-3.2#
dev: size erasesize name mtd0: 00100000 00020000 "u-boot" mtd1: 00400000 00020000 "uImage" mtd2: 02000000 00020000 "rootfs" mtd3: 0db00000 00020000 "data"
Re: Questions from newbie - 2017.07 U-Boot Kirkwood : GoFlex Home February 05, 2022 03:45PM |
Admin Registered: 12 years ago Posts: 17,629 |
Quote
Warning: Bad CRC, using default environment
dev: size erasesize name mtd0: 00100000 00020000 "u-boot" mtd1: 00600000 00020000 "uImage" mtd2: 0f900000 00020000 "root"
dev: size erasesize name mtd0: 00100000 00020000 "u-boot" mtd1: 00400000 00020000 "uImage" mtd2: 02000000 00020000 "rootfs" mtd3: 0db00000 00020000 "data"
Quote
Note: for boxes such as Pogo V4 and Zyxel NSA3xx, the mtd partition definition are kept the same as stock definition, therefore is different from the one above.
If you don't have /etc/fw_env.config file in your system then go ahead and create this file with the above content. MTD parts are not important for booting and it can be adjusted later. For users who like to keep the stock mtd definition, there is no need to adjust it to the above definition. As long as mtd0 is defined as 1MB (0x00100000) or greater then it will be OK:
mtd0: 00100000 00020000 "u-boot"
Quote
And ethaddr is empty
Re: Questions from newbie - 2017.07 U-Boot Kirkwood : GoFlex Home February 05, 2022 05:05PM |
Registered: 1 year ago Posts: 15 |
Re: Questions from newbie - 2017.07 U-Boot Kirkwood : GoFlex Home February 05, 2022 05:44PM |
Admin Registered: 12 years ago Posts: 17,629 |
Re: Questions from newbie - 2017.07 U-Boot Kirkwood : GoFlex Home February 06, 2022 12:44AM |
Registered: 1 year ago Posts: 15 |