fsimx6-B2024.04 on board armStoneA9 Rev 1.10 - Can't boot

  • 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


  • alfred

    Changed the title of the thread from “fsimx6-B2024.04 on board armStoneA9 Rev 1.10 (” to “fsimx6-B2024.04 on board armStoneA9 Rev 1.10 - Can't boot”.
  • Hello,


    I have tested the update process to fsimx6-B2024.04 with an armstonea9 Rev 1.11, and it worked


    Is your board a Rev 1.11 or Rev 1.10 ? Please check on the PCB.

    Also, please add a log of the full update process.


    It seemed, that you have written an update script to the Kernel partition. This would explain the



    Your F&S Support Team

  • Hi,


    In uboot I see armStoneA9 Rev 1.10 but really, on PCB are armStoneA9 Rev 1.11

    I have discovered the difference between armstoneA9's that do record the SD image correctly and boot and those that do not.


    In the armstoneA9 that the SD is not recorded properly, in the recording process appears: ## Error: “.fdt_nand” not defined


    The SD is your SD buildroot 2024.


    What could the error be due to: ## Error: “.fdt_nand” not defined ?


    Thank you.




  • The variable .fdt_nand is available since device tree support was added to fsimx6, i.e. since release fsimx6-V3.0 in the year 2016. If the variable is missing in your environment, you may have deleted it accidentally.


    Your F&S Support Team

    F&S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.

  • Maybe it is a good idea to reset the environment with env default -a when updating U-Boot and then set your own variables again after that. Then you have all variables that were added (or removed) in the new version. However you have to take care of two things in this case:

    1. The network addresses (eth*addr) have to be preserved in this case, for example by exporting them to RAM first with env export, then resetting the environment, and then importing them again from RAM with env import.
    2. Some variables have the value "undef" after resetting. They will only get their board-specific values at the next start.

    Your F&S Support Team

    F&S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.