Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8056617
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T08:46:00+00:00 2026-06-05T08:46:00+00:00

I have successfully cloned the OpenWRT buildroot from the subversion repository and I’ve been

  • 0

I have successfully cloned the OpenWRT buildroot from the subversion repository and I’ve been using it to build images that I run on Qemu. I can run the images in Qemu just fine.

Now I have tried to build an image for a router — a Linksys WRT54GL — but I couldn’t find in the documentation how I should choose the target.

I guess that these are the correct options:

  • I have chosen Broadcom BCM947xx/953xx

  • In “Target images”, I have chosen jffs2 and squashfs

Then, after compiling, I went to the directory bin/brcm47xx, and found a large number of images:

openwrt-brcm47xx-jffs2-128k.trx
openwrt-brcm47xx-jffs2-64k.trx
openwrt-brcm47xx-squashfs.trx
.
.
.
openwrt-wrt54g3g-em-jffs2.bin
openwrt-wrt54g3g-em-squashfs.bin
openwrt-wrt54g3g-jffs2.bin
openwrt-wrt54g3g-squashfs.bin
openwrt-wrt54g3gv2-vf-jffs2.bin
openwrt-wrt54g3gv2-vf-jffs2.noheader.bin
openwrt-wrt54g3gv2-vf-squashfs.bin
openwrt-wrt54g3gv2-vf-squashfs.noheader.bin
openwrt-wrt54g-jffs2.bin
openwrt-wrt54gs-jffs2.bin
openwrt-wrt54g-squashfs.bin
openwrt-wrt54gs-squashfs.bin
openwrt-wrt54gs_v4-jffs2.bin
openwrt-wrt54gs_v4-squashfs.bin
openwrt-wrt610n_v1-jffs2.bin
openwrt-wrt610n_v1-squashfs.bin
openwrt-wrtsl54gs-jffs2.bin
openwrt-wrtsl54gs-squashfs.bin

So my question is:

  • How do I tell what to choose in target system and target images?

  • From all the images generated, how do I know which one I should use (for example, the WRT54GL is not in the list above; how to tell if it’s OK to use “openwrt-wrt54g-jffs2.bin“?

  • What criteria can I use to decide if I’ll use a jffs or a squashfs image?

Thank you!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T08:46:01+00:00Added an answer on June 5, 2026 at 8:46 am

    How do I tell what to choose in target system and target images?

    Target system you can infer from the Target/Platform columns in the Table of Hardware:

    http://wiki.openwrt.org/toh/start

    Target images depend on the intended use of the build but in most common cases (ie. image to put on a router) you want either squashfs or jffs2. See the filesystems link below.


    From all the images generated, how do I know which one I should use (for example, the WRT54GL is not in the list above; how to tell if it’s OK to use "openwrt-wrt54g-jffs2.bin"?

    If your router is not listed amongst the custom images you should probably use the generic image, eg: openwrt-brcm47xx-squashfs.trx


    What criteria can I use to decide if I’ll use a jffs or a squashfs image?

    From http://wiki.openwrt.org/doc/techref/filesystems:

    SquashFS

    + taking up as little space as possible

    + allowing the implementation of an idiot proof FailSafe for recovery, since it is not possible to write to it

    - read only

    - waste space, since each time a file contained on it is modified, actually a copy of it is being copied to the second (JFFS2) partition

    JFFS

    + is writable, has journaling and wear leveling

    + is cool

    - is compressed, so a program (opkg in particularly) cannot know in advance how much space a package will occupy

    Don’t be mislead about the read-only part tho

    All of the OpenWrt firmwares include a fully writable root filesystem that will remain intact across a power outage. The confusion is due to the fact that squashfs is a readonly filesystem; all OpenWrt firmwares also include a jffs2 partition — the squashfs part of the filename refers only to the filesystem included in the firmware image; additional files or changes are stored on jffs2.

    • The squashfs partition will always contain all of the files exactly as they came with the firmware; you cannot change these without reflashing. (see #6)
    • The jffs2 partition contains only your changes to the filesystem; since squashfs still contains the original version, you can easily revert files back to their original state.

    It is possible to remove the squashfs partition by installing the jffs2 version of the firmware, but this isn’t recommended — it uses more space and lacks the above failsafe features.

    Source: https://forum.openwrt.org/viewtopic.php?pid=36636#p36636

    If in doubt use squashfs as per http://wiki.openwrt.org/doc/howto/obtain.firmware.download#filesystem

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a repository that I cloned from someplace a few months back and
I have successfully created an app that reads from a bundled .plist file and
I have been using the .htc version of PIE successfully on a new project
I have successfully cloned Git repository in Jenkins over Git/SSH on Windows 2008 32-bit.
I have a Git submodule that I have successfully cloned in to my main
I've been using Git reasonably successfully (perhaps that's an optimistic evaluation) for going on
(Using Vista)I'm trying to clone an app from my GitHub Repository and push it
I have successfully installed sshd on cygwin. I can ssh to it from within
I have TeamCity (7.0.2) successfully spinning up an EC2 VM from a custom AMI,
I have always been displaying such things in the main thread and using events

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.