+ Reply to Thread
Page 12 of 37 FirstFirst ... 2 10 11 12 13 14 22 ... LastLast
Results 111 to 120 of 366

Thread: OpenWRT on HHV2B

  1. #111
    Super Moderator
    Join Date
    Dec 2010
    Location
    Suffolk, uk
    Posts
    143

    patches to trunk revision 31071

    the attached zip contains patches to be applied on top of trunk revision 31071, and at least all peripherals come up.I have no nand issues, and the USB patch is in the current trunk, so we should be good to go.Please post any results here.the patches need to go into trunk/target/lantiq/patches-3.2.config is the config file read/written by 'make menuconfig', and goes into trunk/the .config from the subfolder 'kernelconfig' came from trunk/build_dir/linux-lantiq_danube/linux-3.2.12/ - i'm not sure if putting it back there will work we will expect these to be superceded by official patches later.They will *Probably* work with the 'latest' trunk. btpatches2plusconfigs.zip

  2. #112
    Junior Member
    Join Date
    Feb 2012
    Posts
    28
    Seems to be a problem for me.... I created a new trunk at the version you specified and copied in the patch files and the .config. You can't copy the kernel config file in as the build tree doesn't exist at this time (plus I think it should go into trunk/build_dir/linux-lantiq_danube/linux-3.2.12/kconfig?) The build fails when trying to apply a patch

    Ric.

    Code:
    make[4]: Entering directory `/home/ric/openwrt/trunk/target/linux/lantiq'
    if [ -s "/home/ric/openwrt/trunk/build_dir/linux-lantiq_danube/linux-3.2.12/patches/series" ]; then (cd "/home/ric/openwrt/trunk/build_dir/linux-lantiq_danube/linux-3.2.12"; if quilt --quiltrc=- next >/dev/null 2>&1; then quilt --quiltrc=- push -a; else quilt --quiltrc=- top >/dev/null 2>&1; fi ); fi
    Applying patch platform/0901-MIPS-lantiq-machtypes-add-bthhv2b.patchpatching file arch/mips/lantiq/machtypes.h
    Hunk #1 FAILED at 50.
    1 out of 1 hunk FAILED -- rejects in file arch/mips/lantiq/machtypes.h
    Patch platform/0901-MIPS-lantiq-machtypes-add-bthhv2b.patch does not apply (enforce with -f)make[4]: *** [/home/ric/openwrt/trunk/build_dir/linux-lantiq_danube/linux-3.2.12/.quilt_checked] Error 1make[4]: 
    Leaving directory `/home/ric/openwrt/trunk/target/linux/lantiq'
    OK, have now done some debug...

    Patches 0901xxx and 0902xxx are the problems. It looks like the patches were made against the files in the build directory after a make has completed. If you do a make clean and then try and apply the patches the files to be patched are different (looks like they haven't yet been patched by other patches). No idea how you fix this?

    And some more debug.

    The patch files need to be executed last in the chain so by removing the leading zero so all patches start with a 9 ensures this and the image now builds. The boot now finds the virtual machine but does not detect the flash chips.

    Code:
    [    0.364000] ltq_asc.1: ttyLTQ1 at MMIO 0x1e100c00 (irq = 112) is a ltq_asc
    [    0.372000] console [ttyLTQ1] enabled, bootconsole disabled
    [    0.372000] console [ttyLTQ1] enabled, bootconsole disable
    [    0.388000] ltq_nor ltq_nor.0: probing failed
    Will carry on debugging...
    Last edited by Ric; 31-03-2012 at 02:11 PM. Reason: Updated with additional info

  3. #113
    Super Moderator
    Join Date
    Dec 2010
    Location
    Suffolk, uk
    Posts
    143
    regarding nor. check the detail in 0900 is in place in lantiq-flash.c - it's the adding of "jedec_probe" that makes our nor work...

  4. #114
    Junior Member
    Join Date
    Feb 2012
    Posts
    28
    The lantiq_flash.c seems to have been patched correctly and I'm getting the registered nor message. Any hints on debugging why the probe fails?

    Ric.

    PS. My hub revision is reported as - BTHHV2B SHC PORTA2: detected HW revision 0


    PS. I can't reply to your PM as you've exceeded you PM limit

  5. #115
    Super Moderator
    Join Date
    Dec 2010
    Location
    Suffolk, uk
    Posts
    143
    it could be that the kernel config is not complete... both mine also report HW rev 0...
    in the initial debugging, i splattered printks in the relevant kernel code to see what it was doing.

  6. #116
    Junior Member
    Join Date
    Feb 2012
    Posts
    28
    Finally I have a successful boot, hooray!!

    The problem was that I trusted your kernel_config file but it doesn't have the JEDEC_PROBE enabled so I started from scratch and selected the options that made sense and I now get a full boot. I'll now have to check out the rest of the system before trying to get a minimum config....

    Could you check your kernel_config file again as I can't see how the one in the zip file could work??

    Ric.

  7. #117
    Super Moderator
    Join Date
    Dec 2010
    Location
    Suffolk, uk
    Posts
    143
    ok, found where the kernel config is saved.
    when you run make kernel_menuconfig, it modifies:
    trunk/target/linux/lantiq/config-3.2

    mine is attached....
    (thi sis not necessarily vanilla :~) )
    Attached Files

  8. #118
    Junior Member
    Join Date
    Apr 2012
    Posts
    1
    Hi,

    From the looks of this thread it looks like people are dead busy working on openwrt for HHV2B. I was wondering is it good enough for day to day use?

    Is ADSL2+ working? Wireless-N? USB ports?


    Richard

  9. #119
    Super Moderator
    Join Date
    Dec 2010
    Location
    Suffolk, uk
    Posts
    143
    Another Ric! welcome Richard...

    So, the status is:
    1. we've not got everything into OpenWRT trunk yet, but it's likely to go in in a 1-6 week timescale; depends on the lantiq maintainer to some degree. Enough is there that with the patches here, it can be built. And almost anyone should be able to build it following the instructions at http://wiki.openwrt.org/toh/bt/homehub_v2b/trunkbuild and with the additional help here...
    2. until stuff is in trunk, you can't download a version and use it... and trunk based openwrt is not stable... and in terms of packages, you would also need to build these yourself for the moment... the pre-built packages may not match your kernel config, and so may cause problems.
    3. does it all work? I would say that if you have only one router, don't 'upgrade' to openwrt yet. Rather, order another off ebay (~£6 delivered if you are patient), build and experiment.
    USB has had fixes which in theory make it much better (i've not exercised usb2 to any extent, 1.1 works a treat with PS2 eyetoy). ADSL2+ should work (but i've not used it in the latest trunk build) Wireless seems pretty stable - i use mine continuously as a wireless client (actually, the box is a wireless camera for me....). What are the chances of problems? Well.. we've had a few reports of nand problems. this could be a different board revision (so far, all boards i've seen measure as 'rev 0', but i know of one person who has persistent nand issues; however, they have successfully used USB storage for main storage). The original firmware does NOT regularly read/write nand, and so there may be a design decision (or hardware bug) been made here. suffice to say i've not had problems with this. USB was never advertised as a reliable feature by BT; why? Maybe the hardware (usb routing) is not relaiable? There's been some discussion about how difficult getting 420mbit usb routing right on the openwrt mailing list, specifically by lantiq personnel. But SHC are a good mfg, so we may be ok.

    So, what could you realistically do with it? Well, as i said, mine's a wireless webcam. Any extras that you would been keen to add (peer to peer, for example, or webserving), it can do from behind your normal router, either wired, or wireless.
    It's likely (I've not tried it) to be relatively easy to make it into a wireless extender.
    I've even run mine as a pppoe server (complete arrangement was v2a adsl, openwrt on same lan, v3b connecting to openwrt as pppoe), don't know why you would want to, but it can be done! .

    btsimonh

  10. #120
    Quote Originally Posted by rhlee View Post
    Hi,

    From the looks of this thread it looks like people are dead busy working on openwrt for HHV2B. I was wondering is it good enough for day to day use?

    Is ADSL2+ working? Wireless-N? USB ports?
    Hi

    mine was up for 14 days and 6 hours now, previous reboot was due to a power cut
    i'm using it as a main router with 7 devices (4 wired and 3 wireless) connected to it (3 of them 24/7 using internet)
    no issues at all
    i'm running the oscam server (compiled by me) on it aswell with ftdi phoenix card reader connected to usb port (24/7 of course)

    i'm using full flash build (without openrg)
    i have noticed that problems with nand start after installing more than 5-6MB of data on it
    i have installed around 12 additional packages (most for usb-ftdi and oscam (libusb&other)) but also mc and dyndns - all working fine

    i recon that only the first 12MB of flash are usable (as per openrg image size) and than in the address range where there is a first gap in original flash layout the data gets corrupted

    to sumarise, on mine:
    adsl2+ is fully working
    wireless without a problem
    usb port - not a single glitch

    router.JPG
    Attached Images
    Last edited by arturkot; 07-04-2012 at 08:07 PM.

+ Reply to Thread

Posting Permissions

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