GithubHelp home page GithubHelp logo

blackshark_kernel_opensource's People

Contributors

blacksharkcode avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

blackshark_kernel_opensource's Issues

Cannot compile

Hello everyone, I cannot compile this kernel

I use ubuntu 16 and NDK 15c

I'm struggling with this build for 5 days straight already

Can someone elaborate?

$ make zImage
  CHK     include/config/kernel.release
  CHK     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
  CHK     include/generated/bounds.h
  CHK     include/generated/timeconst.h
  CHK     include/generated/asm-offsets.h
  CALL    scripts/checksyscalls.sh
  CHK     include/generated/compile.h
  CC      kernel/sched/core.o
In file included from ./include/trace/define_trace.h:95:0,
                 from ./include/trace/events/sched.h:1857,
                 from kernel/sched/core.c:95:
./include/trace/events/sched.h: In function 'trace_event_raw_event_sched_cpu_util':
./include/trace/trace_events.h:670:9: error: implicit declaration of function 'task_in_cum_window_demand' [-Werror=implicit-function-declaration]
  struct trace_event_raw_##call *entry;    \
         ^
./include/trace/trace_events.h:60:2: note: in expansion of macro 'DECLARE_EVENT_CLASS'
  DECLARE_EVENT_CLASS(name,          \
  ^
./include/trace/events/sched.h:641:1: note: in expansion of macro 'TRACE_EVENT'
 TRACE_EVENT(sched_cpu_util,
 ^
./include/trace/trace_events.h:670:9: error: implicit declaration of function 'sched_irqload' [-Werror=implicit-function-declaration]
  struct trace_event_raw_##call *entry;    \
         ^
./include/trace/trace_events.h:60:2: note: in expansion of macro 'DECLARE_EVENT_CLASS'
  DECLARE_EVENT_CLASS(name,          \
  ^
./include/trace/events/sched.h:641:1: note: in expansion of macro 'TRACE_EVENT'
 TRACE_EVENT(sched_cpu_util,
 ^
./include/trace/events/sched.h: In function 'trace_event_raw_event_sched_task_util':
./include/trace/events/sched.h:749:24: error: 'struct task_struct' has no member named 'ravg'
   __entry->latency  = p->ravg.mark_start ?
                        ^
./include/trace/trace_events.h:686:4: note: in definition of macro 'DECLARE_EVENT_CLASS'
  { assign; }       \
    ^
./include/trace/events/sched.h:739:2: note: in expansion of macro 'TP_fast_assign'
  TP_fast_assign(
  ^
./include/trace/events/sched.h:751:10: error: 'struct task_struct' has no member named 'ravg'
         p->ravg.mark_start : 0;
          ^
./include/trace/trace_events.h:686:4: note: in definition of macro 'DECLARE_EVENT_CLASS'
  { assign; }       \
    ^
./include/trace/events/sched.h:739:2: note: in expansion of macro 'TP_fast_assign'
  TP_fast_assign(
  ^
In file included from ./include/trace/define_trace.h:96:0,
                 from ./include/trace/events/sched.h:1857,
                 from kernel/sched/core.c:95:
./include/trace/events/sched.h: In function 'perf_trace_sched_task_util':
./include/trace/events/sched.h:749:24: error: 'struct task_struct' has no member named 'ravg'
   __entry->latency  = p->ravg.mark_start ?
                        ^
./include/trace/perf.h:65:4: note: in definition of macro 'DECLARE_EVENT_CLASS'
  { assign; }       \
    ^
./include/trace/events/sched.h:739:2: note: in expansion of macro 'TP_fast_assign'
  TP_fast_assign(
  ^
./include/trace/events/sched.h:751:10: error: 'struct task_struct' has no member named 'ravg'
         p->ravg.mark_start : 0;
          ^
./include/trace/perf.h:65:4: note: in definition of macro 'DECLARE_EVENT_CLASS'
  { assign; }       \
    ^
./include/trace/events/sched.h:739:2: note: in expansion of macro 'TP_fast_assign'
  TP_fast_assign(
  ^
cc1: some warnings being treated as errors
scripts/Makefile.build:298: recipe for target 'kernel/sched/core.o' failed
make[2]: *** [kernel/sched/core.o] Error 1
scripts/Makefile.build:549: recipe for target 'kernel/sched' failed
make[1]: *** [kernel/sched] Error 2
Makefile:996: recipe for target 'kernel' failed
make: *** [kernel] Error 2

Black Shark 3 Kernel sources?

"Hello
Black shark has not released its KS yet, and we officially does not endorse flash/root actions officially.
Best Regards,
Black Shark Global"

it is what i get when i write to your mail. phone was released more than 3 months ago, even more than 6 months ago. where are sources? why do you violating GPL?

Kernel source for q/new devices

Dear Blackshark,

Can you please stop violating the GPL and release the kernel source for shark-q as well as the sources for the newer models? Xiaomi promised to release kernel source within 3 months, Blackshark is produced by Xiaomi--> empty words full of hot air?

I mean it's nothing new for Xiaomi to promise everything and then do nothing after they selled the phones. Please stop scaming your users, seriously!

Or just fully open source your source code (ROM and kernel) and become great (its so easy, just git push it!)

At least provide EDL flashable/fastboot ROMS so users dont end up with a 700.- paperweight just because YOU violate the GPL!

Unable to build due to missing files

Hello, i am trying to build the kernel, but get various errors, one of which is the missing file <linux/hawkeye/hawkeye_errno.h>
Can you please add it to the shark sources?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.