No, it still fails, I tried with all I could try, even from stock uboot it fails. That's a LEDE bug then, they can't make correct uimages or zimages Btw, even from OpenWRT trunk it fails. Let's see if they react better than openwrt does usually to my bug reports (i.e. ignores them).by bobafetthotmail - uBoot
I'm doing some testing on a possible new recovery firmware based off LEDE (OpenWrt fork), but booting anything that isn't a Debian uImage gives weird results. I suspect that there is something wrong in my images, but any opinion on it is welcome. I build kirkwood generic target from source, and I took the zimage and appended the dtb as stated (different names to suit my case) Eby bobafetthotmail - uBoot
(yes I know I should place this in its own thread in the rescue builds section, will do after testing this) quick update, found out how to enable ubifs build, but to make an ubifs there is too much device-specific info, we would have to keep dozens of different rootfs images. The current plan for recovery is making a generic squashfs rootfs with all tools and filesystem drivers we might neeby bobafetthotmail - uBoot
habibie Wrote: ------------------------------------------------------- > bobafetthotmail Wrote: > -------------------------------------------------- > ----- > > I made a OpenWRT Chaos Calmer image manually > > (imagebuilder, --> kirkwood generic target + > some > > necessary packages then unpack the > rootfs.tar.gz > > it generates and packed inby bobafetthotmail - uBoot
bodhi Wrote: ------------------------------------------------------- > bobafetthotmail Wrote: > > > I was talking about LEDE firmware, but yes, > also > > the script. > > Ah, put the flashing stuff in a single function in > the script and I'll look it over for you. Is it > ubifs problem? No, it is LEDE build system that does not generate ubifsby bobafetthotmail - uBoot
rayknight Wrote: ------------------------------------------------------- > nwestfal Wrote: > -------------------------------------------------- > ----- > > This looks pretty cool. Faster than E02 and > twice > > the RAM! But there doesn't seem to be any > > available at the moment for less than $25 > shipped. > > You might try messaging thby bobafetthotmail - Debian
bodhi Wrote: ------------------------------------------------------- > bobafetthotmail, > > > > From my tests everything works fine already > > I have not got time to look it over again. Will > have to find time to do this weekend. I was talking about LEDE firmware, but yes, also the script.by bobafetthotmail - uBoot
Gravelrash Wrote: ------------------------------------------------------- > @r$e : just blown my power supply, will have to > wait a while for my Pv4 feedback I hope it wasn't the script's fault. That said, I'm currently trying to add LEDE (fork of OpenWRT by most of its dev team) support for my boxes, so we can get a true firmware (for recovery or to use as primary)by bobafetthotmail - uBoot
Gravelrash Wrote: ------------------------------------------------------- > her is my output from the HPT5325 - it doesnt seem > to be able to connect to the ftp server > Sigh. Thanks anyway. Can you try pinging that site and the IP? Also, can you see this page with your browser (it's the ftp server) ftp://87.12.116.101/uploads/ or ftp://alby.ftp.sh/uploads/ I thouby bobafetthotmail - uBoot
Ok, now it works fine in stock firmware on my zyxel nsa310. Now we need to add to the script all other devices. It should be fast as we only need to set a few variables like what is the /dev/mtdX where uboot is, and find what stock firmware daemons get in the way so we can kill them before starting the process. If you (bodhi) don't have the time for that, or if you (whoever else) donby bobafetthotmail - uBoot
JoeyPogoPlugE02 Wrote: ------------------------------------------------------- > I don't understand, is kwboot built into Cisco's > firmware It is a hardware feature baked in the chip's internal initialization firmware that allows you to send it a new uboot over serial connection. >And where do I put that file then? read this thread. http://forum.doozan.com/reaby bobafetthotmail - Debian
I'm posting here so I have a place I can upload my script in a http server, feel free to look at it, but currently it's supposed to work on NSA310 only, and it's not yet fully tested (I'm doing so now). EDIT: damnit, sgdisk is too new for stock kernel, I'll have to try making a squeeze rootfs chroot in stock kernel to compile it statically. Thankfully it should be easyby bobafetthotmail - uBoot
JoeyPogoPlugE02 Wrote: ------------------------------------------------------- > Have you checked with Cisco to see if the download > site is actually valid? I ask for two reasons. > One, Symantec is frequently criticized for false > positives.. The download site is redirected to a site that shows as malware also on Firefox and Chrome, and to redirect there someone has boughby bobafetthotmail - Debian
I've finally found the time to resurrect the stock firmware of my NSA310 (I did weird things like formatting whole NAND to a big partition for OpenWRT), now I can test on that too, but it has fw_printenv, not blparam, so I still need someone with a device with blparam to test the above to see if it works and extracts the data we need. bodhi Wrote: ----------------------------------------by bobafetthotmail - uBoot
>Of course :) But if we leave this in, we need to test this very thouroughly. This is where the stock OS could get wiped out in some kirkwood boxes, Currently, the script filters and works only with /dev/sdx drives bigger than a GB or so. I think (correct me if I'm wrong) the minimum size limit should be enough to filter out any NAND partitions that for some weird reasons are listed aby bobafetthotmail - uBoot
Another update and another script to test for everyone that is still interested. (attached to this post) I'm still not flashing nothing, this script is only to test the code that reads the uboot envs so we can read important info like ethernet address and nand partition information and add that in the new uboot envs. I'm mostly interested in getting feedback from people with olderby bobafetthotmail - uBoot
>> Complicated in what way? Asks too much to user? >Yes. Might give more noob-friendly selection, no fdisk-l output and it simply writes a list like: 1. drive with XXXGB of capacity 2. drive with XXXGB of capacity Please choose the drive you want to install Debian in. >I think this is a good approach. Because sometime for boxes that have HDD internal bays the disks are aby bobafetthotmail - uBoot
Thanks for taking the time to review it! :) >1. 2. 3. That's mostly because in that earlier version of the script I had not implemented that yet, in the current script (unreleased) I have already added the right links. >4. Thanks for this, I'll add blparam to the function that tries various ways to get the envs we need. Jeff had a blparam for his own script and it isby bobafetthotmail - uBoot
habibie Wrote: ------------------------------------------------------- > bobafetthotmail Wrote: > -------------------------------------------------- > ----- > > There is a guy that ported openwrt on these > devices, but not on mine > http://opengemini.free.fr/wiki/doku.php?id=start > > > The above link indicated both LEDE and OpenWRT do > support this thby bobafetthotmail - Off-Topic
marcogaio Wrote: ------------------------------------------------------- > After doing the tests with the USB thumbdrive, > there's some way to save it ''permanently'' on > flash? As shown here http://forum.doozan.com/read.php?2,22623,25587#msg-25587 there is only 32MB or so of space on flash. It's enough only for firmwares, for Debian it's toby bobafetthotmail - Debian
habibie Wrote: ------------------------------------------------------- > If you can port this to > LEDE and/or > OpenWRT, then you > can add a lot of functionalities to serve you, > i.e. Asterisk, etc. Yes, this is why it is back to storage and not in the trash. There is a guy that ported openwrt on these devices, but not on mine http://opengemini.free.fr/wiki/doku.php?by bobafetthotmail - Off-Topic
ElMariachi Wrote: ------------------------------------------------------- > You mean with real flashing? Yes, the real flashing of a new uboot and then stock envs, and then updating these envs for each specific device. This is the part where if I screw up I brick a device. Or many devices. Thankfully this part should be much easier to do than what I did up to now in the script, as it iby bobafetthotmail - uBoot
@ElMariachi: Thanks a lot for the testing help so far! Will work on the uboot updating now.by bobafetthotmail - uBoot
I was inspecting some of the garbage I have in storage to see if there was something I could (not) throw away. I had bought a used Thecus n299 nas box (2 sata, 2 gigabit eth, unpopulated mini-PCI slot, some USB, crappy processor, 128MB ram) http://thecus.nas-central.org/wiki/Category:N299 some time ago because it was on sale at 10$ with 2x 500GB drives inside, so after I bought it I just openeby bobafetthotmail - Off-Topic
To keep automated bots from spamming my logs I usually keep SSH and other services (if applicable) on arbitrarily high ports. Like say SSH isn't on port 22, but for example on port 2423242 (random number by mashing keys). This requires me to specify the port manually when connecting to the server, but it is easy and I have the ports written down so I don't forget them. http://www.by bobafetthotmail - Off-Topic
bodhi Wrote: ------------------------------------------------------- > On the contrary, ext3 rootfs should be used, IMO. > This has ramification: backward compatibility (see > my instruction for installing rootfs). Ext4 is > better no doubt, but it would prevent the user to > ever boot with stock u-boot again. So I always > leave it to the users to upgrade it later. &by bobafetthotmail - uBoot
bodhi Wrote: ------------------------------------------------------- > One foolproof solution would be reversing the > installation. And we only need a small toolbox. > Let's try creating the basic rootfs first using > ext3, and then chroot into that and do u-boot > installation. Hmm, the current toolbox is smaller than a rootfs and should be able to install ubootby bobafetthotmail - uBoot
ElMariachi Wrote: ------------------------------------------------------- > Results for both options (sata and usb) are in > attachments. Thanks for taking the time to do the hack to test further. It seems the device does not have the drivers to mount ext4 partitions, not even as ext2, which was the "last thing that could have gone wrong" I was talking about (I was undereby bobafetthotmail - uBoot
Gravelrash Wrote: ------------------------------------------------------- > wget > https://doc-08-7o-docs.googleusercontent.com/docs/ > securesc/ha0ro937gcuc7l7deffksulhg5h7mbp1/q9col44f > p9q3rqu5ralpm115j1blgbk8/1470132000000/14819486730 > 827555679/*/0B9BuGVh30LKyek5IZFk3d090ZUE?e=downloa > d > > should grab it I wonder if that will only work temporarily asby bobafetthotmail - Debian
bodhi Wrote: ------------------------------------------------------- > @Ray, > > > > https://drive.google.com/file/d/0B9BuGVh30LKyek5IZ > > > Fk3d090ZUE/view?usp=sharing > > > > I could not use wget to download this. It's normal, you need a modern GUI browser or special tools that interact with google's API https://github.com/prasmussby bobafetthotmail - Debian