[beagleboard] Debian 3.14 Kernel Complication Walkthrough

2015-03-05 Thread pietersydneytheron
Hi Guys,

I need to recompile the debian 3.14 kernel but all the step by step guides 
I get all refer to 3.8.

Does anyone know of a proper guide to get the latests beaglebone supported 
kernel running on my beaglebone black?

Pieter

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Debian 3.14 Kernel Complication Walkthrough

2015-03-05 Thread Robert Nelson
On Thu, Mar 5, 2015 at 1:49 PM,   wrote:
> Hi Guys,
>
> I need to recompile the debian 3.14 kernel but all the step by step guides I
> get all refer to 3.8.
>
> Does anyone know of a proper guide to get the latests beaglebone supported
> kernel running on my beaglebone black?

git clone https://github.com/beagleboard/linux
cd linux

Look at the tag's: https://github.com/beagleboard/linux/tags

git checkout 3.14.34-ti-r53 -b tmp

make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- bb.org_defconfig

make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- menuconfig (to make changes)

make ARCH=arm KBUILD_DEBARCH=armhf LOCALVERSION=-ti-r53
CROSS_COMPILE=arm-linux-gnueabihf- KDEB_PKGVERSION=1cross deb-pkg

Copy *.deb to bbb, run: "sudo dpkg -i linux-image* ; sudo reboot"

Regards,


-- 
Robert Nelson
http://www.rcn-ee.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Debian 3.14 Kernel Complication Walkthrough

2015-03-06 Thread pietersydneytheron
Hi Robert.

Thanks for the guid. I have everything working up to the point where we 
compile the deb.

sudo make ARCH=arm KBUILD_DEBARCH=armhf LOCALVERSION=-ti-r53 
CROSS_COMPILE=arm-linux-gnueabihf- KDEB_PKGVERSION=1cross deb-pkg

*make: *** No rule to make target `deb-pkg'.  Stop.*

Any advice on whats missing in my configuration?

Pieter

On Thursday, March 5, 2015 at 11:22:21 PM UTC+2, RobertCNelson wrote:
>
> On Thu, Mar 5, 2015 at 1:49 PM,  > 
> wrote: 
> > Hi Guys, 
> > 
> > I need to recompile the debian 3.14 kernel but all the step by step 
> guides I 
> > get all refer to 3.8. 
> > 
> > Does anyone know of a proper guide to get the latests beaglebone 
> supported 
> > kernel running on my beaglebone black? 
>
> git clone https://github.com/beagleboard/linux 
> cd linux 
>
> Look at the tag's: https://github.com/beagleboard/linux/tags 
>
> git checkout 3.14.34-ti-r53 -b tmp 
>
> make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- bb.org_defconfig 
>
> make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- menuconfig (to make 
> changes) 
>
> make ARCH=arm KBUILD_DEBARCH=armhf LOCALVERSION=-ti-r53 
> CROSS_COMPILE=arm-linux-gnueabihf- KDEB_PKGVERSION=1cross deb-pkg 
>
> Copy *.deb to bbb, run: "sudo dpkg -i linux-image* ; sudo reboot" 
>
> Regards, 
>
>
> -- 
> Robert Nelson 
> http://www.rcn-ee.com/ 
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Debian 3.14 Kernel Complication Walkthrough

2015-03-06 Thread Robert Nelson
On Fri, Mar 6, 2015 at 1:30 AM,   wrote:
> Hi Robert.
>
> Thanks for the guid. I have everything working up to the point where we
> compile the deb.
>
> sudo make ARCH=arm KBUILD_DEBARCH=armhf LOCALVERSION=-ti-r53
> CROSS_COMPILE=arm-linux-gnueabihf- KDEB_PKGVERSION=1cross deb-pkg

don't use sudo..

use "fakeroot" if you must..

>
> make: *** No rule to make target `deb-pkg'.  Stop.
>
> Any advice on whats missing in my configuration?

Your probably in the wrong directory...

Reread my previous email..  If you've done every as specified,
pastebin.com your terminal log.

Regards,

-- 
Robert Nelson
http://www.rcn-ee.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Debian 3.14 Kernel Complication Walkthrough

2015-03-27 Thread pietersydneytheron
Hi Robert. 

I followed your instructions and got to the point where I run "sudo dpkg -i 
linux-image*".

Under /boot I see these files successfully unpacked:

root@beaglebone:/boot# ls
System.map-3.14.35ti-r55  
initrd.img-3.14.35ti-r55  
vmlinuz-3.14.35ti-r55
config-3.14.35ti-r55  
initrd.img-3.8.13-bone47
dtbs  
uboot

I run "cp /boot/initrd.img-3.14.35ti-r55 
/boot/uboot/initrd.img-3.14.35ti-r55"

I edit /boot/uboot/uEnv.txt and set

initrd_file=initrd.img-3.14.35ti-r55

and reboot.

When I log in and run cat "/etc/dogtag" and "uname -r" I get:

root@beaglebone:/# cat /etc/dogtag
BeagleBoard.org BeagleBone Debian Image 2014-04-23
root@beaglebone:/# uname -r
3.8.13-bone47

I't does seem like the kernel did not update to 3.14. 

when I run : "update-initramfs -c -k $(uname -r)" it builds 
initrd.img-3.8.13-bone47

when I run :  "update-initramfs -u" it builds initrd.img-3.14.35ti-r55


Is there anything else I need to do that I might be missing? 

Pieter

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Debian 3.14 Kernel Complication Walkthrough

2015-03-27 Thread Robert Nelson
On Fri, Mar 27, 2015 at 9:39 AM,   wrote:
> Hi Robert.
>
> I followed your instructions and got to the point where I run "sudo dpkg -i
> linux-image*".
>
> Under /boot I see these files successfully unpacked:
>
> root@beaglebone:/boot# ls
> System.map-3.14.35ti-r55
> initrd.img-3.14.35ti-r55
> vmlinuz-3.14.35ti-r55
> config-3.14.35ti-r55
> initrd.img-3.8.13-bone47
> dtbs
> uboot
>
> I run "cp /boot/initrd.img-3.14.35ti-r55
> /boot/uboot/initrd.img-3.14.35ti-r55"
>
> I edit /boot/uboot/uEnv.txt and set
>
> initrd_file=initrd.img-3.14.35ti-r55
>
> and reboot.
>
> When I log in and run cat "/etc/dogtag" and "uname -r" I get:
>
> root@beaglebone:/# cat /etc/dogtag
> BeagleBoard.org BeagleBone Debian Image 2014-04-23

If your going to use v3.14.x just upgrade first:

http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#2015-03-01

Then lots of things will just work..

Regards,

-- 
Robert Nelson
https://rcn-ee.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.