Welcome to YAAC - "Yet Another APRS Client" YAAC is a (mostly) platform-independent Java application written by Andrew Pavlin, KA2DDO, for monitoring and contributing. Search the DistroWatch database for distributions using a particular package. If you are looking for a distribution with the latest kernel, select "linux" from the. Virtualbox guest additions in Debian Debian 7 wheezy has virtualbox guest additions inbuilt. So after installing debian on virtualbox the guest addition. Cross- Compilation and the Eclipse IDEManual Kernel Build for the BBB[updated March 2. Please note that the following discussion is specific to the Debian armhf release. This process constantly evolves and it is highly likely that there will be changes required to the process listed here. Please check the website http: //eewiki. Beagle. Bone for updates to this process. The following discussion provides you with a guide to the steps involved in building a Linux kernel and deploying a Linux image to an SD card that can be used to boot your BBB. Hey there, I followed the instructions to install the kernel, but when installing it throws the following errors: Hmm. There is a symbolic link /lib/modules/3.2.23.Building Das U- Boot. The bootloader, discussed in Chapter 3, is the first component to be built. You can download the source code to your desktop machine using the following. Cloning into 'u- boot'.. Resolving deltas: 1. Cloning into 'u- boot'..…Resolving deltas: 1. Go to https: //github. AM3. 35x. Presently that is v. Therefore, ensure that you are using the same branch of u- boot (e. You can use any name for the branch name (EBBBoot in this case). EBBBoot. Switched to a new branch 'EBBBoot'~/u- boot$ git checkout v. EBBBoot. Switched to a new branch 'EBBBoot'Download the u- boot patch for that branch (all on one line). Env. txt- bootz- n- fixes. Env. txt- bootz- n- fixes. Env. txt- bootz- n- fixes. Env. txt- bootz- n- fixes. Then apply it to the current source code for u- boot. Env. txt- bootz- n- fixes. Hunk #2 succeeded at 7. Hunk #9 succeeded at 5. Env. txt- bootz- n- fixes. Hunk #2 succeeded at 7. Hunk #9 succeeded at 5. Set up the build environment and then build u- boot. ARCH=arm CROSS_COMPILE=arm- linux- gnueabihf- distclean. ARCH=arm CROSS_COMPILE=arm- linux- gnueabihf- am. HOSTCC scripts/basic/fixdep. HOSTCC scripts/kconfig/conf. ARCH=arm CROSS_COMPILE=arm- linux- gnueabihf- . ARCH=arm CROSS_COMPILE=arm- linux- gnueabihf- distclean~/u- boot$ make ARCH=arm CROSS_COMPILE=arm- linux- gnueabihf- am. HOSTCC scripts/basic/fixdep HOSTCC scripts/kconfig/conf. ARCH=arm CROSS_COMPILE=arm- linux- gnueabihf- …After a short build process you will have the x- loader MLO file and the u- boot file that will allow you to boot your kernel image. Debian. Jessie. VM: ~/u- boot$ ls - l MLO. Mar 8 1. 4: 5. 2 MLO. Debian. Jessie. VM: ~/u- boot$ ls - l u- boot. Mar 8 1. 4: 5. 2 u- bootmolloyd@Debian. Jessie. VM: ~/u- boot$ ls - l MLO- rw- r- -r- - 1 molloyd molloyd 7. Mar 8 1. 4: 5. 2 MLOmolloyd@Debian. Jessie. VM: ~/u- boot$ ls - l u- boot- rwxr- xr- x 1 molloyd molloyd 2. Mar 8 1. 4: 5. 2 u- boot. Install i. 38. 6 support (if using amd. You must install the 3. If this step works correctly then you will not have to install an i. To do this under Debian Jessie, perform the following steps. Debian. Jessie. VM: ~$ sudo dpkg - -add- architecture i. Debian. Jessie. VM: ~$ sudo dpkg - -print- foreign- architectures. Debian. Jessie. VM: ~$ sudo dpkg - -add- architecture i. Debian. Jessie. VM: ~$ sudo dpkg - -print- foreign- architecturesarmhfi. Then, you must update the list of available packages and install the i. Debian. Jessie. VM: ~$ sudo apt- get update. Debian. Jessie. VM: ~$ sudo apt- get install libc. Debian. Jessie. VM: ~$ sudo apt- get updatemolloyd@Debian. Jessie. VM: ~$ sudo apt- get install libc. Installing a Change Root for i. Jessie)It can be difficult to build the Linux kernel on the Debian arm. If you are using a 3. Linux distribution, this step is not necessary. As Debian multiarch matures, this will not be as significant an issue; however, for the moment the easiest way to cross- build the Linux kernel is to install a change root for i. Linux kernel. The steps to install the change root are quite similar to the change root that was installed earlier in this chapter for ARM, except applied to i. Copy the static QEMU emulator into the change root from your “regular” root and then change the root, as you did for the armhf change root. Finally, install Git on the i. Derek Molloy". root@debian: ~# git config - -global user. Derek Molloy"root@debian: ~# git config - -global user. Building the Linux Kernel. Next, you can checkout the source code for the Linux kernel and then build it using the Robert. CNelson Git repository. This is performed within the /home directory of the i. Debian. Jessie. VM: ~/$ git clone git: //github. Robert. CNelson/bb- kernel. Cloning into 'linux- dev'.. Reusing existing pack: 2. Receiving objects: 1. Mi. B | 6. 60 Ki. B/s, done. Resolving deltas: 1. Debian. Jessie. VM: ~/$ cd bb- kernel/molloyd@Debian. Jessie. VM: ~/$ git clone git: //github. Robert. CNelson/bb- kernel. Cloning into 'linux- dev'.. Reusing existing pack: 2. Receiving objects: 1. Mi. B | 6. 60 Ki. B/s, done. Resolving deltas: 1. Debian. Jessie. VM: ~/$ cd bb- kernel/I will checkout the Linux kernel version 3. I can test it, but choose whichever version you prefer. Debian. Jessie. VM: ~/bb- kernel$ git checkout origin/am. Branch tmp set up to track remote branch am. Switched to a new branch 'exploringbb'. Debian. Jessie. VM: ~/bb- kernel$ ./build_kernel. Detected build host [debian]. HEAD commit: [5b. Debian/Ubuntu/Mint: missing dependencies, please install. Failed dependency checkmolloyd@Debian. Jessie. VM: ~/bb- kernel$ git checkout origin/am. Branch tmp set up to track remote branch am. Switched to a new branch 'exploringbb'molloyd@Debian. Jessie. VM: ~/bb- kernel$ ./build_kernel. Detected build host [debian]+ host: [x. HEAD commit: [5b. Debian/Ubuntu/Mint: missing dependencies, please install: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -sudo apt- get updatesudo apt- get install device- tree- compiler lzma lzop u- boot- tools libncurses. Failed dependency check. Install any missing dependencies. Debian. Jessie. VM: ~/bb- kernel$ sudo apt- get install device- tree- compiler lzma lzop u- boot- tools libncurses. Debian. Jessie. VM: ~/bb- kernel$ sudo apt- get install device- tree- compiler lzma lzop u- boot- tools libncurses. Then build the kernel when all dependencies are satisfied. Debian. Jessie. VM: ~/bb- kernel$ ./build_kernel. Debian. Jessie. VM: ~/bb- kernel$ ./build_kernel. After the kernel begins building you will be presented with the kernel configuration tool displayed in Figure 7- 1. This tool enables you to configure the kernel. For example, you can change the SPI options Device Drivers ⇒ “SPI Support” ⇒ enable “Debug support for SPI drivers. Figure 7- 1. 3: (Jessie Build) The kernel configuration tool. After some time the Linux kernel will be built and you can see the files in the deploy directory as follows. Debian. Jessie. VM: ~/bb- kernel$ cd deploy/. Debian. Jessie. VM: ~/bb- kernel/deploy$ ls - lhg. K Mar 8 1. 7: 1. 3 3. M Mar 8 1. 7: 1. 3 3. M Mar 8 1. 7: 1. 3 3. M Mar 8 1. 7: 1. 3 3. Image. - rw- r- -r- - 1 molloyd 1. K Mar 8 1. 7: 1. 3 config- 3. K Mar 8 1. 7: 1. 3 tmp. Debian. Jessie. VM: ~/bb- kernel$ cd deploy/molloyd@Debian. Jessie. VM: ~/bb- kernel/deploy$ ls - lhgtotal 2. M- rw- r- -r- - 1 molloyd 9. K Mar 8 1. 7: 1. 3 3. M Mar 8 1. 7: 1. 3 3. M Mar 8 1. 7: 1. 3 3. M Mar 8 1. 7: 1. 3 3. Image- rw- r- -r- - 1 molloyd 1. K Mar 8 1. 7: 1. 3 config- 3. K Mar 8 1. 7: 1. 3 tmp. You now have a complete kernel; however, the kernel is only one part of a Linux distribution. The easiest way to put a file system in place is to download a very basic one that includes the key tools and libraries. Robert has also made a minimum file system available that can be used. Downloading a Root File System. Go to the site http: //rcn- ee. For example, if you are using Debian 7. Debian. Jessie. VM: ~$ wget - c http: //rcn- ee. Saving to: ‘debian- jessie- minimal- armhf- 2. M 4. 6. 8. KB/s in 1. KB/s) - ‘debian- jessie- minimal- armhf- 2. Debian. Jessie. VM: ~$ md. Debian. Jessie. VM: ~$ tar xf debian- jessie- minimal- armhf- 2. Debian. Jessie. VM: ~$ cd debian- jessie- minimal- armhf- 2. Debian. Jessie. VM: ~/debian- jessie- minimal- armhf- 2. Debian. Jessie. VM: ~/debian- jessie- minimal- armhf- 2. Debian. Jessie. VM: ~$ wget - c http: //rcn- ee. Saving to: ‘debian- jessie- minimal- armhf- 2. M 4. 6. 8. KB/s in 1. KB/s) - ‘debian- jessie- minimal- armhf- 2. Debian. Jessie. VM: ~$ md. Debian. Jessie. VM: ~$ tar xf debian- jessie- minimal- armhf- 2. Debian. Jessie. VM: ~$ cd debian- jessie- minimal- armhf- 2. Debian. Jessie. VM: ~/debian- jessie- minimal- armhf- 2. Debian. Jessie. VM: ~/debian- jessie- minimal- armhf- 2. Preparing the SD Card. For the next steps you have to be certain of your SD card device. It is possible to use /dev/mmcblk. Linux installations, but that is not always available. The alternative is to use lsblk to identify the drive. Removing and re- inserting the SD card will confirm your device identity.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
August 2018
Categories |