Hi,
I can't boot with your buildroot test SD on the boards: armStoneA9 Rev 1.10. I use armstonea9q.dtb
On armStoneA9's above this revision I have no problem.
U-Boot 2018.03 (Sep 21 2022 - 16:43:03 +0000) for F&S
CPU: Freescale i.MX6Q rev1.3, 996 MHz (running at 792 MHz)
CPU: Extended Commercial temperature grade (-20C to 105C)
Reset: POR
Board: armStoneA9 Rev 1.10 (LAN, 4x DRAM)
I2C: ready
DRAM: 1 GiB
NAND: 256 MiB
MMC: FSL_SDHC: 0
Loading Environment from NAND... OK
In: serial
Out: serial
Err: serial
Net: FEC [PRIME]
Normal Boot
Loading from nand0, offset 0x240000
zImage detected
NAND read: device 0 offset 0xa40000, size 0x1c0000
1835008 bytes read: OK
---- update COMPLETE! ----
armStoneA9
When I do the NAND write in uboot i see:
## Booting kernel from Legacy Image at 11000000 ...
Image Name:
Image Type: ARM Linux Script (uncompressed)
Data Size: 3730 Bytes = 3.6 KiB
Load Address: 00000000
Entry Point: 00000000
Contents:
Image 0: 3722 Bytes = 3.6 KiB
Verifying Checksum ... OK
Wrong Image Type for bootm command
ERROR: can't get kernel image!
Saving Environment to NAND... Erasing NAND...
Erasing at 0x220000 -- 100% complete.
Writing to NAND... OK
OK
do you know what might be happening?
These are my uboot variables
- arch=fsimx6
- baudrate=115200
- bootargs=console=ttymxc1,115200 login_tty=ttymxc1,115200 mtdparts=gpmi-nand:256k(NBoot)ro,768k(UserDef),256k(Refresh)ro,768k(UBoot)ro,256k(UBootEnv)ro,8m(Kernel)ro,1792k(FDT)ro,-(TargetFS) undef rw
- bootcmd=run set_bootargs; run kernel; run fdt
- bootdelay=3
- bootfdt=armstonea9q.dtb
- bootfile=zImage
- console=console=ttymxc1,115200
- ethact=FEC
- ethaddr=00:05:51:07:55:83
- ethprime=FEC
- fdt=nand read 12000000 FDT; bootm 11000000 - 12000000
- fdt_high=ffffffff
- fdtaddr=12000000
- fileaddr=11000000
- filesize=fffffe00
- gatewayip=10.0.0.5
- installcheck=ram@10300000,mmc,usb
- ipaddr=10.0.0.252
- kernel=nboot Kernel
- loadaddr=11000000
- login=login_tty=ttymxc1,115200
- mem=1046528k
- mmcdev=/
- mode=rw
- mtddevname=NBoot
- mtddevnum=0
- mtdids=nand0=gpmi-nand
- mtdparts=mtdparts=gpmi-nand:256k(NBoot)ro,768k(UserDef),256k(Refresh)ro,768k(UBoot)ro,256k(UBootEnv)ro,8m(Kernel)ro,1792k(FDT)ro,-(TargetFS)
- netdev=eth0
- netmask=255.255.255.0
- partition=nand0,0
- platform=armstonea9q
- recovercheck=mmc,usb
- rootfs=rootfstype=ubifs ubi.mtd=TargetFS root=ubi0:rootfs
- rootpath=/rootfs
- sercon=ttymxc1
- serverip=10.0.0.122
- set_bootargs=setenv bootargs ${console} ${login} ${mtdparts} ${network} ${rootfs} ${mode} ${init} ${extra}
- set_bootfdt=setenv bootfdt ${platform}.dtb
- stderr=serial
- stdin=serial
- stdout=serial
- updatecheck=mmc,usb
- usdhcdev=/