Replies: 24 comments 25 replies
-
That might be possible but would require some manual work to restrict apps to a specific IP address sub net. As well network interface need to be configured manually as our tools don't support multiple interface as of now. |
Beta Was this translation helpful? Give feedback.
-
Hi @MichaIng and @Joulinar - I got my shiny new (actually is not shiny, is mat-black) nanopi r6s. I have run into some problems installing DietPi at at very early step. I am certain it is caused by me not quite (but almost) understanding what I am doing and is not any problem with the DietPi image. But - I am hoping that you can help me anyway. I want to install the IMG by the usb cable approach. See here These are the steps :
I think the problem is about the Partitions that already exist (pre-installed) on the device. So my guess is they need to be wiped so DietPi will install into - one partition - taking up the whole space. This is the screen that I believe shows what is there now: I am just nervous to do anything without advice - as I fear bricking the device ... Any advice you can provide is ALWAYS welcome 😁🙏🏻 |
Beta Was this translation helpful? Give feedback.
-
The Rockpi that use the same usb tool as Nanopi (RKDevTool) .... the Rockpi site gives clear instructions on using that tool, and on my Rockpi I had no problems installing Dietpi with that tool . : https://wiki.radxa.com/Rockpi4/dev/usb-install But for Nanopi, which to keep ? which to clear ? I am assume I must keep "Loader" ? (pls confirm) - but what of all those other ones ? Paramter, Uboot, Misc, Dtbo, vbmeta, Boot, Recovery, baseparamter, Super ? Which to keep and which to clear ? I can not find instructions that explains CLEARLY what are the steps |
Beta Was this translation helpful? Give feedback.
-
Personally, I booted the system first time from SD card. Once install finished, I used |
Beta Was this translation helpful? Give feedback.
-
Hi @Joulinar , thanks for your reply. That's not really an option for me here. And I suspect, even if went on that path, I would STILL run up against the same problem I am facing now. That is, the eMMC seems to be partitioned now and contain all those things that I showed . Which partition (on eMMC) did you dd the image across to ? Did you leave all the other partitions as they were (see above image) ? That is the main knowledge gap at this point . If I know those things - I should be able to proceed with the RKDevTool |
Beta Was this translation helpful? Give feedback.
-
Here is the manual for RKDevTool - I "believe" (but not know for sure) that I should be leaving the LOADER in place and then just have an IMG for Dietpi. The manual seems like translated to english by google translate or other robot - so is not so easy to follow. |
Beta Was this translation helpful? Give feedback.
-
how can i take that knowledge and then use RKDevTool to load the Dietpi image via the usb cable ? |
Beta Was this translation helpful? Give feedback.
-
To load the Android image ( this from friendlyelec forum ), their advice is this: Start RKDevTool_Release_v2.84 Change all .bin files to point to extracted Android image folder equivalents So, seems like, I just need the corresponding info for DietPi. |
Beta Was this translation helpful? Give feedback.
-
When I used the RKDevTool ( in different location) for the RockPi4 - I had to KEEP - the Raxda supplied "loader". Is that likely to be the same for this one ? It would be easy enough to wipe out everything showing in their table - but the actual Message when trying to laod the DietPi image was "Loading Firmware failed" -- I suspect it was loading to the wrong address, or something else is already there that needs to first be deleted. Rather than guessing - I am trying to find out that information . |
Beta Was this translation helpful? Give feedback.
-
The is link : https://wiki.friendlyelec.com/wiki/index.php/NanoPi_R6S#Install_OS_to_eMMC ---------------- cut/paste----------- A firmware in general is packaged in either of the two options: the first is an whole image (ie, update.img) which is often offered by third party developers, the second is that an image is packaged and placed in multiple partition images. FriendlyElec offers an image in the latter option.
On a PC which has the extracted RKDevTool_Release_v2.84 utility, go to the RKDevTool_Release_v2.84 directory, run the RKDevTool.exe file. If everything works, you will see a “Found a new Maskrom device” message on the utility;
---------------- cut/paste----------- |
Beta Was this translation helpful? Give feedback.
-
I never got this working with the RKDevTool either. On ROCK Pi S, you need to additionally select a firmware binary to successfully connect to the MASKROM device, not sure why (and really if) this is not required for NanoPi R5S/R6S, or if even this is why it fails and they simply missed to mention this step and provide the required firmware binary. That it says "Loading Firmware failed" is actually pointing into this direction. There is a Linux variant of this tool as well, called You btw need to select the whole single DietPi image (if it shall every work). On the first tab, it includes partitioning, and you do not want our image to be flashed into a partition, but as it contains partitions itself, you want it to be flashed onto the whole drive, which can be only done on the other tab, but there you must select a firmware binary. For Why Rockchip offers this crap instead of just exposing the eMMC as regular block device when connecting via USB, and let everyone choose well known flashing tools, remains a mystery... |
Beta Was this translation helpful? Give feedback.
-
Hi @MichaIng - oh that's bad "you never got it working". For me, it is a 4.5 hour drive to Darwin, probably another hour to find a suitable SD, and then another 4.5 hour drive time back to here. I wasn't planning to go there again until late Feb. Really hoping to get this working by USB. I have downloaded the Debian Bullseye USB image to see if I can make sense of it. But to go the SD card option, I got to drive 500km in each direction or wait till late Feb..... So I am not inclined to give up on the USB cable just yet - but have a headache now that I know u didn't get it to work either. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
What about using the LOADER from Raxda - https://dl.radxa.com/rock5/sw/images/loader/rock-5b/rk3588_spl_loader_v1.08.111.bin Am trying your suggestion now |
Beta Was this translation helpful? Give feedback.
-
It was suspiciously promising - even it didn't work - and I am going to bed now. Tomorrow - I am partly emboldened to try a few more things since you say I cannot brick it. The first thing - is to try it from a Mac or Linux device. I remember a a couple months ago in Manila doing it with the RockPi4, it didn't work from Windows , but then from an old Mac using the Also - https://wiki.radxa.com/Rock5/install/spi here they are always saying to ERASE first with a zero.img (which they supply) before loading. And the Anyway - it is worth a try. I fear the only Mac here is a new one with only usb-c ports, but hopefully that will still work. Thanks for your help. And if any other ideas - just let me know UPDATE - I just saw your comment, so I will avoid the raxda loader bin file in my attempts tomorrow. |
Beta Was this translation helpful? Give feedback.
-
Hi @Joulinar - yeah... I failed on all possibilities to get the USB cable working. So now onto plan B ( SD card, then using DD ) I already bit the bullet and did the long drive (1000km round trip) . Besides the time, fuel and accom costs, unfortunately one kangaroo gave up his life (road kill) so I could get that SD card to make DietPi run on the NanoPi R6S 😢🙏🏻 Anyway - have now installed Dietpi onto SD card and have it running on the NanoPi R6S. Please advise about the best System looks like this (64gb sd card) and (32 GB eMMC) :
|
Beta Was this translation helpful? Give feedback.
-
Hi @Joulinar , thanks for your reply. |
Beta Was this translation helpful? Give feedback.
-
Option 1 , as described in that link, does not work for the case where SD is larger than eMMc. The instructions on that page for that case are not correct, or are inadequate. Just because The So I ended up doing option 2 - I am thinking I could have done option 2 even without Dietpi running .... so probably did not even need the SD card. Or the usb cable, I mean, the nanopi boots up to another linux ( ie think openwrt ? ) . For that option, only needs to Another very annoying problem is the TTY screen size dimensions ( I mean before SSH is setup, direct by hdmi cable). And, although usually use SSH there are sometimes (rare) when still need to attach the hdmi cable and use a real tty session. The problem is that it goes off the bottom of the screen, so cannot see if cursor is on "ok" or "cancel" or "back" , becasue that is at the bottom (ie off the screen). So do not know what "enter" or "tab" will do.. How to change the dimensions of the tty screen ? At first I tried |
Beta Was this translation helpful? Give feedback.
-
hi @MichaIng - (1) about the (2) about the annoying console screen sizing - I fix it each time, manually, by using (3) I have bigger problems right now.... It WAS all running perfectly, until about 1am last night. The nanopi was giving screamingly fast performance with a few of my own tests. I had used the dietpi-config to setup LAN2 network (as u advised)... All was good. And then I tried to configure a second ethernet - which failed - there was some (coincidental) hardware failures on the router's Ethernet ports.. More to details to follow |
Beta Was this translation helpful? Give feedback.
-
This is what happened
Can u add any suggestions or input to this problem ? I cannot believe it... total disaster here at this time. |
Beta Was this translation helpful? Give feedback.
-
Am back on line - replacement router - nanopi - operational and fully online again ( ETH0 only) .... I am starting to think that those router problems were pure coincidence, I will tackle the inital problem again tomorrow, that is: getting ETH1 to work on different subnet, ie both ETH0 and ETH1 running.... |
Beta Was this translation helpful? Give feedback.
-
My router does support different subnets on its multiple Ethernet ports. I have configured other routers to do that many times. Easy to configure - vlans using ddwrt. The plan is NOT to have the nanopi to do any routing between its 2 different IP addresses. |
Beta Was this translation helpful? Give feedback.
-
Hi @MichaIng - I am sorry late to provide an update. All running from my side for a few days now, both ETH0 and ETH1 on different subnets. One or two minor things still to update, most of that is outside of dietpi on other devices. In order to more fully test my setup - there are few tests I want to do from HDMI/direct keyboard. Those hw items are not usually connected to the nanopi. They were connected at a few stages during my initial install. But not been connected for a week or so. Today I plugged hdmi screen directly into dietpi and On raspi I could always add these two lines to
Then if at some point in future I want to plug in hdmi , it is there even without a reboot. Is there something similar on dietpi ? Maybe my problem is even deeper, because I see nothing on the hdmi screen even after a power-on . Any advice please ? |
Beta Was this translation helpful? Give feedback.
-
Hi @MichaIng and thanks for your reply. Ok - i will try that package.... But my "hdmi not working" seems a bit different,. I had no problems about, and never had problems about , "will not boot". At the beginning ( a few weeks ago), before I setup everything - like my keys in ssh , my nanopi always did boot up to HDMI screen and attached keyboard. Since then, I have only been using ssh and occasionally LXDE. So, I do not know when "HDMI stopped giving output". Now - it just seems like the HDMI is "set to off". I mean the screen displays "no signal". This problem is not about the resolution size of the screen. When I encountered that problem, weeks ago, I simply solved it by manually setting UPDATE: aahh - I think I see what you mean - that maybe the nanopi is not getting enough power to activate the HDMI.. I suppose that could be the problem, because in the early days of set up it was only driving eth0... but now it is driving eth0 and eth1... It should be getting 12watts. |
Beta Was this translation helpful? Give feedback.
-
Hi all - probably a very basic question....
I am thinking to buy NanoPi r6s - and install Dietpi on it.
It has 3 ethernet ports.
I wish to configure like this : some services ( like caddy and lighttpd ) using one IP address (one ethernet port)
and PiHole using different IP address ( a different ethernet port).
Each port cabled to different router, on different subnet
Is any obvious problem with this idea ? And how to do it ? ... I mean .. the multiple IP addresses ( one for each ethernet) on the same Linux system ? Can find my way around a Linux system - though am still relatively new to it
Any advice or suggestions warmly received.... Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions