Welcome guest, is this your first visit? Click the "Create Account" button now to join.
Page 41 of 41 FirstFirst ... 31394041
Results 401 to 405 of 405
  1. #401
    Garmin/GPS Systems GMod. IMPORTANT! If you want HELP in case of a bricked Garmin device, please follow this
    IMPORTANT! If you want HELP in case of a bricked Garmin device, please follow thisIMPORTANT! If you want HELP in case of a bricked Garmin device, please follow thisIMPORTANT! If you want HELP in case of a bricked Garmin device, please follow thisIMPORTANT! If you want HELP in case of a bricked Garmin device, please follow thisIMPORTANT! If you want HELP in case of a bricked Garmin device, please follow thisIMPORTANT! If you want HELP in case of a bricked Garmin device, please follow thisIMPORTANT! If you want HELP in case of a bricked Garmin device, please follow this
    Neil's Avatar
    Join Date
    Aug 2011
    Location
    Oz.
    Posts
    6,045
    Rep Power
    1616

    Default

    Yes, Garmin's ARM processor is indeed customised. It's of course "ARM-like" however operates and boots the device in a "Garminized" kind of way. kunix supplied us with an insight as follows:
    Spoiler: click for quote
    Try reading the following [Only registered and activated users can see links. ], it's a typical boot sequence of an embedded ARM-based device, including Garmin devices.
    So, I can tell the same story of the boot sequence the Garmin-ish way:
    1. When you power on your device, the ARM processor starts executing it's ROM code.
      The external RAM modules are not initialized yet, so ROM code would have to use the internal SRAM for stack and data.
      ROM code searches for x-loader somewhere, the copies it to SRAM and executes it.
      On debug motherboards ROM code can load x-loader from SD/MMC or over UART.
      But on release Garmin motherboards ROM code loads x-loader only from starting blocks of the external flash chip. So if you erase those blocks, you will never boot your device again.
      Also those blocks are known as region 43.
    2. x-loader is made by Garmin, so it "knows" a lot about the hardware setup.
      x-loader initializes the external RAM. Then, if the external flash chip is NAND, it loads bootloader from region 5 to RAM and executes it.
      Alternatively, if the external flash chip is NOR, the bootloader's addresses are mapped to the address space of the CPU (I don't know, whether x-loader sets up the mapping or it's done by the hardware setup), and so in this case bootloader can be executed from flash directly.
    3. Bootloader (the "u-boot") enters the pre-boot mode if a particular key combination is pressed, or if region 14 doesn't pass the "5A A5" test.
      In the pre-boot mode the bootloader and the program on the PC (updater.exe, for example) communicate using the Garmin USB protocol.
      If not entered the pre-boot mode, bootloader proceeds to execute fw_all.bin.
      If the external flash chip is NAND, bootloader loads fw_all.bin from region 14 and executes it.
      If the flash chip is NOR, bootoader executes fw_all.bin from flash directly.
      If you erase bootloader in region 5, you will never boot your device again (most probably, because maybe x-loader can load bootloader from SD, but it's highly doubtful).
    4. fw_all.bin (the "kernel") is responsible for
      • drawing the usual GUI
      • for providing the mass storage mode and the MTP mode.
      • initiating the procedure of executing update.txt scipts.
      • initiating the procedure of flashing GUPDATE.GCD files and verifying GUPDATE.GCD digital signature.
      • also, if not in the mass storage/MTP mode, it can communicate with the PC using the Garmin USB protocol and it provides a very rich set of USB commands
    5. boot.bin (the "ramloader") is responsible for:
      • flashing regions over USB in pre-boot mode. It also communicates with with the PC using the Garmin USB protocol.
      • very frequently boot.bin contains copies of bootloader and x-loader and flashes them, when executed.
      • flashing regions from GUPDATE.GCD files.
      • executing update.txt scripts.

    Every piece of Garmin firmware (i.e., x-loader, bootloader, fw_all.bin, boot.bin) contains a table of regions, which specifies which regions are contained on which flash chip and where exactly.
    Also people frequently confuse bootloader and boot.bin. They are different.
    Also region 41 (NV) is parsed only by fw_all.bin, other pieces of firmware (x-loader, bootloader, boot.bin) treat it as an opaque massive of bytes.
    So if NV is corrupt, fw_all.bin may crash even when entering the mass storage/MTP mode.
    But other pieces of firmware (x-loader, bootloader, boot.bin) continue working correctly.


    I can add that the Garmin OS of your 1390, although Linux-based, is very far from basic Linux and is a proprietary "closed-shop". We can garden around the edges by modifying firmware but AFAIK nobody has actually been able to get into the OS proper or if they have done, they haven't made it pubic.
    'Thanking Posts' are banned. To thank someone, and/or to see hidden links and content, use the [Only registered and activated users can see links. ] button below left of the helpful post then refresh your browser [F5 key]. 'Thanking Posts' are banned.
    Please don't spam. Posts serving no purpose other than to thank or to ask about hidden links are trashed or deleted, it's GPSPower's policy. Please don't spam.
    [Only registered and activated users can see links. ] should make their first post as a new Intro Thread in [Only registered and activated users can see links. ].

  2.    Advertissements


  3. #402
    Junior Member
    Join Date
    Jan 2025
    Location
    USA
    Posts
    5
    Rep Power
    0

    Default

    Interesting! It implies that simply replacing a bad flash IC and/or the controller will go nowhere without reprogramming at least some of the firmware into the new flash. Without a JTAG programmer, fixturing, and other resources - oh well! Thanks for the info; it says Garmin keeps everything completely programmable on their side, which isn't a bad strategy for a consumer device that will likely get updates, etc. as well as optional paid features like maps.

  4. #403
    Garmin/GPS Systems GMod. IMPORTANT! If you want HELP in case of a bricked Garmin device, please follow this
    IMPORTANT! If you want HELP in case of a bricked Garmin device, please follow thisIMPORTANT! If you want HELP in case of a bricked Garmin device, please follow thisIMPORTANT! If you want HELP in case of a bricked Garmin device, please follow thisIMPORTANT! If you want HELP in case of a bricked Garmin device, please follow thisIMPORTANT! If you want HELP in case of a bricked Garmin device, please follow thisIMPORTANT! If you want HELP in case of a bricked Garmin device, please follow thisIMPORTANT! If you want HELP in case of a bricked Garmin device, please follow this
    Neil's Avatar
    Join Date
    Aug 2011
    Location
    Oz.
    Posts
    6,045
    Rep Power
    1616

    Default

    Quote Originally Posted by nsPerFoot View Post
    ... It implies that simply replacing a bad flash IC and/or the controller will go nowhere without reprogramming at least some of the firmware into the new flash. Without a JTAG programmer, fixturing, and other resources ......
    Yes that's it precisely, and it's what i was saying in Post #398 in fact. There are JTAG contacts on release boards i believe. But i don't know where exactly and of course they are hard to program even when JTAGs are known. Like i said, Garmin is a closed shop - at least to us mere mortals.
    'Thanking Posts' are banned. To thank someone, and/or to see hidden links and content, use the [Only registered and activated users can see links. ] button below left of the helpful post then refresh your browser [F5 key]. 'Thanking Posts' are banned.
    Please don't spam. Posts serving no purpose other than to thank or to ask about hidden links are trashed or deleted, it's GPSPower's policy. Please don't spam.
    [Only registered and activated users can see links. ] should make their first post as a new Intro Thread in [Only registered and activated users can see links. ].

  5. #404
    Junior Member
    Join Date
    Feb 2025
    Location
    Canada
    Posts
    3
    Rep Power
    0

    Default

    @Neil
    Thanks, don't think it is worth it to spend much time trying to fix it as these are cheap and aplenty on the used market. New update didn't even have much important that bothered me but the settings not saving will probably be a bit tough to deal with.

  6. #405
    Garmin/GPS Systems GMod. IMPORTANT! If you want HELP in case of a bricked Garmin device, please follow this
    IMPORTANT! If you want HELP in case of a bricked Garmin device, please follow thisIMPORTANT! If you want HELP in case of a bricked Garmin device, please follow thisIMPORTANT! If you want HELP in case of a bricked Garmin device, please follow thisIMPORTANT! If you want HELP in case of a bricked Garmin device, please follow thisIMPORTANT! If you want HELP in case of a bricked Garmin device, please follow thisIMPORTANT! If you want HELP in case of a bricked Garmin device, please follow thisIMPORTANT! If you want HELP in case of a bricked Garmin device, please follow this
    Neil's Avatar
    Join Date
    Aug 2011
    Location
    Oz.
    Posts
    6,045
    Rep Power
    1616

    Default

    @Zakk
    Absolutely agree.
    'Thanking Posts' are banned. To thank someone, and/or to see hidden links and content, use the [Only registered and activated users can see links. ] button below left of the helpful post then refresh your browser [F5 key]. 'Thanking Posts' are banned.
    Please don't spam. Posts serving no purpose other than to thank or to ask about hidden links are trashed or deleted, it's GPSPower's policy. Please don't spam.
    [Only registered and activated users can see links. ] should make their first post as a new Intro Thread in [Only registered and activated users can see links. ].

 

 

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •