cabela
-
Posts
5 -
Joined
-
Last visited
Content Type
Forums
Store
Crowdfunding
Applications
Events
Raffles
Community Map
Posts posted by cabela
-
-
Do you think it is only broken for this specific board or broken at all ?
I have some other boards at work and will try tomorrow to build image for another board with cryptroot.
as seen in my screen - it shows that /dev/mapper/armbian-root does not exist
do not know if this helps
-
Fortunately when changed SD card
I succeeded in booting normal image ( without cryptroot )
however when I enable verbosity=7 and console=serial
when tried to load my cryptto
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. [ 5.211099] mmc1: new high speed SDIO card at address 0001 Begin: Running /scripts/local-premount ... Scanning for Btrfs filesystems[ 5.240369] random: fast init done done. Begin: Waiting for root file system ... Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. Begin: Running /scripts/local-block ... done. done. Gave up waiting for root file system device. Common problems: - Boot args (cat /proc/cmdline) - Check rootdelay= (did the system wait long enough?) - Missing modules (cat /proc/modules; ls /dev) ALERT! /dev/mapper/armbian-root does not exist. Dropping to a shell! Rebooting automatically due to panic= boot argument [ 46.102019] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000000
-
Dear Werner,
I understand I have given some basic info because expected this to be some kind of known issue. I do have USB UART and it is connected. I have not touched the armbianEnv with more verbosity ( I will do this later today and will give output ) but this is on unencrypted version which also fails from my own image. About root encryption - I am thinking of storing the key on some external memory ( some SPI flash or NVRAM ) and also all the IC on the PCB will be glued with some black resin for not being able to disassemble. The software cannot be chrooted because it is playing role of a server, if you have the SD card outside the Orange Pi you can have the software. If there is better way for saving my software which I am trying to sell I am open , but it will be another topic.
My primary idea was to build ROOT encrypted image and the key to be stored in the SPI or another NVRAM which is connected to i2c and to unlock by itself. If someone have the SD cannot decrypt content. and also the SPI IC will be glued to the PCB and wont be that easy to remove the SPI ?
Maybe I am doing something wrong when building the image ? I have install Ubuntu ( this very version mentioned in the howto ) on a VPS server , downloaded armbian GIT , run compile.sh and choose to Build Full Image and with next kernel, then choose Orange Pi R1 and basicly this is all ... after compilation was ready ( no errors ) I have .img file ready and copy it to SD ( copy as usual copy .img file to SD - with Win32DiskImager to SD card )
the SD card boots UBOOT and then when Uncompressing linux ... waits for about 5-10 secs and dumps out Kernel exception ( kernel panic )
this happens to both ENCRYPT ROOT and not encrypted. -
Hi Igor,
Hi Everyone,
I am very new here. I have Orange Pi R1 and using Armbian everything is working, however I have proprietary software and want to secure it ( as much as possible ) Read a lot of articles and read about Armbian supporting CRYPTROOT_ENABLE , so decided to try to build my own image.
I have succeeded in building 5 images but unfortunatelly none of them boots correctly. I decided to first build image without CRYPTROOT_ENABLE but still cannot succeed. It gives me KERNEL PANIC after truing to load/uncompress Linux.
I Basicly want default Armbian image for Orange Pi R1 + CRYPTROOT_ENABLE.
My second question will follow after this - I've read that 2 options for unlocking encrypted LUKS partition is - to write down the password via keyboard or SSH with dropbear. However I was thinking of using SPI FLASH integrated on the OrangePi R1 because SPI is independent to SD card. If someone gots the SD card he still do not have the KEY to unlock it ? I have googled and searched this forum about similar post and only found post about "Full root encryption of Orange Pi PC" but unfortunatelly this walktrough does not work for me ( Orange Pi R1 ).
Any help will be more than apreciated !
Thanks everyone in advance
Problems with crypt root
in Advanced users - Development
Posted
With bionic - Moved a little bit forward but still Kernel Panic...
It asks for password, and after correct password given - starts to boot but then hangs