uuu flashing rootfs into NAND with IMX6ULL chipset

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

uuu flashing rootfs into NAND with IMX6ULL chipset

Jump to solution
987 Views
BenSu
Contributor II

1. add nand uboot:

    add 'UBOOT_CONFIG = "nand"' in build/conf/local.conf

2. build nand uboot:

    bitbake core-image-base

3. flash nand with uuu:

    sudo uuu -v -b nand 'u-boot.imx' 'core-image-base-imx6ull14x14evk.wic.bz2'

1:1>Okay (8.537s)
1:1>Start Cmd:FB: ucmd if env exists nandfit_part; then nand erase.part nandfit; nand write ${fastboot_buffer} nandfit ${fastboot_bytes}; else true; fi;
1:1>Okay (0.001s)
1:1>Start Cmd:FB: ucmd nandbcb init ${fastboot_buffer} nandboot ${fastboot_bytes}
1:1>Fail (0.016s)

4. failed in fastboot:

    Size exceeds partition or device limit

I add extra log and shows:

do_nandbcb: cmd=init
argv[0]=init
argv[1]=0x80800000
argv[2]=nandboot
argv[3]=ea4c800
nandbcb_get_size
mtd_arg_off_size Size exceeds partition or device limit

 

It seems that fastboot_bytes was not defined in uboot.

Did anyone meet this kind of problem or have a solution about it?

BR

Ben Su

0 Kudos
1 Solution
969 Views
BenSu
Contributor II

Hi Aldo,

I got your point.

There is another question. I need to make a directory to hold the uuu.auto file and the images. What's more, the images MUST be the same in uuu.auto file. Can it be use as uuu -b and distinguish the files automatically?

BR

Bob

View solution in original post

0 Kudos
2 Replies
975 Views
AldoG
NXP TechSupport
NXP TechSupport

Hello,

I would like to know the version you're working with?

Actually, if you're using our repository for your building you'll see that all configuration for UUU is already added, i.e.

https://source.codeaurora.org/external/imx/uboot-imx/tree/configs/mx6ull_14x14_evk_nand_defconfig?h=...

Also, please note that UUU nand command only support flashing uboot not rootfs, for flashing the whole image you may refer to the following script:
https://github.com/NXPmicro/mfgtools/wiki/Sample-script#burn-nand-flash-by-linux-kernel

Best regards,
Aldo.

0 Kudos
970 Views
BenSu
Contributor II

Hi Aldo,

I got your point.

There is another question. I need to make a directory to hold the uuu.auto file and the images. What's more, the images MUST be the same in uuu.auto file. Can it be use as uuu -b and distinguish the files automatically?

BR

Bob

0 Kudos