Hi Robert.
I have got BBB and wired in RS485 receiver (MAX13487EESA+, has got auto 
redirection).
Started to do test with libmodbus and that I have found out that I need a 
RS485 patch for my BBB.
My original kernel was 3.8.13-bone56.
I found your git repository for linux-dev for version 3.8.13-bone53.
There are many patches listed there (including RS485) so I thought, ok, 
would be nice to have them all.
I have installed this kernel using:
wget https://rcn-ee.net/deb/wheezy-armhf/v3.8.13-bone53/install-me.sh
then I did:
git clone git://github.com/RobertCNelson/linux-dev.git
copied system.sh sample to system.sh
then
git checkout am33x-v3.8 (I have no idea what it does)
then ./build_kernel
First I had some problems with xt_tcpmss.c and some other files, error 
saying that I have modified them already :) yeah, right, would be nice if I 
could :)
but have entered KERNEL folder and typed:
git reset --soft HEAD^
git stash
(found on some website, have no idea what it does)
that solved this problem but when your script starts patching, I have got 
error just at the first patch:
Applying: Without MACH_ option Early printk (DEBUG_LL)
error: arch/arm/mach-omap2/Kconfig: does not match index
Patch failed at 0001 Without MACH_ option Early printk (DEBUG_LL)
When you have resolved this problem run "git am --resolved".
If you would prefer to skip this patch, instead run "git am --skip".
To restore the original branch and stop patching run "git am --abort".

I even edited patch.sh and commented first pacth, then build_kernel process 
fails on the second patch.

I spent 4 days crawling through internet, building, stashing, cloning 
almost everything you have got on github and I couldn't make it work.
It would be nice to have ./build_kernel working properly, but It looks like 
am not skilled enough to do this.

It is very nice to receive reply from you. Will it be possible for you to 
guide me through ./build_kernel.sh process?
Any known website which explains it completely?
What I would like to have is the most up to date kernel for BBB (with cape 
manager) alongside with the patches that exist and are not implemented in 
this kernel.

Thank you
Artur

P.S
I thought that for RS485 it would be nice to download any image which have 
all patches included.
I will then face another problem in the future as I need to test CANBUS and 
J1939 stack, so back to build_kernel.sh again.

that is what I have got:
root@arm:/mnt/mstick/linux-dev# ./build_kernel.sh
+ Detected build host [Debian GNU/Linux 7.5 (wheezy)]
+ host: [armv7l]
+ git HEAD commit: [4131cd2e8f782a718efac625b7100b94c872e7b9]
-----------------------------
scripts/gcc: Using: gcc (Debian 4.6.3-14) 4.6.3
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-----------------------------
debug: CC=
-----------------------------
scripts/git: Debug: LINUX_GIT is setup as...
/mnt/mstick/linux-dev/KERNEL
-----------------------------
[core]
        repositoryformatversion = 0
        filemode = false
        bare = false
        logallrefupdates = true
        symlinks = false
        ignorecase = true
[remote "origin"]
        fetch = +refs/heads/*:refs/remotes/origin/*
        url = /mnt/mstick/linux-dev/ignore/linux-src
[branch "master"]
        remote = origin
        merge = refs/heads/master
[gc]
        autodetach = 0
-----------------------------
scripts/git: Updating LINUX_GIT tree via: git fetch
/mnt/mstick/linux-dev
Unstaged changes after reset:
M       include/uapi/linux/netfilter/xt_CONNMARK.h
M       include/uapi/linux/netfilter/xt_DSCP.h
M       include/uapi/linux/netfilter/xt_MARK.h
M       include/uapi/linux/netfilter/xt_RATEEST.h
M       include/uapi/linux/netfilter/xt_TCPMSS.h
M       include/uapi/linux/netfilter_ipv4/ipt_ECN.h
M       include/uapi/linux/netfilter_ipv4/ipt_TTL.h
M       include/uapi/linux/netfilter_ipv6/ip6t_HL.h
M       net/netfilter/xt_DSCP.c
M       net/netfilter/xt_HL.c
M       net/netfilter/xt_RATEEST.c
M       net/netfilter/xt_TCPMSS.c
[v3.8.13-bone53 6f986cb] empty cleanup commit
HEAD is now at 6f986cb empty cleanup commit
Checking out files: 100% (32973/32973), done.
Switched to branch 'master'
Your branch is ahead of 'origin/master' by 3 commits.
Already up-to-date.
Deleted branch v3.8.13-bone53 (was 6f986cb).
Checking out files: 100% (32973/32973), done.
Switched to a new branch 'v3.8.13-bone53'
v3.8.13
Starting patch.sh
dir: dma
Applying: Without MACH_ option Early printk (DEBUG_LL)
error: arch/arm/mach-omap2/Kconfig: does not match index
Patch failed at 0001 Without MACH_ option Early printk (DEBUG_LL)
When you have resolved this problem run "git am --resolved".
If you would prefer to skip this patch, instead run "git am --skip".
To restore the original branch and stop patching run "git am --abort".






On Monday, 7 July 2014 16:04:02 UTC+1, RobertCNelson wrote:
>
> On Mon, Jul 7, 2014 at 9:40 AM,  <[email protected] <javascript:>> 
> wrote: 
> > Does this image contain all the patches that are in your linux-dev git 
> > repository? 
> > I have problems installing them and image would save my time. 
> > Kind Regards 
>
> Define "all": 
>
> The: "2014-05-14" release at http://beagleboard.org/latest-images 
>
> contains the "v3.8.13-bone50" kernel which is tagged in the linux-dev 
> repo. 
>
> 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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to