Results 1 to 2 of 2

Thread: power off problem, please help

  1. #1

    Wink power off problem, please help

    ok, the problem is probably a known one but i (we all) need a working solution. I also have a simple idee of solving it but i have 0 linux experience and also no linux pc to rebuild the firmware.

    Problem description:
    On power off device lose nvram boot_dev variable and boots from flash instead of HDD.

    Proposed solution:

    Make another firmware with hardcoded boot path to hdd device.
    This way we first flash the device with kam7.09V2_1.trx, change the root to hdd, and after that we flash it with the hard-coded boot path trx.

    Please someone who can edit the firmware do this for us:

    1.Unpack kam7.09V2_1.trx (http://wl700g.homelinux.net/drupal/?...am7.09V2_1.trx)

    2.edit mount_root file and change "nvram get boot_dev" with "dev/ide/host0/bus0/target0/lun0/part1"

    3.repack kam7.09V2_1hcbp.trx and post it here (hcbp=hard coded boot path ) )

    i really apreciate it

    thnx alot

    ps. some instructions on editing the firmware
    http://www.bitsum.com/firmware_mod_k...ct_firmware.sh)
    Last edited by townkat; 28-08-2008 at 01:21.

  2. #2

    Done

    Hi

    I had the same problem with a "volatile non-volatile ram"...

    Thanks for the "firmwaremodifiertool"-link.
    Using this, it's reaaaallly eaaaasy to make the "mount_root" fallback if no nvram boot_dev is found.

    I didn't like the idea of having a fixed "boot_dev" to the hdd, so it's implemented as fallback, when "boot_dev" from nvram is empty.

    • Extract the firmware trx:
      Code:
      extract_firmware.sh kam7.09V2_1.trx kam7.09V2_1
    • edit the "kam7.09V2_1/rootfs/sbin/mount_root"-script
      insert following lines after "boot_dev=$(nvram get boot_dev)"
      Code:
      fallback_boot_dev="/dev/ide/host0/bus0/target0/lun0/part1"
      boot_dev=${boot_dev:-${fallback_boot_dev}}
    • pack the firmware trx:
      Code:
      build_firmware.sh fwbuild kam7.09V2_1/
    • upload the firmware in "fwbuild/custom_image-asus.trx" like a normal firmware...


    When required, I'll upload (rapidshare or some) or PM my trx...
    Last edited by kajo700ge; 31-05-2009 at 00:41.

Similar Threads

  1. Multicast problem
    By luon in forum WL-500w Q&A
    Replies: 4
    Last Post: 03-07-2008, 13:26
  2. WL-500gP and Asus support experience
    By Blezi in forum WL-500gP Q&A
    Replies: 6
    Last Post: 03-12-2006, 13:59
  3. wl500gx and power problem
    By Tom0000 in forum WL-500g Q&A
    Replies: 3
    Last Post: 21-04-2006, 22:34

Posting Permissions

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