Hi Luo, My patch works correctly, however I created it against openwrt 19.07 - they've moved on from this version to v21. I'm testing my changes against the v21 tree now to see if I can send a pull for it.by jdwl101 - Debian
Thanks Luo, My openwrt build was similar, though I inserted the DTS with a patch file. Would you be able to share your uboot environment variables as well? (fw_printenv) Thank you again, the IX2-DL is a capable device and is working great with WRT.by jdwl101 - Debian
Answering my own question, building openwrt for the IX2-DL was very straightforward, I followed the OpenWRT build guide, added the .dst and then used the uboot config from the IX2-200 (on the OpenWRT wiki). All worked relatively well. The IX2-200 has the kernel written lower than I would like in the NAND, but all is working ok and there's plenty of nand space remaining for packages.by jdwl101 - Debian
Hi Luo, Can you share your custom build of OpenWRT for the IX2-DL? I was just starting to compile my own when I saw this thread! I'm very keen to try on my IX2-DL. Cheers, Jby jdwl101 - Debian
Hi, the ix2 has some quirks. Try these offsets to read configure inside Debian # MTD device name Device offset Env. size Flash sector size $ /dev/mtd1 0x0000 0x20000 0x20000 /dev/mtd2 0x0000 0x20000 0x20000by jdwl101 - Debian
Hi, yes the issue you are having is that the kernel size has changed. You need to adapt the kernel size parameter to match the size of kernel you are loading and also make certain the kernel you wrote to the hard disk was written completely. Start with the kernel I used, 4.11, and make sure you can make that work. Really, loading the kernel and initrd from USB is a better solution, whileby jdwl101 - Debian
You are booting a version 2.6 kernel, looks to be stock. That is not going to work. Follow my instructions to the letter and write a modern kernel to the drive sectors, that will be able to boot bodhi’s rootfsby jdwl101 - Debian
Is this a new rootfs? Or the one you had OMV on? Either way it seems broken, have you tried creating a new one?by jdwl101 - Debian
Hi, What does the syslog and smbd logs say? And what version of smbd are you using? The default smbd that comes with debian works reliably and supports smb2. Most kirkwoods have 128mb ram and have no issues with samba.by jdwl101 - Debian
Hi, As Bodhi said a serial console is really needed for the ix2. You need to be able to see what happens as it runs through uboot. That said, the serial pins are present on the board so it is very easy to connect to. While it could be possible to make the required uboot changes from the default OS, I wasn't able to get that to work due to limitations in the default set up and you mayby jdwl101 - Debian
Hi ix2fbz, Using dd to copy your usb to the hard disk is unlikely to work, create a new partition and create a new rootfs on it, using the original archive. You can copy a rootfs - there are some instructions in the wiki post - but I'd suggest starting fresh. Also, to start the hard disk booting first try loading the kernel and initrd from your usb drive before going full hard diskby jdwl101 - Debian
Ahh understood, well you could still just host the uimage and uinitrd in your 128mb rootfs and remove all the kernel items. As it’s a reduce system you won’t be compiling anything or need to update the kernel too often. I’m unsure how you would get uboot to load a kernel stored this way, but it’s so flexible there’s sure to be a way, just need to know which blocks of the mtds to aby jdwl101 - Debian
Why do you need to host the kernel in your rootfs? If the kernel uimage is in the mtds or on a USB I’d think you could leave it out? As long as you don’t need any other modules loaded.by jdwl101 - Debian
Howdy, I haven't seen your issue, but happy to share my working smb.conf. Samba is version 4.11. Also, make sure you have avahi working, TM doesn't work for me without it. smb.conf: #======================= Global Settings ======================= ## Browsing/Identification ### # Change this to the workgroup/NT-domain name your Samba server will part of workgroupby jdwl101 - Debian
Hi Pickle, You would need to create a new initrd first. The mkimage command takes an initrd and converts it to uboot format, but won't create the initrd with the settings in your custom.conf. To create a new initrd use update-initramfs. Manpageby jdwl101 - Debian
Hi, Your uboot is very old, looks original / stock to me. While you can probably get it to work upgrading the uboot will make it much easier to run newer rootfs and kernel. Check out; 2017 Uboot for Kirkwood Oh, and if you'd like tips on getting it booting, I'd suggest checking that the dts was correctly appended to the kernel as stock uboots require.by jdwl101 - Debian
Hi, I suspect that the stock unboot needs the initrd loaded higher. The ix2-dl will crash unless you load higher. Try 'ext2load usb 0:1 0x2100000 /boot/uInitrd'by jdwl101 - Debian
Congrats, glad to see its runningby jdwl101 - Debian
Ok, if the dtb is appended you don't need to load it in the boot process. Please post a full boot log up until the point it freezes, with some more details we may be able to identify where it's going wrong.by jdwl101 - Debian
Either upgrade the uboot or append the dtb to the kernel. If you have no plan to go back to stock, upgrading the uboot is the better option. Details and downloads here; uBoot for Kirkwood boxesby jdwl101 - Debian
Hi, as these units have the old uboot you need to append the dtb to the kernel. These are the instructions under '4b' in Bodhi's guide; 4b. Boot with DTB file embedded in the kernel image (no U-Boot envs changes are needed if your system already booting on USB or HDD). Again, this step 4b is for stock U-Boot only. Please replace kirkwood-goflexnet.dtb below with the correct Dby jdwl101 - Debian
Hi edd; I agree with Bodhi, try re-writing the kernel and image to the sectors. Once they're written use imi command in uboot to test to make certain they're loading correctly. If you're using different / more recent images they may be larger than mine and require revised load commands to load the whole image (most likely the initrd has grown). Regards, Jby jdwl101 - Debian
Enabling ssh for the stock OS is straight forward, here’s the process; https://www.itdroplets.com/enable-ssh-on-your-iomega-storcenter/ For mine I had to add ‘soho’ to the start of my password to login as root.by jdwl101 - Debian
Hi fgh, The instructions you're looking at are for updating the kernel once Debian is installed. You need to scroll down to see the Debian rootfs instructions. Look for these lines; Updated 24 Jul 2017: Basic Debian stretch Kirkwood rootfs for most Kirwood plugs: - tarball size: 188M - install size: 488M - The init system used in this rootfs is sysvinit . To boot with systeby jdwl101 - uBoot
I'm no expert, but I think the dts is doing something odd, in the dmesg it has; OF: fdt: Ignoring memory range 0x0 - 0x8000000 When booting Bodhi's kernel, but not the OpenWRT kernel. Bodhi's then has less memory pages set up, perhaps due to this range being ignored. Which of those DTS' did you use?by jdwl101 - Debian
Hi, Starting point is a full serial log, from uboot init through loading of the kernel + with a openwrt boot as well. It's possible WRT is doing platform specific tricks, but hard to know without the log.by jdwl101 - Debian
Ok, then the kernel is too large for the load command you are using in uboot. Again, boot from USB, you will have a much easier time.by jdwl101 - Debian