pkfox Posted June 26 Posted June 26 (edited) Hi all, I would like to boot my nanopim4 v2 from a nvme ssd disk if possible - I tried using armbian-install as mentioned on a thread on here and received the error "partition too small" the disk is a 1Tb and has one partition - any ideas ? Quote Quote Here is the output from fdisk Disk /dev/nvme0n1p1: 931.51 GiB, 1000203837440 bytes, 1953523120 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes and from cat /etc/os-release PRETTY_NAME="Armbian 24.5.1 jammy" NAME="Ubuntu" VERSION_ID="22.04" VERSION="22.04.4 LTS (Jammy Jellyfish)" VERSION_CODENAME=jammy ID=ubuntu ID_LIKE=debian HOME_URL="https://www.armbian.com" SUPPORT_URL="https://forum.armbian.com" BUG_REPORT_URL="https://www.armbian.com/bugs" PRIVACY_POLICY_URL="https://www.armbian.com" UBUNTU_CODENAME=jammy ARMBIAN_PRETTY_NAME="Armbian 24.5.1 jammy" Edited June 26 by pkfox grammar 0 Quote
Igor Posted June 27 Posted June 27 Try this: delete partition on NVBME and leave the installer to make it for you. 0 Quote
pkfox Posted June 29 Author Posted June 29 Thanks @Igor I'll try that, sorry for the late response 0 Quote
pkfox Posted June 29 Author Posted June 29 (edited) Hi @Igor I deleted the partition as you suggested and ran armbian-install, it looked promising to start with - I saw a message that said copying files please wait... - then I was prompted to press a button to reboot. The device starts flashing a red LED as is normal but that's as far as it gets, it wont boot - any ideas as to what I need to do ? Edited June 29 by pkfox 0 Quote
Werner Posted June 29 Posted June 29 1 hour ago, pkfox said: any ideas as to what I need to do ? https://debug.armbian.de 0 Quote
pkfox Posted July 1 Author Posted July 1 (edited) @Werner the problem I have, is, the nvme adapter which houses the ssd drive https://www.friendlyelec.com/index.php?route=product/product&product_id=262 covers the uart connection - is is possible to do uart via the gpio ? Edited July 1 by pkfox 0 Quote
pkfox Posted July 1 Author Posted July 1 Hi @Werner I found a way to connect my USBTTL to my board with the USB end plugged into my Linux Intel NUC From a terminal on my NUC I entered picocom -b 1500000 -r -l /dev/ttyUSB0 and received this Quote picocom v3.1 port is : /dev/ttyUSB0 flowcontrol : none baudrate is : 1500000 parity is : none databits are : 8 stopbits are : 1 escape is : C-a local echo is : no noinit is : no noreset is : yes hangup is : no nolock is : yes send_cmd is : sz -vv receive_cmd is : rz -vv -E imap is : omap is : emap is : crcrlf,delbs, logfile is : none initstring : none exit_after is : not set exit is : no Type [C-a] [C-h] to see available commands Terminal ready But I can't enter text , it just sits there - what am I doing wrong ? It's been years since I did this sort of stuff 0 Quote
Werner Posted July 1 Posted July 1 This output isn't related to uboot. So I assume you don't get any output whatsoever which means broken/missing boot loader. I'd try to boot from fresh sdcard and then start investigating. 0 Quote
pkfox Posted July 1 Author Posted July 1 Thanks @Werner I am booting from a fresh sdcard and it boots perfectly I just dont get anything back using picocom - should I connect the uart stuff before I power on the board ? 0 Quote
Werner Posted July 1 Posted July 1 Well the other variant of course is that it might be connected wrongly . Tried to flip RX and TX lines? common mistake having these mixed up. If it boots from sdcard there MUST be ouput to the debug serial. 0 Quote
pkfox Posted July 2 Author Posted July 2 I have one of these which has a moulded connector onto the pins https://www.friendlyelec.com/index.php?route=product/product&product_id=178 0 Quote
Werner Posted July 2 Posted July 2 Hm as for me I only have standard jumper wires for debugging my stuff. last but not least because it does not connect 5 volts which isn't necessary anyways for serial interaction and reduces the risk of frying a board by connecting this wrongly. 0 Quote
pkfox Posted July 2 Author Posted July 2 (edited) So I appear to have run out of ideas 😞 thanks for trying to help me Edited July 2 by pkfox 0 Quote
Werner Posted July 2 Posted July 2 @NicoD do you still have your m4v2 and may verify uart connection and working debug console? thx in advance 0 Quote
pkfox Posted July 5 Author Posted July 5 (edited) @Werner I have uart working now - on my uart adapter there's a switch which turns 5v off or on - I turned it off and got the boot output - still don't know why it won't boot from nvme though Edited July 5 by pkfox 0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.