This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to update NOR with new uboot and kernel from Linux

Hi,

We have an custom board based on J5 ti811x
NOR flash: 4MB

SD-card connected to MMC1 (0x481D8000)

eMMC 4GB connected to MMC2 (0x47810000)

ezsdk uboot version    :u-boot-2010.06-psp04.07.00.02
ezsdk kernel version    :linux-2.6.37-psp04.07.00.02

As per our booting scheme, we need to configure and copy uboot and kernel into NOR flash and RFS into eMMC.

1) What is the commands in uboot and Linux to check availability of NOR flash

2) Is there any way to update NOR with new uboot and kernel from kernel.

3) When we call saveenv in uboot prompt, Where will the environment variable get saved. Is it in NOR or EEPROM?

4) Does the support for fw_setenv and fw_printenv available in uboot?

BR/-

Nihad

  • Abdul,

    Abdul VK said:
    1) What is the commands in uboot and Linux to check availability of NOR flash

    You can try access/read/write NOR flash. If success, then NOR flash is available.

    Abdul VK said:
    2) Is there any way to update NOR with new uboot and kernel from kernel.

    You can try with the MTD user space utilities:

    Abdul VK said:
    3) When we call saveenv in uboot prompt, Where will the environment variable get saved. Is it in NOR or EEPROM?

    Your u-boot should be build for NOR support (ti811x_evm_config_nor). U-Boot supports saving environment variables to NAND, SPI, NOR or MMC. The media to be used for saving the ENV variables needs to be decided before building U-Boot.The environment variables will be saved in the media for which the second stage u-boot is built.

    Abdul VK said:
    4) Does the support for fw_setenv and fw_printenv available in uboot?

    No, from what I can find, these commands can be made available in linux:

    BR
    Pavel