This hardware has only a single serial port exposed (pins on the accessible internal connector). What were you thinking of using as ttyS1?by sarcastic.mannequin - uBoot
ingmar_k, Yes, that is UART1. The datasheet says CPU can boot from UART0, says nothing about UART1. I have not been able to get kwboot utility to work with this connector. This connector is accessible from the front of the unit if you remove the disks. To access any other part of the circuit board requires disassembly of the unit. There is an unknown jumper near the connector. It is currentlyby sarcastic.mannequin - uBoot
There are no other headers on the IX2-ng board (labelled or not) that could be used for UART0 or for JTAG. There are a bunch of test-points sprinkled around but not any grouped together in a logical manner. Pictures of the IX2 circuit board is posted on NAS-central website. I don't think it would make sense anyway. Imagine a IX2 sent to Lenovo for repair. It might or might not have disksby sarcastic.mannequin - uBoot
kwboot will only work if we can find UART0 connection somewhere on the IX2 circuit board. Look at forum discussion "No serial output from kernel on Iomega ix2-dl(ng)" for a possible way to restore these devices. At yet, this method is untested.by sarcastic.mannequin - uBoot
I have looked all over the circuit board of a IX2-ng and have not been able to locate UART0, required so we can (re)install U-boot bootloader. I broke down and contacted Lenovo. They said they have an "Imager Utility" that runs under Windows and creates a bootable USB stick that will reinstall/restore these IX2 devices. The CPU has the ability to boot (all by itself) from UART0 or SAby sarcastic.mannequin - uBoot
Baldmarbles! Did you append kirkwood-lenovo-ix2-ng.dtb file to the kernel before making uImage file? Something like: cat vmlinuz-3.16.0-4-kirkwood kirkwood-lenovo-ix2-ng.dtb > vmlinuz.fdt mkimage -A arm -O linux -T kernel -C none -a 0x8000 -e 0x8000 -n "kernel 3.16.0-4-kirkwood" -d vmlinuz.fdt uImage Read bodhi's instructions about how to prepare the kernel when using oldby sarcastic.mannequin - uBoot
Hippi-viking! These CPUs can boot from various devices (UART, SPI, NAND, SATA). The CPU knows how to control these devices because they are built into the CPU but there are still a few things that the CPU needs to know. This would include the type/speed/size of DRAM, the block-size/error-correction/size of NAND and probably other board-specific details. These Marvell CPUs look for a headerby sarcastic.mannequin - uBoot
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 UAby sarcastic.mannequin - uBoot
Dmitriy Wrote: ------------------------------------------------------- > ... I have a question, is it possible to control the L > ED from UBOOT for example to blink until the kerne > l has booted. The matter is that in an environment > the green and orange LED is indicated. > And STORA uses blue LED Dmitriy! Does that STORA uses Marvell CPU? Then yes. Writing certain reby sarcastic.mannequin - Debian
Eine! Here they mention the temperatures of CPU and board. There must be another temp sensor somewhere. Anandech EZ Media reviewby sarcastic.mannequin - Debian
Eine! I checked Marvell Kirkwood thermal driver. It doesn't do anything but monitor the temp of the CPU. Using stock Debian kernel (stretch): Linux mnemotest 4.9.0-3-marvell #1 Debian 4.9.30-2+deb9u2 (2017-06-26) armv5tel GNU/Linux I ran my IX2-ng box for about 1 hour with your script: dd if=/dev/sda of=/dev/null bs=1MiB & dd if=/dev/urandom of=/dev/null bs=1MiB & No pby sarcastic.mannequin - Debian
Eine! Ugh. No fan. Disk gets too hot to touch? Ouch! Don't use a 7200 rpm hard drive in it, that's for sure! Why does the stock firmware survive? I wonder if the stock firmware has some sort of throttling when it gets to hot. There is a surprising amount of edits and patches in these thing's stock linux drivers. I'll check the Marvell Kirkwood thermal driver to see if itby sarcastic.mannequin - Debian
eine said: > root@iomega:/boot# sensors > kirkwood_thermal-virtual-0 > Adapter: Virtual device > temp1: +74.1°C That's very hot. Does the your device have a fan? My IX2-ng CPU will hit about 58°C when it is working hard and the fan will spin faster. This is what a real IX2-ng has for sensors. player1@mnemotest:~$ sensors kirkwood_thermal-virtual-0 Adapter:by sarcastic.mannequin - Debian
Just changing the DTS won't help the fact that Linux does not know about that flash chip. It would require patching the SPI flash driver to recognize the chip correctly. You can, however, get the U-Boot environment to appear correctly in Linux. It will be in read-only mode because Linux can't erase/program to the 4K sector boundaries of the U-Boot environment. In Debian, you needby sarcastic.mannequin - Debian
I need to point out that the MTD sector misaligned problem is documented in the kirkwood-lenovo-ix2-ng.dts file. If your device has the same SPI flash chip, you will have the same problem. If your device has a different SPI flash chip, you need a DTB/DTS file that supports the hardware in your device.by sarcastic.mannequin - Debian
First, you are probably better off with a DTB that supports this device. There is no absolute guarantee that the DTB for the IX2-ng has all the bits and pieces in the correct place. That said, most of these devices are pretty close to being the same. The MTD has sector misaligned problems even on the IX2-ng. This is because Linux does not know about the actual SPI flash chip in the device. Linby sarcastic.mannequin - Debian
Solved. The serial port on IX2-ng and IX2-dl is on second UART. Most kirkwood NAS boxes use first UART. That is why nobody is seeing serial port output. It requires a custom device-tree (DTS) file to support the serial port, LEDs, buttons, power-off, etc. I have attached a DTS file and some docs for the IX2-ng. I used it to install and boot Debian (Jessie) using the Debian installer for Kirby sarcastic.mannequin - uBoot