Quantcast
Channel: Linux Device Hacking - Debian
Browsing all 26847 articles
Browse latest View live
↧

Re: Debian on Freecom Silverstore 2 NAS

garagoyun , It looks as though the Debian mtd0 partition has nothing on it! Please do a hex dump/editor on both stock's and Debian's mtd nanddump files to see if that is true, and we can see the envs...

View Article


Re: Debian on Freecom Silverstore 2 NAS

bodhi Wrote: ------------------------------------------------------- > garagoyun , > > It looks as though the Debian mtd0 partition has > nothing on it! Please a hex dump/editor on both...

View Article


Re: Debian on Freecom Silverstore 2 NAS

garagoyun, That's a little odd. I'd expected to see something like this using hexedit. 00000000 82 45 2E B3 62 6F 6F 74 61 72 67 73 3D 63 6F 6E 73 6F 6C 65 3D 74 74 79 53 30 2C 31 31 35 32 30 30 20 6D...

View Article

Re: Debian on Freecom Silverstore 2 NAS

Here is the new DTB. Hope this is the one! I would like you to do 2 tests. 1. Append this DTB as you did. And boot into Debian and cat /proc/cmdline cat /proc/mtd cat /etc/fw_env.config fw_printenv 2....

View Article

Re: Debian on Freecom Silverstore 2 NAS

bodhi Wrote: ------------------------------------------------------- > garagoyun, > > That's a little odd. I'd expected to see something > like this using hexedit. > > On the right...

View Article


Re: Debian on Freecom Silverstore 2 NAS

bodhi Wrote: ------------------------------------------------------- > Here is the new DTB. Hope this is the one! > > > I would like you to do 2 tests. > > 1. Append this DTB as you...

View Article

Re: Debian on Freecom Silverstore 2 NAS

garagoyun, That's really a strange problem. Everything seems to be OK in the hex listing. The tests with new DTB is to cover the case where it might be a bug in how the DTB were parsed and populated...

View Article

Re: Debian on Freecom Silverstore 2 NAS

bodhi Wrote: ------------------------------------------------------- > 2. The next thing to do is: > > a. Set up envs to boot with HDD rootfs. Let me > know when you are ready. Yes,...

View Article


Re: Debian on Freecom Silverstore 2 NAS

garagoyun, You can use the nanddump mtd0 to kwboot it. Remember to use -p option on the kwboot command. nanddump --noecc --omitoob -f mtd0.silverstore.stock /dev/mtd0 The kwboot command would be:...

View Article


Re: Debian on Freecom Silverstore 2 NAS

bodhi Wrote: ------------------------------------------------------- > garagoyun, > > You can use the nanddump mtd0 to kwboot it. > Remember to use -p option on the kwboot command. >...

View Article

Re: Debian on Freecom Silverstore 2 NAS

garagoyun, > > Currently, the u-boot is on mtd1 so it should be: > > nanddump --noecc --omitoob -f > mtd1.silverstore.stock /dev/mtd1 > > And not /dev/mtd0 Correct? > >...

View Article

Re: Debian on Freecom Silverstore 2 NAS

bodhi, Good thing I have asked. I was a bit confused. I will test that shortly, but first wanted to inform you that I have tried saving the env to boot automatically from USB with saveenv command....

View Article

Re: Debian on Freecom Silverstore 2 NAS

bodhi Wrote: ------------------------------------------------------- > garagoyun, > > You can use the nanddump mtd0 to kwboot it. > Remember to use -p option on the kwboot command. >...

View Article


Re: Debian on Freecom Silverstore 2 NAS

garagoyun, 1. bootcmd issue: let's see if bootcmd was reset by stock. Sometime they intentionally do that in stock u-boot....

View Article

Re: Debian on Freecom Silverstore 2 NAS

bodhi Wrote: ------------------------------------------------------- > garagoyun, > > 1. bootcmd issue: let's see if bootcmd was reset > by stock. Sometime they intentionally do that in...

View Article


Re: Debian on Freecom Silverstore 2 NAS

bodhi, I have tried with the mtd0 for NSA325. As you mentioned it did not go too far, however at the end it states some info regarding U-Boot 2017.07-tld-1. I assume it is on its own a success :)...

View Article

Re: Debian on Freecom Silverstore 2 NAS

garagoyun, Quote> > I have tried with the mtd0 for NSA325. As you > mentioned it did not go too far, however at the > end it states some info regarding U-Boot > 2017.07-tld-1. I assume...

View Article


Re: Debian on Freecom Silverstore 2 NAS

garagoyun Wrote: > bootcmd=nand reset; nand read.e 0x800000 > 0x00100000 0x00199800; check_crc32 PrEr; nand > reset; nand read.e 0x40000 0x00380000 0x0027d400; > check_crc32 KrNl; setenv...

View Article

Re: Debian on Freecom Silverstore 2 NAS

Yes. Just what I'd expect to see. The best I can say about that it is a very sloppy chunk of code :) .... + setenv("bootcmd", buff); +} +#else So it got reset to a hardcoded bootcmd at each boot.

View Article

Re: Debian on Freecom Silverstore 2 NAS

garagoyun, Power up, interrupt serial console and setenv bootargs_root 'root=/dev/ram0 rootfstype=cramfs init=/etc/rc.preroot initrd=0x800000,0x1000000; echo Booting Stock ...; ' boot See if that...

View Article
Browsing all 26847 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>