before i go any further in trying to flash my first home-built
image, i'd like to clarify that i seem to have done it correctly,
since i'd like to avoid bricking my router by doing something stupid.

  currently, i have the downloadable openwrt-brcm47xx-2.6-squashfs.trx
running on my ASUS WL500GP, and it's working just fine (minus, of
course, working wireless, but that's not critical for me
at the moment.)

  as my first experiment in building my own image, what i did:

  * "git clone"d the absolutely latest source, as described at
    https://dev.openwrt.org/

  * did as minimal a configuration as i could, which involved
    selecting:

    Target System:  Broadcom BCM947xx/953xx [2.6]
    Target Profile:  No WiFi
    Download Folder:  (my tarball download folder)

and that's it -- i wanted to keep it simple so i opted to leave as
default absolutely everything else.  and i just typed "make".

  the build completed successfully, and what i have in the directory
bin/ is:

$ ls -l
total 25328
-rw-rw-r-- 1 rpjday rpjday 1708032 2008-03-12 11:23 
openwrt-brcm47xx-squashfs.trx
-rw-rw-r-- 1 rpjday rpjday 1708060 2008-03-12 11:23 openwrt-usr5461-squashfs.bin
-rw-r--r-- 1 rpjday rpjday 1708040 2008-03-12 11:23 openwrt-wa840g-squashfs.bin
-rw-r--r-- 1 rpjday rpjday 1708040 2008-03-12 11:23 openwrt-we800g-squashfs.bin
-rw-rw-r-- 1 rpjday rpjday 1839104 2008-03-12 11:23 openwrt-wgt634u-squashfs.bin
-rw-r--r-- 1 rpjday rpjday 1708040 2008-03-12 11:23 openwrt-wr850g-squashfs.bin
-rw-rw-r-- 1 rpjday rpjday 1708064 2008-03-12 11:23 openwrt-wrt150n-squashfs.bin
-rw-rw-r-- 1 rpjday rpjday 1708064 2008-03-12 11:23 
openwrt-wrt300n_v1-squashfs.bin
-rw-rw-r-- 1 rpjday rpjday 1708064 2008-03-12 11:23 
openwrt-wrt350n_v1-squashfs.bin
-rw-rw-r-- 1 rpjday rpjday 1708064 2008-03-12 11:23 
openwrt-wrt54g3g-em-squashfs.bin
-rw-rw-r-- 1 rpjday rpjday 1708064 2008-03-12 11:23 
openwrt-wrt54g3g-squashfs.bin
-rw-rw-r-- 1 rpjday rpjday 1708064 2008-03-12 11:23 openwrt-wrt54g-squashfs.bin
-rw-rw-r-- 1 rpjday rpjday 1708064 2008-03-12 11:23 openwrt-wrt54gs-squashfs.bin
-rw-rw-r-- 1 rpjday rpjday 1708064 2008-03-12 11:23 
openwrt-wrt54gs_v4-squashfs.bin
-rw-rw-r-- 1 rpjday rpjday 1708064 2008-03-12 11:23 
openwrt-wrtsl54gs-squashfs.bin
drwxrwxr-x 2 rpjday rpjday    4096 2008-03-12 11:23 packages

which looks good.  at this point, my final step would be to "scp" the
.trx file over to the ASUS and run:

  # mtd write openwrt-brcm47xx-squashfs.trx linux && reboot

yes?  once i verify that the above works, my plan is to start
enhancing the configuration, trying newer versions of the toolchain
software and so on, just for the fun of it.  but first things first --
i just want to make sure i did *this* properly.

rday

p.s.  just to verify, the .trx file is a pure data image, with
absolutely no header info whatsoever, yes?  so it's written byte for
byte into the MTD partition.  i'm only asking as someone i know
muttered something about it containing header info and i was pretty
sure that wasn't the case.

--

========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
    Have classroom, will lecture.

http://crashcourse.ca                          Waterloo, Ontario, CANADA
========================================================================
_______________________________________________
openwrt-users mailing list
[email protected]
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users

Reply via email to