User talk:HP LSX

Hi,

About me
I am basically an Electrical Engineer who started learning on his own electronic and IT, around 25 years ago. (...) I discovered the Cubieboard 2 around 2 years ago when someone sold an old stock at a very attractive price.

Current Project
Like many people, I'm building my own Home Automation system on my own and, since having a bunch of CB2 (more than 20...), I decided to give them a second life. So, I started to "play" with them around a year ago by using the uSD card + serial console approach to make them boot OpenSUSE, then Arch Linux (my preferred one, at the moment ;-) ) These days, I am trying to learn how to make the CB2 booting from the following options:    - NAND    - Network / PXE  I need to do this for security reasons when the CB2 are exposed to outdoor world: No uSD card = No "sensitive" data leaking too easily  in the wild... ;-) I may be wrong about the security improvement (the NAND memory can still be read by someone...), but I found this NAND and PXE boot options quite interesting on their own... So, here I am ! ;-)

General Progress

 * Booting from NAND Work in progress... Please do not edit this. Thank you.
 * Installing to NAND                                  ( http://linux-sunxi.org/Installing_to_NAND )
 * Pre-Requisite =  Making a Bootable uSD card      ( http://linux-sunxi.org/Manual_build_howto )
 * Making a Bootable uSD card
 * Pre-Requisite = Getting Cross Compiling Toolchain            ( http://linux-sunxi.org/Toolchain )
 * Buidling U-Boot
 * Legacy                                                        ( http://linux-sunxi.org/U-Boot#Compile_U-Boot )
 * Mainline
 * Is the CB2 supported ?  YES!                           ( http://linux-sunxi.org/Category:Mainline_U-Boot )
 * Must create u-boot-sunxi-with-spl.bin                    ( http://linux-sunxi.org/Mainline_U-Boot#Compile_U-Boot )
 * Pre-Requisite = Getting Cross Compiling Toolchain             ( http://linux-sunxi.org/Toolchain )
 * Pre-Requisite = Getting Device Tree Compiler                  ( http://linux-sunxi.org/Device_Tree#Get_the_Device-tree_Compiler )
 * Getting the Device Tree Compiler
 * Compiling the Device Tree (Wondering about the correct device name)
 * Using the Device Tree                                   ( http://linux-sunxi.org/Mainline_Kernel_Howto#Boot )
 * Mainline Kernel - Boot
 * SD-Card Boot partition    ( http://linux-sunxi.org/Manual_build_howto#Setting_up_the_boot_partition ) => Sends back to the beginning of 1.1. Making a Bootable uSD card (...)
 * Build the Kernel (Not yet there)
 * Backing-up the existing NAND (Not yet there)
 * First MB
 * Backing-up the existing NAND (Not yet there)
 * First MB
 * First MB

-  - Cross compiling toolchain    ( http://linux-sunxi.org/Toolchain ) - Sunxi-Tools for NAND        ( http://linux-sunxi.org/Sunxi-tools ) -
 * Learning about the Boot Process
 * Software tools ready. (? didn't use them yet...)

Progress with Linux-Sunxi
Starting point: - http://linux-sunxi.org/NAND => Legacy un-maintained U-Boot-Sunxi       - http://linux-sunxi.org/NAND => Mainline Kernel version                 - http://linux-sunxi.org/MTD_Driver Mainline Kernel version targeted: - http://linux-sunxi.org/MTD_Driver

Encountered Issues with Linux-Sunxi's Wiki
Here is my humble participation to help maintaining the accuracy of this site while just being a "lambda" user.

Unclear for me
in http://linux-sunxi.org/Device_Tree#Compiling_the_Device_Tree : *       Q1: What is supposed to be  ? Q2: Could it be any arbitrary name or something following particular rules, as it is usually... ?     Q3: Any example ?? A1, A2: After reading some more around, especially there: http://linux-sunxi.org/Mainline_Kernel_Howto#Boot, my guess is that any arbitrary name may do the job. =>> To be confirmed by real world experience ! <<=

Dead links
in http://linux-sunxi.org/Toolchain#External_links : * [Direct download] - http://sourcery.mentor.com/public/gnu_toolchain/ = "HTTP Error 403: Forbidden" in http://linux-sunxi.org/Device_Tree#Get_the_Device-tree_Compiler : * [standalone version] - https://www.devicetree.org/Device_Tree_Compiler = "HTTP Error 404: Page Not Found"