-
-
Notifications
You must be signed in to change notification settings - Fork 501
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NanoPC T4 | Won't boot with rootfs 0x000B2000, might with 0x00030000 #2142
Comments
@LieDanG I added v6.17 milestone so we do not forget to check, even it seems an image/kernel issue. Read in the other thread, that we can create a new image based on new available custom kernel. |
@LieDanG
Thanks for the report, very strange, unable to replicate this here. Could be a bad image write, any errors during write? Which tool are you using to write the images (eg: Android Tool provided in our download). Regardless, I'am updating this image with new kernel by carlosp, will let you know when its ready for use. |
@LieDanG Image updated, tested working on my NanoPC-T4, please let me know if this resolves the issue: |
There are no errors and I'm writing the image using the Android Tool from your download This time it says Dietpi tty1 But it happens the same, login with root:dietpi does nothing it returns again to login screen |
@LieDanG Does login via SSH work, as it looks like you are trying on local console (tty1)? |
@MichaIng It's weird, with the official Friendlyarm image everything works fine, could be a board revision unsupported with current kernel config? I could try to use it to get some info if that helps |
@LieDanG
Interesting, could be a different ethernet chipset, however, carlosp kernel uses the latest FriendlyARM kernel, which, should be the same as FriendlyARM image. Are you able to connect serial, dump the following command once logged in?
|
I found an old usb serial adapter, this is what I get
After that I get some random characters but I can't type anything, it's from a fresh boot |
@LieDanG Thanks 👍 Appears related to display port, I get the same errors.
Appears the resize script is failing
Looks like a bad image write. Try the following in android tool:
If problems persist:
When this occurs, reconnect the serial cable (USB side), and serial client. Press enter and see if you can log in. If you can log in, check:
|
I can't use the lower level format option, I get an error
Already tried reconnecting the adapter but can't login |
Ok I found the problem I noticed that the Android Tool by default has the address 0x000B2000 for their rootfs.img but in the FriendlyDesktop image the parameter.txt file has the address 0x00030000 and I forgot that I had to manually change it when I flashed their image to make it work with my board I changed the address for the DietPi rootfs and it worked, could you check if that address also works with yours? Also it's not related with this but I noticed something with the current DietPi image: I enabled the shared desktop mode for the vnc but it doesn't work and it seems that vnc doesn't start with that option as it works fine if it's disabled |
@LieDanG
Yep, i'll run a test.
Thanks, i'll check. VNC4? |
@LieDanG For shared desktop mode with VNC to work, a desktop must be running on the system. 🈴 Ah there is an issue with our VNC script under shared mode. Will be resolved for next release. |
- DietPi-Software | VNC Server: Resolved an issue where VNC server would fail to start under shared desktop mode, many thanks to @LieDanG for reporting this issue: https://github.com/Fourdee/DietPi/issues/2142#issuecomment-430492281
@LieDanG
This did not work for my system, failed to boot. As such, i'll mark this as possible info, should any else experience the same issues you did. |
Did you changed the address both in the Android Tool and in the parameter.txt file? |
@LieDanG
Missed that one, will redo the test 👍 |
**v6.17** (25/10/18) **Changes / Improvements / Optimisations:** - General | NanoPC T4: Image updated to include lastest kernel (4.4.154). Many thanks to @carlosedp for providing this kernel! https://github.com/Fourdee/DietPi/issues/1829#issuecomment-429324437 - General | DietPi now has 3 branches (master=stable, beta=public testing, dev=dev). By default, all users are on master/stable branch: https://github.com/Fourdee/DietPi/issues/2083#issuecomment-426842537 - General | Improved detection of permissions support during user data transfers: https://github.com/Fourdee/DietPi/issues/2096 - General | IPv6: Due to the requirements of various software titles available in dietpi-software (eg: nginx, redis-server), and that IPv6 is slowly becoming more common place, IPv6 is now disabled via sysctl on interface level, while it stays enabled on kernel level: https://github.com/Fourdee/DietPi/issues/2027 - DietPi-Autostart | Chromium: You will now be prompted to enter a homepage URL, which will be loaded when the application starts: https://github.com/Fourdee/DietPi/issues/2169#issuecomment-432297343 - DietPi-Config | RPi: Added support for LCD panel "Elecrow ESP01215E 7 inch HDMI IPS with touch input" (basically a cheaper RPi touchscreen): https://www.amazon.co.uk/gp/product/B07H79XMLT/ref=oh_aui_detailpage_o01_s00?ie=UTF8&psc=1 - DietPi-Config | Added ability to benchmark network LAN transfer rates using 2 DietPi systems. - DietPi-Config | RPi: Changing the display resolution, will also apply to Chromium under kiosk/autostart mode: https://github.com/Fourdee/DietPi/issues/2158 - DietPi-Config | Added an option to toggle preferring IPv4 connections with APT and wget, if IPv6 is enabled. This enhances compatibility and performance in some cases. - DietPi-Config | Online Benchmarks Database! Now available. Simply run the benchmark from the tools menu, to upload your scores and compare against others: https://dietpi.com/survey - DietPi-Automation | Added settings to dietpi.txt to toggle IPv6 and IPv4 preference on first boot. - DietPi-Update | You now have the option to view the changelog, prior to updating: https://github.com/Fourdee/DietPi/issues/2081 - DietPi-Software | Sabnzbd: Updated to 2.3.5 for new installations only. Now runs under its own limited user account, and, umask of 0775 for downloads: https://github.com/Fourdee/DietPi/issues/2172 - DietPi-Software | Card/CalDAV request redirection was added to new Baikal, ownCloud and Nextcloud installs. Now only the servers domain/IP need to be entered on Card/CalDAV clients, without any further path to the DAV endpoints: https://github.com/Fourdee/DietPi/issues/2057 - DietPi-Software | Plex Media Server and Transmission services run now as group "dietpi", to allow cross access with download managers and media software: https://github.com/Fourdee/DietPi/issues/2067#issuecomment-427579779 - DietPi-Set_Hardware | Odroid C2: When selecting USB DAC, smp affinity will be applied for USB IRQ's to improve stability: https://github.com/Fourdee/DietPi/issues/2101 - DietPi-Drive_Manager | Formatting: Now has the option to format the whole drive, or patition only, for drives with existing partitions. - DietPi-Drive_Manager | Mounting NTFS drives now enabled native linux permissions support (eg: you can use this as your userdata location). Many thanks to @Random90 for making this possible! https://github.com/Fourdee/DietPi/issues/2096#issuecomment-425553333 - DietPi-Drive_Manager | Improved detection and formatting for NVMe based drives: https://github.com/Fourdee/DietPi/issues/2102 - DietPi-Drive_Manager | Removed /proc from fstab. No longer required as this created at kernel/systemd level: https://github.com/Fourdee/DietPi/issues/2154 **Bug Fixes:** - General | G_THREAD_START: Resolved issue where this was running in blocking mode. Now uses exit code to indentify finished tasks instead of PID. - DietPi-Cloudshell | Resolved various issues with inability to run service via SSH on another screen, and, G_DIETPI-NOTIFY errors. Many thanks to @potter-91 for reporting this issue! https://github.com/Fourdee/DietPi/issues/2104 - DietPi-Config | WiFi-Monitor: Resolved an issue with syntax, and, incorrectly pinging the default gateway, instead of whats assigned to the wlan interface: https://github.com/Fourdee/DietPi/issues/2103 - DietPi-Config | dietpi-wifi.db code has been optimized, and, also resolves an issue where '/var/lib/dietpi/dietpi-wifi.db' was not generated automatically: https://github.com/Fourdee/DietPi/issues/2087#issuecomment-423836528 - DietPi-Config | Waveshare32b: Resolved inverted inputs under X11/Xorg: https://github.com/Fourdee/DietPi/issues/803 - DietPi-Config | PineA64: HDMI sound is now correctly enabled when selected. 3.5mm support is still under investigation: https://github.com/Fourdee/DietPi/issues/2153 - DietPi-Drive_Manager | Resolved an issue where swapfile would register as enabled when set to 0 size: https://github.com/Fourdee/DietPi/issues/2127 - DietPi-Survey | Resolved an issue where dietpi-survey under mode 1 would not generate the survey file. - DietPi-Software | MPD: Now runs under the group 'dietpi' and user 'root', allowing access to music directories when contained on samba networked drives: https://github.com/Fourdee/DietPi/issues/2092 - DietPi-Software | Fixed an issue where software uninstalls could have failed due to dependant packages. Thanks to @dynobot for reporting this issue: https://github.com/Fourdee/DietPi/issues/2091 - DietPi-Software | Webservers/PHP: Fixed an issue, where PHP was not installed when a webserver was installed directly via "dietpi-software install 8X". - DietPi-Software | Nextcloud: On Jessie systems, no newer version than latest NC13 will be installed, because PHP5 support was dropped with NC14: https://github.com/Fourdee/DietPi/issues/1778#issuecomment-419918372 - DietPi-Software | MyMPD: Resolved an issue where the service would fail to run: https://github.com/Fourdee/DietPi/issues/2088 - DietPi-Software | MyMPD: Resolved an issue where the installation would fail, due to a recent MyMPD update with new pre-reqs: https://github.com/Fourdee/DietPi/issues/2088#issuecomment-423852124 - DietPi-Software | SiCKRAGE: Resolved failing install due to changed capitalization of SiCKRAGE GitHub repo, and, various additional pre-reqs due to new install method required by SiCKRAGE. Thanks to @mdoary for reporting this issue: https://github.com/Fourdee/DietPi/issues/2126 - DietPi-Software | VNC Server: Resolved an issue where VNC server would fail to start under shared desktop mode, many thanks to @LieDanG for reporting this issue: https://github.com/Fourdee/DietPi/issues/2142#issuecomment-430492281 - DietPi-Process_tool | Resolved an issue where applying process settings on Plex Media Server failed, thanks to @symbios24 for reporting this issue: https://github.com/Fourdee/DietPi/issues/2089 - General | Sparky SBC: Resolved an issue where 'sparky_eth_controller.sh' could incorrectly reboot the device after 20 seconds. - General | Resolved an issue with Rock64 being unable to run xserver. Please note this device still runs under limited software rendering due to lack of available working drivers/installation method for Debian systems: https://github.com/Fourdee/DietPi/issues/2086 - General | Resolved an issue with Jessie failing to start networking with preboot script: https://github.com/Fourdee/DietPi/issues/2075 **Allo GUI v11:** - Minor update to add GUI support for new DietPi version codes. As always, many smaller code performance and stability improvements, visual and spelling fixes have been done, too much to list all of them here. **Known/Outstanding Core Issues:** - O!MPD and MyMPD fail to update libaries. YMPD is fine: https://github.com/Fourdee/DietPi/issues/2156 - Kodi shutdown options missing: https://github.com/Fourdee/DietPi/issues/2155 - DietPi-Config | RPi | OpenGL/VC4 causes soundcard selection to be invalid: https://github.com/Fourdee/DietPi/issues/2173 - PineA64: No sound over 3.5mm jack: https://github.com/Fourdee/DietPi/issues/2153 - For all additional issues that may appear after release, please see the following link and select the 'Next Version Milestone' to see active tickets: https://github.com/Fourdee/DietPi/milestones
I'm running into this same issue in linux as my host, I made the change to parameter.txt but I'm still getting the login loop. Is there a change that can be made in the config for the |
Guys, I'm currently running a Kubernetes Cluster on my NanoPC-T4 boards and while running an ElasticSearch application I found out the board with the 4.4.154 Kernel crashes frequently with Kernel panics. Also the Kernel used by Ambian crashed. More details here: https://forum.armbian.com/topic/9365-random-reboots-on-nanopc-t4-with-armbian-569/ The Kernel 4.4.138 is very stable and I reverted back to it. Also I'm building FriendlyArm 4.4.143 to check if it's stable. Another improvement I made is that the Kernel partition now has 112MB and can hold multiple Kernel files and provides a boot menu with a newer uboot (have to choose over serial or attached monitor/keyboard). This makes the life easier to test new kernels. I can provide my files that I used to flash and we can go on from there. |
@carlosedp i'd love the files to try out, going to be running a similar setup using Kubernetes and i'd love to avoid the random shutdowns. |
@carlosedp do you mind sharing your kernel? It's been a while since the last update for the NanoPC, would like to test that boot menu |
Hey guys, sorry for the delay. I packaged the files in a similar flasher that is already in use but I haven't tested flashing with it since I use a Mac and flash on a Linux VM with rkdeveloptool. It might need adjusts. The download is on https://ufile.io/drlk7 valid for 30 days. Please report back to me if it worked or needed adjusts. The rootfs I used is a little outdated, might need update by @MichaIng or @Fourdee. |
Sorry for forgotten response. I think we'll create a new Buster image with current kernel, most likely based on ARMbian Buster with Linux kernel 5.3: https://dl.armbian.com/nanopct4/Debian_buster_dev_minimal_nightly.7z I mark this issue as closed now. Added the image request to the Buster image collection thread: #2979 |
Solution: https://github.com/Fourdee/DietPi/issues/2142#issuecomment-430492281
Required Information:
Steps to reproduce:
Downloaded and flashed image from https://github.com/Fourdee/DietPi/issues/1829#issuecomment-398324420
Expected behaviour:
Begin 1st run setup
Actual behaviour:
Only get a localhost login screen, tried login with root:dietpi and I get the MOTD from Debian that quickly dissapears and returns again to login screen
Extra details:
Flashed the friendlydesktop-bionic image from Friendlyarm and it boots fine to desktop, I was planning to replace my Odroid C2 that I'm currently using with DietPi but I can't figure out why it's not working with my board
The text was updated successfully, but these errors were encountered: