Good that you updated the kernel, there was a bug in 4.11.1 (and previous ones probably) with raid, it makes the kernel crash. It is fixed in 4.11.2 (0c9d5b127f695818c2c5a3868c1f28ca2969e905), made my RAID crash but not any more after upgrade! Thanks!by davidgf - Debian
All good! Thanks! It would be nice (just curious) to point to the board file in the kernel that did the usb pokeby davidgf - Debian
Is the new uboot using the ENV partition? Meaning, if I update the bootloader, will I loose all my env? I imagine the new uboot stores env at the end of the first partition, since its 512kb and the partition is twice as big right?by davidgf - Debian
Hey thanks! Is it just me or that doesn't make any sense at all? You are setting bootargs and boot_sata1 will overwrite them... :D Let's go one step back: what is the thing that prevents linux from overwriting the flash? Is it a kernel protection, is it a fw protection? Thanks again!by davidgf - Debian
Side question: why do we even have partitions in NAND? 99.9% people here load the kernel from USB/SATA, what's the point? Thanks! arcNumber=3956 baudrate=115200 bootcmd=run boot_sata1; run boot_sata2; run bootcmd_usb; usb stop; run bootcmd_rescue; reset bootcmd_usb=run usb_init; run usb_load_uimage; run set_bootargs_usb; run usb_boot; bootdelay=3 console=ttyS0,115200 ethact=egiga0by davidgf - Debian
Oh and not just that, my flash partitions look like this: dev: size erasesize name mtd0: 00100000 00020000 "uboot" mtd1: 00080000 00020000 "uboot_env" mtd2: 00080000 00020000 "key_store" mtd3: 00080000 00020000 "info" mtd4: 00a00000 00020000 "etc" mtd5: 00a00000 00020000 "kernel_1" mtd6: 02fc0000 00020000 "rootfs1&quby davidgf - Debian
Ok great! BTW this "flash_erase /dev/mtd0 0 4" gives me permission denied! Is the MTD flash protected in any way?by davidgf - Debian
This is what I have: U-Boot 2011.12 (May 03 2012 - 17:04:23) ZyXEL NSA320 2-Bay Power Media Server arm-none-linux-gnueabi-gcc (Sourcery G++ Lite 2009q3-67) 4.4.1 GNU ld (Sourcery G++ Lite 2009q3-67) 2.19.51.20090709by davidgf - Debian
I dont recall upgrading it but I guess I did, since the SoC is unbrickable I probably flashed it. I'll check later. Is it possible to check from Linux? Otherwise I will use the network uboot console.by davidgf - Debian
BTW, I'm using nsa320.dtb, is that the correct one? Cause there's an nsa320s.dtb as well. It just occured me that the old kernel where USB works might be a non FDT kernel and that might be the difference. Thanks! Edit: Nevermind I just realized NSA320S is another product :Dby davidgf - Debian
Do you have a quick way to download every kernel you've ever released? I was just thinking on maybe running a regression test to identify what kernel breaks it. I have the suspicion no one will have such a problem, otherwise they would have complained about it already.by davidgf - Debian
It is strange indeed. I cant come up with a way of debugging it, since not even the usb driver seems to be notified about the existance of the device. My gut tells me there is some issue with the event (or irq) that presents the new device.by davidgf - Debian
In this particular case I was plugging a modem. But same result with a pendrive. Summarizing: with kernel 4.8.3 (and 4.5) when I plug a usb device no changes in lsusb, dmesg remains absolutely silent!!by davidgf - Debian
Sure! I tried with several devices, all working in the old kernel. In the new kernel I got this: http://pastebin.com/EHZGTz2L In the old one (the modem was plugged): http://pastebin.com/gFPz4W5H I'd like to repeat again that I'm using the same rootfs, and it's old, I recall it's the one it came with kernel 3, I installed this at least 3 years ago following yourby davidgf - Debian
Hey there! I have no idea what kernel version broke this, but in my old vmlinuz-3.12.0-kirkwood-tld-5 USB was working well but it doesn't work in 4.5 nor 4.8.3. The issue with it is that it won't detect the devices I plug in. No trace on dmesg nor lsusb. Since I havent updated my rootfs I was wondering whether the usb device discovering depends on some service I do not have installeby davidgf - Debian