Please refer to my console log on ls1028ardb as the following, I didn't reproduce your problem.
root@ls1028ardb:~# touch /etc/u-boot-initial-env
root@ls1028ardb:~# vi /etc/fw_env.config
root@ls1028ardb:~# cat /etc/fw_env.config
# device name Device offset Env. size Flash sector size Number of sectors
/dev/mmcblk0 0x500000 0x2000
root@ls1028ardb:~# ./fw_setenv aaaasetvar linux
root@ls1028ardb:~# hexdump /dev/mmcblk0 -s 5242880 -n 128 -C
00500000 a4 f6 ef fe 61 61 61 61 73 65 74 76 61 72 3d 6c |....aaaasetvar=l|
00500010 69 6e 75 78 00 61 72 63 68 3d 61 72 6d 00 62 61 |inux.arch=arm.ba|
00500020 75 64 72 61 74 65 3d 31 31 35 32 30 30 00 62 6f |udrate=115200.bo|
00500030 61 72 64 3d 6c 73 31 30 32 38 61 72 64 62 00 62 |ard=ls1028ardb.b|
00500040 6f 61 72 64 5f 6e 61 6d 65 3d 6c 73 31 30 32 38 |oard_name=ls1028|
00500050 61 00 62 6f 6f 74 5f 61 5f 73 63 72 69 70 74 3d |a.boot_a_script=|
00500060 6c 6f 61 64 20 24 7b 64 65 76 74 79 70 65 7d 20 |load ${devtype} |
00500070 24 7b 64 65 76 6e 75 6d 7d 3a 24 7b 64 69 73 74 |${devnum}:${dist|
00500080
root@ls1028ardb:~# reboot
INIT: Sending processes configured via /etc/inittab the TERM signal
root@ls1028ardb:~# Stopping OpenBSD Secure Shell server: sshdstopped /usr/sbin/sshd (pid 918)
.
Stopping network benchmark server: netserverstopped /usr/sbin/netserver (pid 925)
.
Stopping system log daemon...0
Stopping internet superserver: xinetd.
Stopping random number generator daemon.
Deconfiguring network interfaces... done.
Stopping watchdog daemon...Sending all processes the TERM signal...
Sending all processes the KILL signal...
Unmounting remote filesystems...
Deactivating swap...
Unmounting local filesystems...
[ 362.558936] EXT4-fs (ram0): re-mounted. Opts: (null)
Rebooting... [ 362.573535] kvm: exiting hardware virtualization
[ 362.638300] reboot: Restarting system
NOTICE: Fixed DDR on board
NOTICE: 4 GB DDR4, 32-bit, CL=11, ECC on
NOTICE: BL2: v2.4(release):lf-5.10.72-2.2.0-16-gf3b196f23
NOTICE: BL2: Built : 07:51:09, Dec 22 2021
NOTICE: BL2: Booting BL31
NOTICE: BL31: v2.4(release):lf-5.10.72-2.2.0-16-gf3b196f23
NOTICE: BL31: Built : 07:51:09, Dec 22 2021
NOTICE: Welcome to ls1028ardb BL31 Phase
U-Boot 2021.04+fsl+gd65732ae99 (Dec 29 2021 - 08:16:57 +0000)
SoC: LS1028AE Rev1.0 (0x870b0010)
Clock Configuration:
CPU0(A72):1500 MHz CPU1(A72):1500 MHz
Bus: 400 MHz DDR: 1600 MT/s
Reset Configuration Word (RCW):
00000000: 3c004010 00000030 00000000 00000000
00000010: 00000000 018f0000 0030c000 00000000
00000020: 020031a0 00002580 00000000 00003296
00000030: 00000000 00000010 00000000 00000000
00000040: 00000000 00000000 00000000 00000000
00000050: 00000000 00000000 00000000 00000000
00000060: 00000000 00000000 200e705a 00000000
00000070: bb580000 00000000
Model: NXP Layerscape 1028a RDB Board
Board: LS1028AE Rev1.0-RDB, Version: C, boot from NOR
FPGA: v6 (RDB)
SERDES1 Reference : Clock1 = 100.00MHz Clock2 = 100.00MHz
DRAM: 3.9 GiB
DDR 3.9 GiB (DDR4, 32-bit, CL=11, ECC on)
Using SERDES1 Protocol: 47960 (0xbb58)
PCIe1: pcie@3400000 Root Complex: no link
PCIe2: pcie@3500000 Root Complex: no link
WDT: Started with servicing (60s timeout)
MMC: FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from SPIFlash... SF: Detected mt35xu02g with page size 256 Bytes, erase size 128 KiB, total 256 MiB
OK
EEPROM: NXID v1
In: serial
Out: serial
Err: serial
SEC0: RNG instantiated
Net: eth0: enetc-0, eth1: enetc-2, eth2: swp0, eth3: swp1, eth4: swp2, eth5: swp3
=> qixis_reset sd
=> NOTICE: Fixed DDR on board
NOTICE: 4 GB DDR4, 32-bit, CL=11, ECC on
NOTICE: BL2: v1.5(release):LSDK-20.04-update-290520
NOTICE: BL2: Built : 13:52:31, May 18 2020
NOTICE: BL31: v1.5(release):LSDK-20.04-update-290520
NOTICE: BL31: Built : 13:52:31, May 18 2020
NOTICE: Welcome to LS1028 BL31 Phase
U-Boot 2019.10+fsl+g1e55b2f9e7 (May 26 2020 - 06:54:57 +0000)
SoC: LS1028AE Rev1.0 (0x870b0010)
Clock Configuration:
CPU0(A72):1500 MHz CPU1(A72):1500 MHz
Bus: 400 MHz DDR: 1600 MT/s
Reset Configuration Word (RCW):
00000000: 3c004010 00000030 00000000 00000000
00000010: 00000000 018f0000 0030c000 00000000
00000020: 01e031a0 00002580 00000000 00003296
00000030: 00000000 00000010 00000000 00000000
00000040: 00000000 00000000 00000000 00000000
00000050: 00000000 00000000 00000000 00000000
00000060: 00000000 00000000 200e705a 00000000
00000070: bb580000 00000000
Model: NXP Layerscape 1028a RDB Board
Board: LS1028AE Rev1.0-RDB, Version: C, boot from SD
FPGA: v6 (RDB)
SERDES1 Reference : Clock1 = 100.00MHz Clock2 = 100.00MHz
DRAM: 3.9 GiB
DDR 3.9 GiB (DDR4, 32-bit, CL=11, ECC on)
Using SERDES1 Protocol: 47960 (0xbb58)
PCIe0: pcie@3400000 Root Complex: no link
PCIe1: pcie@3500000 Root Complex: no link
WDT: Started with servicing (60s timeout)
MMC: FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from MMC... OK
EEPROM: NXID v1
In: serial
Out: serial
Err: serial
Net: eth0: enetc-0, eth2: enetc-2, eth4: felix-switch@0, eth5: felix-switch@1, eth6: felix-switch@2, eth7: felix-switch@3, eth8: felix-switch@4
=> pri aaaasetvar
aaaasetvar=linux
=>