New Yank555.lu kernels source??

Feel free to post whatever you want in here, or let others know who you are etc.
Please always be nice with each other, I don't want to see any ranting on this forum ;)

Re: New Yank555.lu kernels source??

Postby Perka » 06 Aug 2013, 17:39

Hi just saw your update 11 in sourcedrops, does it compile ok for you?

Perka
Perka
 
Posts: 33
Joined: 21 Mar 2013, 13:10
Has thanked: 17 times
Been thanked: 4 times

Re: New Yank555.lu kernels source??

Postby yank555 » 06 Aug 2013, 17:46

Perka wrote:Hi just saw your update 11 in sourcedrops, does it compile ok for you?

Perka


So far I just downloaded it and put it in my Sourcedrop repo, so I can easily merge it with my existing kernels (instead of rebasing it).

I've just merged it to my CM kernel, am resolving conflicts right now, 3 done, about 8 to go, so far, easy ;)

The rest of the conflicts I'll check when at home, mali stuff in CM kernel, needs a little more care ...

JP.
Nexus 5 (aka. Hammerhead) 32Gb
Note 3 SM-N9005 32Gb Proudly eFused
SGS3 GT-I9300 32Gb
HTC Sensation XE
HTC HD2
TF300TG 32Gb

Image
Credits FAdrums !
User avatar
yank555
-----------
 
Posts: 3520
Joined: 11 Mar 2013, 20:51
Has thanked: 924 times
Been thanked: 4608 times

Re: New Yank555.lu kernels source??

Postby Perka » 06 Aug 2013, 19:04

I cherry-picked you commit and when building I get this:
(I have forked your SGS3-Sourcedrops ) only change is the crt-off fix.

Code: Select all
drivers/video/fbmem.c: In function 'fb_mmap':
drivers/video/fbmem.c:1394: error: 'off' undeclared (first use in this function)
drivers/video/fbmem.c:1394: error: (Each undeclared identifier is reported only once
drivers/video/fbmem.c:1394: error: for each function it appears in.)
drivers/video/fbmem.c:1363: warning: unused variable 'mmio_pgoff' [-Wunused-variable]
make[2]: *** [drivers/video/fbmem.o] Error 1
make[1]: *** [drivers/video] Error 2
make[1]: *** Waiting for unfinished jobs....
  CC      drivers/usb/gadget/s3c_udc_otg.o
  CC      drivers/tty/tty_port.o
  CC      drivers/tty/tty_mutex.o
  CC      drivers/usb/gadget/android.o
  CC      drivers/usb/core/urb.o
  CC      drivers/tty/pty.o
In file included from drivers/usb/gadget/android.c:57:
drivers/usb/gadget/f_mtp_samsung.c: In function 'read_send_work':
drivers/usb/gadget/f_mtp_samsung.c:772: warning: unused variable 'cdev' [-Wunused-variable]
  CC      drivers/usb/core/message.o
In file included from drivers/usb/gadget/android.c:65:
drivers/usb/gadget/f_diag.c: In function 'usb_config_work_func':
drivers/usb/gadget/f_diag.c:145: warning: unused variable 's' [-Wunused-variable]
drivers/usb/gadget/f_diag.c:144: warning: unused variable 'table' [-Wunused-variable]
drivers/usb/gadget/f_diag.c:143: warning: unused variable 'cdev' [-Wunused-variable]
drivers/usb/gadget/android.c: In function 'diag_function_bind_config':
drivers/usb/gadget/android.c:974: warning: unused variable 'once' [-Wunused-variable]
  CC      drivers/tty/sysrq.o
drivers/usb/gadget/android.c: At top level:
drivers/usb/gadget/f_mtp_samsung.c:721: warning: 'interrupt_complete' defined but not used [-Wunused-function]
  CC      drivers/usb/core/driver.o
  LD      drivers/tty/ipwireless/built-in.o
  CC      drivers/tty/serial/serial_core.o
  CC      drivers/usb/core/config.o
  CC      drivers/usb/core/file.o
  CC      drivers/tty/serial/8250.o
  CC      drivers/usb/core/buffer.o
  CC      drivers/usb/core/sysfs.o
  CC      drivers/usb/core/endpoint.o
  CC      drivers/usb/core/devio.o
  CC      drivers/tty/serial/samsung.o
  CC      drivers/tty/serial/s5pv210.o
  CC      drivers/usb/core/notify.o
  LD      drivers/tty/serial/built-in.o
  CC      drivers/tty/vt/vt_ioctl.o
  CC      drivers/usb/core/generic.o
  CC      drivers/usb/core/quirks.o
  CC      drivers/usb/gadget/multi_config.o
  CC      drivers/usb/core/devices.o
  LD      drivers/usb/gadget/g_android.o
  LD      drivers/usb/gadget/built-in.o
  CC      drivers/usb/core/inode.o
  CC      drivers/tty/vt/vc_screen.o
  CC      drivers/usb/host/ehci-hcd.o
  CC      drivers/tty/vt/selection.o
  LD      drivers/usb/core/usbcore.o
  LD      drivers/usb/core/built-in.o
  LD      drivers/usb/misc/built-in.o
  CC      drivers/usb/mon/mon_main.o
  CC      drivers/tty/vt/keyboard.o
  CC      drivers/usb/mon/mon_stat.o
  CC      drivers/usb/mon/mon_text.o
  CC      drivers/usb/mon/mon_bin.o
  CC      drivers/tty/vt/consolemap.o
  LD      drivers/usb/mon/usbmon.o
  LD      drivers/usb/mon/built-in.o
  CC      drivers/usb/notify/host_notify_class.o
  CC      drivers/usb/notify/host_notifier.o
  CONMK   drivers/tty/vt/consolemap_deftbl.c
  CC      drivers/tty/vt/vt.o
  LD      drivers/usb/notify/built-in.o
  CC      drivers/usb/host/ohci-hcd.o
  CC      drivers/usb/serial/usb-serial.o
  CC      drivers/usb/serial/generic.o
  CC      drivers/usb/serial/bus.o
  LD      drivers/usb/host/built-in.o
  CC      drivers/usb/storage/scsiglue.o
  CC      drivers/usb/serial/pl2303.o
  SHIPPED drivers/tty/vt/defkeymap.c
  CC      drivers/tty/vt/consolemap_deftbl.o
  CC      drivers/tty/vt/defkeymap.o
  CC      drivers/usb/storage/protocol.o
  LD      drivers/tty/vt/built-in.o
  LD      drivers/tty/built-in.o
  CC      drivers/usb/storage/transport.o
  LD      drivers/usb/serial/usbserial.o
  LD      drivers/usb/serial/built-in.o
  CC      drivers/usb/storage/usb.o
  CC      drivers/usb/storage/initializers.o
  CC      drivers/usb/storage/sierra_ms.o
  CC      drivers/usb/storage/option_ms.o
  CC      drivers/usb/storage/usual-tables.o
  LD      drivers/usb/storage/usb-storage.o
  LD      drivers/usb/storage/built-in.o
  LD      drivers/usb/built-in.o
make: *** [drivers] Error 2

real   4m50.069s
user   13m10.637s
sys   1m2.667s
perk@s-file-stash ~/kernel/SGS3-Sourcedrops $


Here is my fbmem.c http://pastebin.com/Krecu7SK
f_mtp_samsung.c http://pastebin.com/7zJRF7ry
f_diag.c http://pastebin.com/dYCq5Lp3

As I am no dev I have no clue on what I should edit lol
Perka
 
Posts: 33
Joined: 21 Mar 2013, 13:10
Has thanked: 17 times
Been thanked: 4 times

Re: New Yank555.lu kernels source??

Postby Perka » 06 Aug 2013, 19:36

and when I try to compile update 11 I get this:

Code: Select all
/home/perka/backup/11/scripts/mksysmap: line 44: ~/kernel/toolchains/arm-eabi-4.4.3/bin/arm-eabi-nm: No such file or directory
make: *** [vmlinux] Error 1


the arm-eabi-nm is there o.O
Perka
 
Posts: 33
Joined: 21 Mar 2013, 13:10
Has thanked: 17 times
Been thanked: 4 times

Re: New Yank555.lu kernels source??

Postby yank555 » 06 Aug 2013, 20:01

I just finished testing my CM kernel, diff merged and compiled fine.

The "fbmem.c" part was a bit tricky ;)

You added it to a Sammy or CM kernel ?

JP.
Nexus 5 (aka. Hammerhead) 32Gb
Note 3 SM-N9005 32Gb Proudly eFused
SGS3 GT-I9300 32Gb
HTC Sensation XE
HTC HD2
TF300TG 32Gb

Image
Credits FAdrums !
User avatar
yank555
-----------
 
Posts: 3520
Joined: 11 Mar 2013, 20:51
Has thanked: 924 times
Been thanked: 4608 times

Re: New Yank555.lu kernels source??

Postby Perka » 06 Aug 2013, 20:11

sammy, well its the SGS3-Sourcedrops updated to latest Linux patch

heres the repo https://github.com/perkarom/SGS3-Source ... its/master

EDIT : Now I get this error,

Code: Select all
arch/arm/mm/dma-mapping-cma.c: In function 'consistent_init':
arch/arm/mm/dma-mapping-cma.c:155:6: warning: unused variable 'base' [-Wunused-variable]
arch/arm/mm/dma-mapping-cma.c:154:6: warning: unused variable 'i' [-Wunused-variable]
arch/arm/mm/dma-mapping-cma.c:153:9: warning: unused variable 'pte' [-Wunused-variable]
arch/arm/mm/dma-mapping-cma.c:152:9: warning: unused variable 'pmd' [-Wunused-variable]
arch/arm/mm/dma-mapping-cma.c:151:9: warning: unused variable 'pud' [-Wunused-variable]
arch/arm/mm/dma-mapping-cma.c:150:9: warning: unused variable 'pgd' [-Wunused-variable]
arch/arm/mm/dma-mapping-cma.c:149:6: warning: unused variable 'ret' [-Wunused-variable]
arch/arm/mm/dma-mapping-cma.c: At top level:
arch/arm/mm/dma-mapping-cma.c:346:13: warning: '__dma_free_remap' defined but not used [-Wunused-function]
arch/arm/mm/dma-mapping-cma.c:414:14: warning: '__alloc_remap_buffer' defined but not used [-Wunused-function]
  CC [M]  arch/arm/mvp/pvtcpkm/pvtcp.o
  CC      arch/arm/kernel/sys_arm.o
  CC      arch/arm/mm/init-cma.o
  CC      arch/arm/kernel/stacktrace.o
  CC [M]  arch/arm/mvp/pvtcpkm/pvtcp_off.o
  CC      arch/arm/kernel/time.o
  CC      arch/arm/kernel/traps.o
  CC      arch/arm/mm/fault-armv.o
  AS [M]  arch/arm/mvp/pvtcpkm/pvtcp_off_linux_shim.o
  LD [M]  arch/arm/mvp/pvtcpkm/pvtcpkm.o
make: *** [arch/arm/mvp] Error 2
make: *** Waiting for unfinished jobs....
  CC      arch/arm/mm/flush.o
  CC      arch/arm/kernel/armksyms.o
  CC      arch/arm/kernel/module.o
  CC      arch/arm/mm/idmap.o
  AS      arch/arm/kernel/sleep.o
  CC      arch/arm/kernel/smp.o
  CC      arch/arm/kernel/smp_tlb.o
  CC      arch/arm/mm/ioremap.o
  CC      arch/arm/kernel/smp_scu.o
  CC      arch/arm/kernel/ftrace.o
  CC      arch/arm/mm/mmap.o
  CC      arch/arm/mm/pgd.o
  CC      arch/arm/kernel/swp_emulate.o
  CC      arch/arm/mm/vmregion.o
  CC      arch/arm/kernel/pmu.o
  CC      arch/arm/mm/mmu-cma.o
  CC      arch/arm/mm/proc-syms.o
  CC      arch/arm/kernel/io.o
  AS      arch/arm/kernel/head.o
  CC      arch/arm/kernel/init_task.o
  LDS     arch/arm/kernel/vmlinux.lds
  CC      arch/arm/mm/alignment.o
  LD      arch/arm/kernel/built-in.o
  CC      arch/arm/mm/highmem.o
arch/arm/mm/alignment.c: In function 'do_alignment':
arch/arm/mm/alignment.c:298:15: error: 'offset.un' may be used uninitialized in this function [-Werror=maybe-uninitialized]
arch/arm/mm/alignment.c:720:21: note: 'offset.un' was declared here
cc1: all warnings being treated as errors

make[1]: *** [arch/arm/mm/alignment.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [arch/arm/mm] Error 2

real   0m11.873s
user   0m27.634s
sys   0m4.411s
Perka
 
Posts: 33
Joined: 21 Mar 2013, 13:10
Has thanked: 17 times
Been thanked: 4 times

Re: New Yank555.lu kernels source??

Postby Perka » 06 Aug 2013, 20:23

Do you get the stock kernel compiled? from SGS3-Sourcedrops
Perka
 
Posts: 33
Joined: 21 Mar 2013, 13:10
Has thanked: 17 times
Been thanked: 4 times

Re: New Yank555.lu kernels source??

Postby yank555 » 06 Aug 2013, 20:25

Wait, you forked my SourceDrop repo, then merged the korg upstream commits ?

I'd not do it like this ... my Sourcedrop repo is not based on korg, it's a blank repo containing only Sammy's drops.

You should apply the Update 10 -> 11 commit to your existing kernel, resolving the few conflicts.

JP.
Nexus 5 (aka. Hammerhead) 32Gb
Note 3 SM-N9005 32Gb Proudly eFused
SGS3 GT-I9300 32Gb
HTC Sensation XE
HTC HD2
TF300TG 32Gb

Image
Credits FAdrums !
User avatar
yank555
-----------
 
Posts: 3520
Joined: 11 Mar 2013, 20:51
Has thanked: 924 times
Been thanked: 4608 times

Re: New Yank555.lu kernels source??

Postby Perka » 06 Aug 2013, 20:42

No I forked your repo, added linux patches, then tried to cherry-pick your update 11 commit.

But also I cant even compile update 11 alone :(

I give up for today, maybe a good night sleep will help :p

EDIT: I forked your repo when it was update 10
Perka
 
Posts: 33
Joined: 21 Mar 2013, 13:10
Has thanked: 17 times
Been thanked: 4 times

Re: New Yank555.lu kernels source??

Postby yank555 » 06 Aug 2013, 20:55

Well to upstream easily, you'd better not use my Drop-repo as a base :D

Rather use kernel.org repo as base (at the correct kernel version, 3.0.31), then overwrite with Sammy's drop, stage everything and commit.

After that upstreaming is pretty easy.

And when a drop comes, just merge the commit in my Drop-repo with your kernel repo.

That's how I go about it ;)

And I do agree, sometimes taking a break is the best way to solve on issue like this one :D

JP.
Nexus 5 (aka. Hammerhead) 32Gb
Note 3 SM-N9005 32Gb Proudly eFused
SGS3 GT-I9300 32Gb
HTC Sensation XE
HTC HD2
TF300TG 32Gb

Image
Credits FAdrums !
User avatar
yank555
-----------
 
Posts: 3520
Joined: 11 Mar 2013, 20:51
Has thanked: 924 times
Been thanked: 4608 times

PreviousNext

Return to Offtopic - General Chat Room

Who is online

Users browsing this forum: No registered users and 28 guests

cron