rayknight, > root@debian:~# fw_printenv bootcmd > bootcmd=run bootcmd_uenv; run bootcmd_usb; run > bootcmd_nand; reset > root@debian:~# fw_printenv mtdparts > mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage) > ,32M(rootfs),-(data) You've already flashed the new u-boot default envs, or were these set manually? > I have serial access. I think it is beby bodhi - uBoot
I've split the last posts into its own thread: http://forum.doozan.com/read.php?3,28443 Also this one: http://forum.doozan.com/read.php?3,28541by bodhi - uBoot
rayknight, > What do I do now? Is this a result of the crappy > OpenWrt u-boot I'm trying to replace? raynight, Whenever you see this error, it means the mtd0 was not RW. If you boot with OpenWrt u-boot, that's what it did to tell the kernel that mtd0 is RO. This can be fixed in the mtdparts env. So let's check the Pogo E02 envs. fw_printenv | grep -i dtb fwby bodhi - uBoot
@Gravelrash, > i think that we are finished, all bar your > feedback and instructions on how to configure and > boot your plugs from NFS It's going to be a little long so I think I will do that in a separate post, when I have a good block of free time. In the mean time, you could refer to tsunulukai's thread: Boot your Dockstar by TFTP/NFS Please also mention thatby bodhi - Debian
Yes, if it is suppose to be wide open. Then no_root_squash,no_subtree_checkby bodhi - Debian
rkrug, > > and it is working. It took some time to boot, but > it is working. Because u-boot scan all 5 partitions to find the kernel file uImage. > I was thinking of marking boot as the active > partition, but it is working with rootfs as active > partition. > > I guess this is the best approach, as partition > one is only 314 MB? It is good. Notby bodhi - uBoot
Dont mess with the partition if you have data in it. I'll come up with a couple solutions. What is in the 1st partition and can it be used for booting? Is it ext2,3,4?by bodhi - uBoot
@Gravelrash, I don't recall following any specific tutorial. I think it was just what I gathered from reading various sites after googling. I think the information so far in this thread is a good enough summary. Perhaps it is OK just to have a main section. And then a smaller section that mentions that what you decribe is for the latest, ie. V4, and specific things one needs to be awarby bodhi - Debian
rkrug Wrote: ------------------------------------------------------- > OK - so the problem is, that rootfs is in > partition 5 and not 1? rootfs should boot OK with the partition label. But the /boot must be in partition 1. To boot partition 5, you can hardcode the u-boot env. But it is a poor approach. To ensure booting correctly, rootfs should be moved to partition 1, can you dby bodhi - uBoot
@Gravelrash, Also, nfs-kernel-server provides both V3 and V4, with the default mount is V4. I believe if the client does not specify the type, then it will always mounted with V4. So the export /media/Disk1 xxx.xxx.0.0/24(rw,async,insecure,no_subtree_check) is mounted as V4 by default, if the client does not specify a V3 mount. @notoneofmyseeds, The bottom line is someone new toby bodhi - Debian
> If I don't load the u-boot, then the NAS is > constantly rebooting about every minute. The fan > is running slow. 1. This is the HW watchdog in action when you run u-boot from NAND. Is it 2014 version or 2015.10? I've encoded a command to kill the watchdog in the new u-boot 2015.10. So that's why it did not restart the box , as oppose to running normally with u-by bodhi - uBoot
mxhdrm, > I'm going to see if I have the requisite supplies > around the house for the serial console. I have > some of the stuff here, but I may need some other > parts. > > I guess I'll have to fully digest the set up for > the upgraded u-boot. And if that works, then I'll > probably do them to all of the other plugs I have, > just to keepby bodhi - Debian
gazsiazasz, > > The device was in use but suddenly stopped working > and seems like it is not booting via UART. Is is > also not booting anything from NAND neither > outputs anything on UART. > This is a tough one. The fact that you can run kwboot, and has loaded a complete u-boot image, indicates that your bootROM works, and your serial port also works. At this poby bodhi - uBoot
Tushar Wrote: ------------------------------------------------------- > Bodhi, > > I have already taken backup of my stock pogoplug > (v4) MTD partitions, > > > dev: size erasesize name > mtd0: 00200000 00020000 "u-boot" > mtd1: 00300000 00020000 "uImage" > mtd2: 00300000 00020000 "uImage2" > mtd3: 00800000 000200by bodhi - uBoot
LeggoMyEggo Wrote: ------------------------------------------------------- > Perfect explanation Professor Bodhi ! Now I am > enlightened :) > > So on average would running a Plug off of a NFS > rootfs share hosted on a x86 system be faster than > running that Plug off of a local USB drive? How > does NFS compare to a Plug running off of a SATA > drive (in theby bodhi - Debian
notoneofmyseeds, Note that I said in the other thread that there are many ways to set up USB automounting in Linux. The hardest way to set up is using udev rules (sometime you want to control the automounting at a lower level). That's why I posted the instruction here. However, the easier way to set up is using usbmount or autofs. Quote ~# apt-cache show usbmount Package: usbmounby bodhi - Debian
mxhdrm, > From what I gather, I've got an issue with my USB > HD formatting. I'm not opposed to reformatting > the disk, as the only thing that's on there is > some music that I do already have somewhere else. > So if that's what I need to do, I'm all for it. I > won't be losing anything. Yes I think it is best to reformat it from scratby bodhi - Debian
syong Wrote: ------------------------------------------------------- > @bodhi, > > From xssa's overlayfs idea, we do not need ssh to > enable serial console on the stock os. > > Just do this as root: > > > mount /dev/sda1 /mnt > cp /etc/inittab /mnt/writable-cow/etc/ > reboot > > > Wait patiently at serial console... > > Tby bodhi - Debian
JoeyPogoPlugE02 Wrote: ------------------------------------------------------- > Point well taken for sure. > > Say Bodhi, maybe this is a good place to ask, did > you get the noise down on that unit that was a > little loud for comfort? > I did. I can't hear the fan from more than 3ft or 4ft away. > I ask because my power supply on main computer is >by bodhi - Off-Topic
> Um Mr. Professor, could you, er, um, elaborate on > why you would want to use NFS for rootfs? :) Everybody has different needs. So YMMV. If you have a lot of plugs, there are many different reasons why you would want to boot from NFS root. Even more so if local storage is not needed for each plug. Practicallity: - Save in cost of having a USB drive for each. - Save in maiby bodhi - Debian
IMO, when building or buying your HTPC, get exactly what you need at the minimum cost. Don't overspend and thinking about growth. It will be obsolete vey quickly.by bodhi - Off-Topic
1. Let's get the USB SSD disk info after you plugged in. dmesg | tail -30 fdisk -l mount e2label /dev/sdb1 and then mount the SSD and get mount df -h We might see something here, so no need to install new u-boot yet. 2. To install new u-boot, read the first post of the u-boot thread: http://forum.doozan.com/read.php?3,16017 Ignore the preamble. You've alreadyby bodhi - Debian
> computing to DIY upgrade, in fact when you see the > guy's breakout box to control it, you immediately > realize an OrangePi could fit int e breakout box > and negate the need for a PC upstairs with a bunch > of fans running... > When my Acer Revo 360 HTPC will have died, that's exactly what I'll do. Use a nice looking microATX case and put either RPi2/3by bodhi - Off-Topic
Gravelrash Wrote: ------------------------------------------------------- > @bodhi > > NP i can amend to suit, the above as you rightly > point out is for V4 (which for me is my default). > I have tried to keep to the KISS principle in the > above. > > I will hunt down some info on V3 and split the > above into V3 and V4 sections. been a while since > iby bodhi - Debian
@Gravelrash, I think we need to add info about version 3 and version 4. How to export V3 NFS and V4 NFS shares (base on the syntax). And how a client can choose to mount the version. Since everything is default to V4, but a lot of V3 clients are still out there (stock, u-boot,....) For example, current U-Boot only works with V3. This is in the NFS rootfs topic, which I intented to make a cby bodhi - Debian
notoneofmyseeds, Remember that this rootfs is a basic rootfs. I've intentionally made it that way to keep it small and lean for an initial installation. To have all disks/partitions mounted during boot and presented to the users/application, you will need to install more packages. Automount can be set up with a few different ways in Linux. Look again in the Wiki - Debian on ARM Topics andby bodhi - Debian
pengu Well, if you look at the code, looks like the firmware loading has not been completed. And that does not have anything to do with pintctrl. [ 12.662092] usb 1-1.2: dvb_usb_v2: found a 'Hauppauge WinTV-MiniStick 2' in cold state [ 12.773961] usb 1-1.2: dvb_usb_v2: downloading firmware from file 'dvb-usb-it9135-02.fw' [ 12.948436] usb 1-1.2: dvb_usb_af9035by bodhi - Debian
Gravelrash Wrote: ------------------------------------------------------- > bodhi Wrote: > -------------------------------------------------- > ----- > > If somebody post an NFS tutorial in a new topic, > I > > will help polish it. > > P.S.B. > http://forum.doozan.com/read.php?2,28351 Cool!by bodhi - Debian
notoneofmyseeds, If the /root/.vnc folder does not exist, then mkdir /root/.vnc and then edit /root/.vnc/xstartupby bodhi - Debian
notoneofmyseeds Wrote: ------------------------------------------------------- > bodhi Wrote: > -------------------------------------------------- > ----- > > See my update above to clarify. > > > Thanks a lot. But can I ask how you serve video > files from your pogo to clients, please? I know > SAMBA is an option, but my client will not accept > suchby bodhi - Debian