Hi,

I compiled a kernel for my beaglebone ( not the black one ), I would like
to install this kernel to my SD card with angstrom (
Angstrom-Cloud9-IDE-GNOME-eglibc-ipk-v2012.12-beaglebone-2013.05.24.img.xz )

I discovered that install_kernel.sh doesn't work for the moment. So I would
like to know where I've to move the files, to install the new kernel. (
those informations will be used later to modify the install_kernel.sh )

For the moment, I've a folder deploy with those files :

3.8.13-bone20.config
3.8.13-bone20-dtbs.tar.gz
3.8.13-bone20-firmware.tar.gz
3.8.13-bone20-modules.tar.gz
3.8.13-bone20.zImage

and one folder :  disk


Thx you very much !

Micka,
---------- Forwarded message ----------
From: Robert Nelson <robertcnel...@gmail.com>
Date: Thu, May 30, 2013 at 10:03 PM
Subject: Re: install kernel to the sdcard => failed
To: Micka <mickamus...@gmail.com>


On Thu, May 30, 2013 at 2:55 PM, Micka <mickamus...@gmail.com> wrote:
> Well,
>
> First I installed this image :
>
> xz -dkc
>
Angstrom-Cloud9-IDE-GNOME-eglibc-ipk-v2012.12-beaglebone-2013.05.24.img.xz >
> /dev/sdb
>
> and just after I use your command :
> ( sdb 1 : 4.88MB free AND sdb2: 2.18 GB )
>
> sudo ./tools/install_kernel.sh
>
> I see...
> fdisk -l:
> Disk /dev/sda: 59.3 GB, 59268661248 bytes
> Disk /dev/sdb: 15.9 GB, 15931539456 bytes
>
> lsblk:
> NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
> sda      8:0    0  55.2G  0 disk
> ├─sda1   8:1    0  50.4G  0 part /
> ├─sda2   8:2    0     1K  0 part
> └─sda5   8:5    0   4.8G  0 part [SWAP]
> sdb      8:16   1  14.9G  0 disk
> ├─sdb1   8:17   1  70.6M  0 part /media/kernelbuild/BEAGLE_BONE
> └─sdb2   8:18   1   3.3G  0 part /media/kernelbuild/Angstrom-Cloud9-
>
>
> Unmounting Partitions
> -----------------------------
> Starting Partition Search
> -----------------------------
> Trying
> Partition: [] trying: [vfat], [ext4]
> Trying /dev/sdb1
> Partition: [/dev/sdb1] trying: [vfat], [ext4]
> Partition: [vfat]
> Installing 3.8.13-bone20 to /dev/sdb1
> Image Name:   3.8.13-bone20
> Created:      Thu May 30 21:54:25 2013
> Image Type:   ARM Linux Kernel Image (uncompressed)
> Data Size:    3245096 Bytes = 3169.04 kB = 3.09 MB
> Load Address: 80008000
> Entry Point:  80008000
> `/home/kernelbuild/beaglebone/linux-dev/deploy/3.8.13-bone20.zImage' ->
> `/home/kernelbuild/beaglebone/linux-dev/deploy/disk/zImage'
> cp: writing `/home/kernelbuild/beaglebone/linux-dev/deploy/disk/zImage':
No
> space left on device
> cp: failed to extend
> `/home/kernelbuild/beaglebone/linux-dev/deploy/disk/zImage': No space left
> on device
>
>
>
> What is wrong ? How can I correct that ?

Ahh, now i see what your doing..  Well...  Angstrom loads everything
from the /dev/sdb2 now, and fills up /dev/sdb1 with drivers/etc... So
it looks i need to 'detect' an angstrom install and not copy the
zImage/etc over..

It'll probably be a simple patch to ./tools/install-kernel.sh,
probally take a good hour of hacking time tomorrow.. I'm going to
probably use the "BEAGLE_BONE" name as a trigger, ( i always call it
boot)..

Regards,

--
Robert Nelson
http://www.rcn-ee.com/
_______________________________________________
Angstrom-distro-users mailing list
Angstrom-distro-users@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-users

Reply via email to