"saveenv" won't write the environment out to disk.
$ sudo dd if=/dev/zero of=/dev/sde seek=1 bs=512 count=3999 //wiping out area
just to make sure no garbage is picked up.$ sudo dd if=bl1.HardKernel
of=/dev/sde seek=1 iflag=dsync oflag=dsync$ sudo dd if=bl2.HardKernel
of=/dev/sde seek=31 iflag=dsync oflag=dsync$ sudo dd if=u-boot-dtb.bin
of=/dev/sde seek=63 iflag=dsync oflag=dsync$ sudo dd if=tzsw.HardKernel
of=/dev/sde seek=2111 iflag=dsync oflag=dsync
Fail:
git://git.denx.de/u-boot.gitcommit
47d8ae4069b47ce966c0c5e0d8dd041e69ee1f86*****U-Boot 2015.04-rc2-00081-g47d8ae4
(Feb 25 2015 - 12:12:40)
CPU: Exynos4412@1000MHzModel: Odroid based on Exynos4412DRAM: 2 GiBBoard PMIC
initMMC: SAMSUNG SDHCI: 0, EXYNOS DWMMC: 1*** Warning - bad CRC, using
default environment
DFU alt info setting: doneNet: No ethernet found.Hit any key to stop
autoboot: 0** Unrecognized filesystem type **** Unrecognized filesystem type
**** Unrecognized filesystem type **Bad Linux ARM zImage magic!Odroid #
saveenvSaving Environment to MMC...Writing to MMC(0)... failedOdroid # mmc
infoDevice: SAMSUNG SDHCIManufacturer ID: 3OEM: 5344Name: SU08GTran Speed:
50000000Rd Block Len: 512SD version 3.0High Capacity: YesCapacity: 7.4 GiBBus
Width: 4-bitErase Group Size: 512 BytesOdroid # mmc listSAMSUNG SDHCI: 0
(SD)EXYNOS DWMMC: 1Odroid # mmc part
Partition Map for MMC device 0 -- Partition Type: DOS
Part Start Sector Num Sectors UUID Type** Can't read partition table on
0:0 **Odroid # mmc hwpartition checkPartition configuration: No enhanced user
data area No GP1 partition No GP2 partition No GP3 partition No GP4
partitioneMMC >= 4.4 required for enhanced user data areaFailed!Odroid # version
U-Boot 2015.04-rc2-00081-g47d8ae4 (Feb 25 2015 -
12:12:40)armv7l-unknown-linux-gnueabihf-gcc (GCC) 5.0.0 20150221
(experimental)GNU ld (GNU Binutils) 2.25.51.20150221Odroid # fstype mmc 0:0 **
ext4fs_devread read error - blockFailed to mount ext2 filesystem...**
Unrecognized filesystem type **Odroid # bdinfoarch_number =
0x000010C1boot_params = 0x40000100DRAM bank = 0x00000000-> start =
0x40000000-> size = 0x10000000DRAM bank = 0x00000001-> start =
0x50000000-> size = 0x10000000DRAM bank = 0x00000002-> start =
0x60000000-> size = 0x10000000DRAM bank = 0x00000003-> start =
0x70000000-> size = 0x10000000DRAM bank = 0x00000004-> start =
0x80000000-> size = 0x10000000DRAM bank = 0x00000005-> start =
0x90000000-> size = 0x10000000DRAM bank = 0x00000006-> start =
0xA0000000-> size = 0x10000000DRAM bank = 0x00000007-> start =
0xB0000000-> size = 0x0FF00000current eth = unknownip_addr =
<NULL>baudrate = 115200 bps
TLB addr = 0xBFEF0000relocaddr = 0xBDE43000reloc off = 0x7A043000irq_sp
= 0xB8E3D860sp start = 0xB8E3D850*****Ignore the "unrecognized
filesystem type" stuff. I'm using ext4.mmc hwpartition only used for eMMC?
Success:https://github.com/hardkernel/u-boot.gitcommit
33e05ffb159141b640571e91470172d83a2a1273*****U-Boot 2010.12-svn (May 12 2014 -
15:05:46) for Exynox4412
CPU: S5PC220 [Samsung SOC on SMP Platform Base on ARM CortexA9]APLL = 1000MHz,
MPLL = 880MHzDRAM: 2 GiB
PMIC VERSION : 0x00, CHIP REV : 3TrustZone Enabled BSPBL1 version: 20121128
Checking Boot Mode ... SDMMCMMC Device 0: 7580 MBMMC Device 1 not found***
Warning - using default environmentUSB3503 NINT = OUTPUT LOW!ModeKey Check...
run normal_bootNo ethernet found.Hit any key to stop autoboot: 0Exynos4412 #
wipeenv 0spot on!0: wipeenv1:0MMC Device 1 not foundWiping u-boot env at MMC:
0Exynos4412 # mmcinfoDevice: S3C_HSMMC2Manufacturer ID: 3OEM: 5344Name: SU08G
Tran Speed: 0Rd Block Len: 512SD version 2.0High Capacity: YesSize: 0MB (block:
7580)Bus Width: 4-bitBoot Partition Size: 0 KBExynos4412 # saveenvSaving
Environment to SMDK bootable device...done*****
_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot