Welcome! Log In Create A New Profile

Advanced

No serial output from kernel on Iomega ix2-dl(ng)

Posted by megov 
Re: No serial output from kernel on Iomega ix2-dl(ng)
April 09, 2017 12:32PM
Hi, I have a IX2-DL (that's what it said in the front cover) but it also said IX2-ng on the bottom white label. I am confused which one I have but I believe it is the DL as it has the 1GB nand and no spi flash.

How can I get it to work?!
Re: No serial output from kernel on Iomega ix2-dl(ng)
April 09, 2017 02:21PM
protocold,

> Hi, I have a IX2-DL (that's what it said in the fr
> ont cover) but it also said IX2-ng on the bottom w
> hite label. I am confused which one I have but I b
> elieve it is the DL as it has the 1GB nand and no
> spi flash.
>
> How can I get it to work?!

If the SoC is the same, then it might be possible to modify the ix2-ng DTS to boot your ix2-dl. Memory is easy to adjust. Flash definition is really not needed if you have serial console, ie. you can modify u-boot envs in u-boot to boot the kernel.

So I would get the serial console boot log and post here. And then we compare the log to see if they both use the same SoC. If indeed they are the same, then hopefully other aspects such as GPIO for LEDs, are also the same. But it's hard to say unless you look at the GPL source, or test it after successfully booted into Debian.

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
Hi, i can not find the right place to write, but seems like you can help me with my issue. I have Iomega ix2-dl by accident i wiped my u boot from my device (bricked). As i read on this forum it is possible to restore uboot using UART cable and kwboot (maybe it should be aslo modifyed?) I have UART cable and linux machine running debian9 x64. I also know how to connect it to my device etc... As i understand i need to launch kwboot and in sec switch on my ix2-dl to load uboot to memory,then write it to nand. The problem is i can not find correct uboot image for my device. Can you help me with that? And maybe i missed something?
Thanks a lot.
Re: No serial output from kernel on Iomega ix2-dl(ng)
September 13, 2017 03:09PM
The difference between the ix2-dl and the ix2-ng is that the dl was sold diskless and therefore has 1024MB of NAND Flash, while the ng was sold with a disk which contained most of the firmware and 1MB of serial flash for U-Boot.
Re: No serial output from kernel on Iomega ix2-dl(ng)
September 13, 2017 05:39PM
sass Wrote:
-------------------------------------------------------
> Hi, i can not find the right place to write, but
> seems like you can help me with my issue. I have
> Iomega ix2-dl by accident i wiped my u boot from
> my device (bricked). As i read on this forum it is
> possible to restore uboot using UART cable and
> kwboot (maybe it should be aslo modifyed?) I have
> UART cable and linux machine running debian9 x64.
> I also know how to connect it to my device etc...
> As i understand i need to launch kwboot and in sec
> switch on my ix2-dl to load uboot to memory,then
> write it to nand. The problem is i can not find
> correct uboot image for my device. Can you help me
> with that? And maybe i missed something?
> Thanks a lot.

That's how you recover from corrupted u-boot. Let's wait to see if somebody will upload their backup NAND mtd0, and you can use that to try kwboot.

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
Yeah, it would be great if somebody could do that :(
Re: No serial output from kernel on Iomega ix2-dl(ng)
September 14, 2017 11:21PM
sass Wrote:
-------------------------------------------------------
> Yeah, it would be great if somebody could do that
> :(

If you could find the receovery FW from the manufacturer, u-boot image should be in there.

Other than that, you should register to the forum and send PM to the users in this thread to see if they have a copy of their mtd0.

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
Hi, Hmm very good point. I have original FW from the manufacturer. They sent me somekind imager (exe file to create usb recovery stick). I made this stick now. I investigated files on it and there are lot of different scripts etc. But i can not identify uboot image file. There are zImage file 2,4MB. Maybe i should convert it somehow or extract uimage from it? :S Can you give me a tip how can i identify uImage file there? Thanks a lot.
Tried to create uboot using this command..
Quote
mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux kernel -d /path/to/zImage uImage

but without luck.. kwboot command
Quote
./kwboot -B 115200 -t /dev/ttyUSB0 -b /path/to/uImage -p

gives - "Invalid image".

:(
Re: No serial output from kernel on Iomega ix2-dl(ng)
September 17, 2017 03:31PM
sass,

uImage is the kernel image, not u-boot image.

uImage = kernel vmlinuz-xx-.xx.xx + u-boot-header
uInitrd = kernel initrd.img-xx.xx.xx  + u-boot-header

u-boot image is stored in NAND mtd0.

uImage and uInitrs are in the rootfs /boot. These 2 files are loaded by u-boot after it is running.

I don't have new u-boot built for this box. So to find a good u-boot, it must be from someone's backup mtd0 file.

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
Re: No serial output from kernel on Iomega ix2-dl(ng)
September 17, 2017 03:35PM
When you search for the u-boot image inside stock FW, search for file that starts with u-boot.

If you are not sure then get a listing of all files the entire tree in the FW. Pastebin this log and I will take a look.

The file listing should have long format. For example,

ls -lR .

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
Re: No serial output from kernel on Iomega ix2-dl(ng)
September 18, 2017 01:01AM
Hi Sass!

Sorry to hear about the problem with your IX2-dl. Wiped the NAND flash, eh? Yikes!

There is some work for you to do while you await a kind soul to provide the firmware image for U-boot. Yes, the CPU has a built-in ROM that can load and run code from a serial port at cold boot. And, yes, you can use the kwboot utility to do that. The bad news is that only works on UART0 but it is UART1 that is available on the serial port connector on these IX2 devices. You need to find where on the circuit board UART0 is available, if it actually is. There are a couple of other options if UART0 is not available but UART0 is the easiest to use for recovery. Good luck!
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: