bodhi Wrote: ------------------------------------------------------- > balanga > > I expected the envs contains mtdparts definition, > so we don't have to calculate it. But it was > apparently not available so I need to define the > layout. Log in to Arch, and set mtdparts: fw_setenv mtdparts 'mtdparts=orion_nand:1M(u-boot),6M(uImage),-(root)'by bodhi - uBoot
igrblkv, 1. When hacking, ie. installing u-boot and rootfs, you should be root. Never use sudo. sudo is for a standard user. 2. Can I load the old system (aka stock OS) with the new uBoot? No it will not work with stock OS. 3. See here for Debian rootfs installation: https://forum.doozan.com/read.php?2,12096 QuoteLatest released kernel:linux-4.17.2-kirkwood-tld-1-bodhi.tar.bz2 (by bodhi - uBoot
igrblkv, Problem no.1 and Problem no.2 are OK. You are in stock OS, and the fw_printenv/setenv are not available. The bad blocks are far away from mtd0, where u-boot is. Problem no.3 New u-boot installation does not require mtdparts and ethaddr. A local MAC address will be used. And then you can set it to the real one later.by bodhi - uBoot
Please create new thread in U-boot subforum for problem or question with the installation.by bodhi - uBoot
balanga Wrote: ------------------------------------------------------- > What is preventing me re-installing Stock from a > USB stick? > > http://support.goflexhome.hipserv.com/en/reflash/index.html Have you tried that factory restore?by bodhi - uBoot
QuoteI've checked the uImage of the original system but it doesn't have a dtb file appended. This stock kernel is too old to have DTB in it. Flatten Device Tree was introduced into the Linux kernel circa 3.16. In a non-FDT kernek, all hardware devices were defined in the source code. Therefore GPL is an easy way to find info.by bodhi - Debian
balanga I expected the envs contains mtdparts definition, so we don't have to calculate it. But it was apparently not available so I need to define the layout.by bodhi - uBoot
Koen, > according to this document it should have 1Gbs. > http://www.netsolutionworks.com/datasheets/Dell-Wyse-T-class-IA.pdf. Yes. It is 1Gbs. > My last comment isn't meant as a complaint, I > wouldn't have got this far without your help. Just > hoping that someone reading the forum may have > some clever ideas how to continue from here on. > Theby bodhi - Debian
Derek, > Yea, I have tested another SD card briefly, and > seems to have the same results... Try Sandisk. > > Do you recall which version of uBoot you started > with the 'improved' MMC access? I am thinking of > downgrading the uBoot to make sure it boots > everytime... That would be the version before 2017.07-tld-1: https://forum.doozan.com/reaby bodhi - uBoot
balanga, > Just out of interest will the MAC address for the > Arch box remain as it is? It should be the MAC address of the stock box. So save this ethaddr=00:10:75:2C:A9:58. You need to change the ethaddr env on this box after flashing the mtds. One more info to get. Log in to the stock GFH, or if you have serial console connected, get the envs listing of this stock GFH. - inby bodhi - uBoot
> On Arch box: > > # cat /proc/mtd > dev: size erasesize name > mtd0: 00100000 00020000 "u-boot" > mtd1: 0ff00000 00020000 "rootfs" It does not match. We need to change mtdparts back to stock definition. So please get the envs listing at the prompt fw_printenvby bodhi - uBoot
Pretty cool news: https://www.phoronix.com/forums/forum/software/mobile-linux/1039376-lora-being-worked-on-for-the-linux-kernel-allows-long-range-low-power-wireless Open source world is calling Joey :)by bodhi - Off-Topic
balanga Wrote: ------------------------------------------------------- > bodhi Wrote: > ------------------------------------------------------- > > Here is a better tools binaries tarball to > > download: > > > > https://forum.doozan.com/read.php?3,27280 > > > > And before backing up the mtds you need to list > > them in stock OS (not Arby bodhi - uBoot
ElMariachi, Look in the release thread: https://forum.doozan.com/read.php?2,12096 Try this rootfs QuoteUpdated 20 Feb 2016: This Debian-4.4.0-kirkwood-tld-1-rootfs-bodhi.tar.bz2 is to keep in sync with kernel Linux-4.4.0-kirkwood-tld-1.by bodhi - Debian
Here is a better tools binaries tarball to download: https://forum.doozan.com/read.php?3,27280 And before backing up the mtds you need to list them in stock OS (not Arch system): cat /proc/mtd cd /tmp mkdir usb mount /dev/sda1 /tmp/usb cd /tmp/usb And then use this format: nanddump --noecc --omitoob -f mtd0 /dev/mtd0 nanddump --noecc --omitoob -f mtd1 /dev/mtd1by bodhi - uBoot
spindles7, Ah. You did everything by the book and still it did not work. > a) it works OK if booting from a USB device > b) it doesn't work if booting from the drive in > the SATA interface. I will need to test this IDE uEnv.txt myself and let you know (in about 2-3 weeks when I get back to my development rig). Please remind me! In the mean time, if you are going to boby bodhi - Debian
Derek, > I hope this is not an unresonable request... :) > Is it possible to have an option in future version > of uBoot to switch back to the previous version of > MMC driver It is indeed unreasonable :) usually I try to use mainline version if possible, since it is widely used and tested. My testing on a Sandisk SD card with Pogo V4 and Sheevaplug was without problem. Raby bodhi - uBoot
mari8b, > root@debian:~# cat /proc/mtd > dev: size erasesize name Ok. That's what I expected. > 2. printenv (is it what you need?) Yes, it is. > bootargs=root=/dev/sda1 console=ttyS0,115200 > elevator=cfq mem=256M poweroutage=yes > mac_adr=0x00,0xd0,0xb8,0x19,0x34,0x6b The bootargs need to have mtdparts env in it. Power up, interrupt serial cby bodhi - uBoot
Note the 1st step Quote1. uBoot envs config and mtd partitions must be defined as followed in your rootfs cat /etc/fw_env.config # pogoplug v3 /dev/mtd0 0x00100000 0x20000 0x20000 cat /proc/mtd dev: size erasesize name mtd0: 00e00000 00020000 "boot" mtd1: 07200000 00020000 "data" If you don't have /etc/fw_env.configby bodhi - uBoot
spindles7, For whatever reason, the bootcmd_unenv was never executed before the scandisk bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi; sleep 3 GoFlexHome> boot Reset IDE: Bus 0: OK Bus 1: not available Device 0: Model: ST1000DM000-9TS15E Firm: CC92 Ser#: 5YA0FYGYby bodhi - Debian
Ok so it is a Pogoplug Pro V3 clone. You can proceed to install uboot.2015.10-tld-2: https://forum.doozan.com/read.php?3,16017 and if desired, a new rootfs Debian-4.4.54-oxnas-tld-1-rootfs-bodhi.tar.bz2: https://forum.doozan.com/read.php?2,16044 Note: the current rootfs you have is OK to use, and you can upgrade the kernel to linux-4.4.133-oxnas-tld-1 (tarball linux-4.4.133-oxnas-tld-1by bodhi - uBoot
Try setenv devices ide setenv bootdev ide printenv bootby bodhi - Debian
rayknight Wrote: ------------------------------------------------------- > If I recall correctly the OX820 will try to boot > from SATA first, although it appears that OpenWRT > uses a chain-loaded U-Boot to boot the current > kernel on this hardware. You may find some useful > information at > https://github.com/olderzeus/Iomega-HMNHDCE that > would help get a newerby bodhi - uBoot
ElMariachi, > because the driver > might need some patches for working with the > current kernel. I have not tried comple it to see for myself, but looks like this is the case. > Why > are the header files not matching each other, > regarding their search pathes? It is typical to see problem like this when header files are not found because the driver build didby bodhi - Debian
spindles7, QuoteIs the uEnv.txt file read some other way? No, the envs just did not seem to execute correctly. Let's try again: setenv devices ide setenv bootdev ide bootby bodhi - Debian
mari8b, > In the thread "2015.10 U-Boot for Pogoplug V3 > (OXNAS OX820)" DaveP mentioned, that this U-Boot > breath new life into Iomega HMNHDCE NAS. Is there > somebody, who knew how to do it? Please post link to the post you've quoted above. Update: I found it. Unfortunately DaveP did not post the boot log with new u-boot.by bodhi - uBoot
mari8b, > Starting kernel ... There should be more after this (the kernel boot log).by bodhi - uBoot
spindles7, Make sure the /boot/uEnv.txt file exists on the SATA rootfs. Power up, interrupt serial console, and setenv devices 'ide usb' setenv bootdev ide bootby bodhi - Debian
juandbotiva, > Hi bodhi, it worked! Cool! > Now, in order to update uBoot, should I follow the > steps in the uBoot sticky post ? Or do I have to > do something specific for my PogoPlug ? > Yes, follow instruction the sticky post to install u-boot-2017-tld-1. Make sure that you do step 8 to flash the new default envs image from uboot.2016.05-tld-1.environment.bodhi.by bodhi - Debian
spindles7, Power up, interrupt serial console, and printenv boot Please post the entire serial console log here.by bodhi - Debian