well, I finished with success the compilation,
after I did this:
(I used the ubuntu img from armhf)
[CODE]
# xz -cd ubuntu-precise-12.04.3-armhf-3.8.13-bone30.img.xz > /dev/sdb
# cd /media/rootfs_armhf.com/
# cp /home/ana/Téléchargements/BBB/kernel/kernel/arch/arm/boot/uImage boot/
# make -C /home/ana/Téléchargements/BBB/kernel/kernel/ INSTALL_MOD_PATH=`pwd` ARCH=arm CROSS_COMPILE=/home/ana/Téléchargements/BBB/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/bin/arm-linux-gnueabihf- modules_install
#cd boot/
#mv vmlinux-3.8.13-bone30 vmlinux-3.8.13-bone30origine
#mv uImage vmlinux-3.8.13-bone30
#chmod a+x vmlinux-3.8.13-bone30
[/CODE]
and I changed optargs=fixrtc line in uEnv.txt in /media/BOOT_ARMHF/
like this:
[CODE]
mmcpart=2
optargs=dispmode=7inch_LCD
uenvcmd=i2c mw 0x24 1 0x3e; kd=0; if test $mmcdev -eq 1; then mmc dev 0; if mmc rescan; then kd=1; fi; mmc dev 1; fi; setenv mmcroot /dev/mmcblk${kd}p${mmcpart} ro
loadfdt=load mmc ${mmcdev}:${mmcpart} ${fdtaddr} ${bootdir}/dtbs/${fdtfile}
loadimage=load mmc ${mmcdev}:${mmcpart} ${loadaddr} ${bootdir}/${bootfile}
[/CODE]
But when I put the SDcard in the BBB it doesn't boot even if I push the uSD button at power up...
If someone has a clue..
EDIT: I understand where is my msitake.. I have to compile Uboot also like described here:
http://www.farnell.com/datasheets/1780810.pdf
but now I'm looking for where I could find this files:
linux-3.2.0-psp04.06.00.11-bb-view.tar.bz2
and
u-boot-2013.01.01-psp06.00.00.00-bb-view.tar.bz2
and do this following instructions:
Compiling "uboot" from element14
1)
Execute the following commands to uncompress the uboot source code
$ cd $HOME
$ tar xvf u-boot-2013.01.01-psp06.00.00.00-bb-view.tar.bz2
2)
Execute the following instructions to compile
$ cd $HOME/u-boot-2013.01.01-psp06.00.00.00
$ make CROSS_COMPILE=arm-linux-gnueabihf- ARCH=arm distclean
$ rm -rf am335x
$ make O=am335x CROSS_COMPILE=arm-linux-gnueabihf- ARCH=arm am335x_evm
After the compilation is done, the files “MLO” and “u-boot.img” can be found under “am335x/” of the current directory.
Compiling the "Kernel" from element14
Execute the following instructions to unzip the source code and compile the kernel image;
$ cd $HOME
$ tar xvf linux-3.2.0-psp04.06.00.11-bb-view.tar.bz2
$ cd linux-3.2.0-psp04.06.00.11
$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- distclean
$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- am335x_evm_defconfig
$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- uImage modules
A kernel file named “uImage” with LCD module support is generated under “arch/arm/boot/”.
System Update with BB-View Support
1)Format a flash drive or a TF card to FAT32 and mount
it under the Ubuntu Linux system, and then execute the following instructions
to copy the image to the flash drive or TF card. (These instructions assume the flashdrive or TF card is mounted under “/mnt”)
$ cd $HOME
$ cp u-boot-2013.01.01-psp06.00.00.00/am335x/MLO /mnt
$ cp u-boot-2013.01.01-psp06.00.00.00/am335x/u-boot.img /mnt
$ cp linux-3.2.0-psp04.06.00.11/arch/arm/uImage /mnt
$ mkdir /mnt/rootfs
$ cd $HOME/linux-3.2.0-psp04.06.00.11
$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- modules_install INSTALL_MOD_PATH=/mnt/rootfs
$ cd /mnt/rootfs
$ tar -czvf ../kernel_modules.tar.gz ./
$ cd /mnt
$ rm –rf rootfs
2)
Connect BB-View to the BeagleBone or BeagleBone Black and then connect the power supply; Insert the flash drive or TF card into the
BeagleBone or BeagleBone Black and execute the following instructions in PuTTY
to update the system image (If a TF card is used instead of a flash drive, please change the path in the instructions accordingly)
$ cp /media/sda1/MLO /media/mmcblk0p1/
$ cp /media/sda1/u-boot.img /media/mmcblk0p1/
$ cp /media/sda1/uImage /media/mmcblk0p1/
$ tar -xvf /media/sda1/kernel_modules.tar.gz -C /
Do you think It would be ok to make boot Ubuntu with BB-View if I follow that step.