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 burn integrity OS images to nand from uboot/linux



We have the AM335x EVM kit. We are going to be using Integrity OS. We have an integrity BSP image and a colleague burned it into flash using the Green Hill jtag probe. I'm not sure what he did, I think he has an integrity monolith that burns mlo into flash, a monolith for burning the integrity bootloader into flash.

Is it required that we use the green hill probe to do this? Or can I load the images to nand from the uboot or linux that comes on the SD card? I tried doing it from uboot by loading the images into RAM and writing them to nand. But I am either doing something wrong or its not possible to do it that way?

In summary, I have three files, mlo, uboot and integritybootloader. How do I load them to flash so that the board can boot up into integrity OS from nand?

  • Is my question to complicated? I'll ask something simpler.

    I can boot linux on the evm from the sd card. How can I copy the files on the sd card to nand flash and boot from nand? I tried using nand write commands in uboot and switched the pins to boot from nand and it did not work. It possible to do it this way? Or does it require a jtag emulator?

    Here are the commands I used.

    setupmlonand=tftp 0x82000000 mlo; nand erase 0x0 0x20000; nandecc hw 2; nand write.i 0x82000000 0x0 0x20000
    setupubootnand=tftp 0x84000000 u-boot; nand erase 0x80000 0x40000; nandecc hw 2; nand write.i 0x82000000 0x80000 0x40000