summaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/recipes-kernel/linux
AgeCommit message (Expand)AuthorFilesLines
2019-08-15linux: add CONFIG_IIO_TRIGGERED_BUFFER=m to iiodevice.cfgMatt Ranostay1-1/+2
2019-08-15linux: update options in ath9k_htc.cfgMatt Ranostay1-1/+1
2019-08-06meta-agl-bsp: recipes-kernel: linux: Add USB host driverCorentin Labbe1-0/+3
2019-06-27linux-agl: change aloop to a module instead of built-inScott Murray2-4/+4
2019-03-15meta-agl-bsp: recipes-kernel: linux: Increase BLK_RAM sizeCorentin Labbe1-0/+1
2019-02-13meta-agl-bsp: recipes-kernel: linux: add CONFIG_CAN_MCBA_USB to can-bus.cfgMatt Ranostay1-0/+1
2019-02-05meta-agl-bsp: recipes-kernel: linux: add usbmodem.cfg fragmentMatt Ranostay2-0/+8
2019-02-05meta-agl-bsp: recipes-kernel: linux: remove execute bit from usbaudio.cfgMatt Ranostay1-0/+0
2018-12-20kernel/4a: support more than 8 audio cardsStephane Desneux1-0/+2
2018-12-20Support external RTCs for boards without itJan-Simon Möller2-1/+13
2018-12-18linux-agl-4.14: Backport of Smack patch for cgroup2José Bollo2-0/+41
2018-12-18linux-agl-4.14: Backport of Smack patch for keysJosé Bollo2-0/+118
2018-10-19meta-agl-bsp: kernel: fix can-bus.cfgKevin Hilman1-1/+0
2018-10-152018-07-18Activate missing kernel options for 4aRonan Le Martret1-0/+4
2018-07-11meta-agl-bsp: linux: add NFC configuration fragmentMatt Ranostay2-0/+37
2018-07-04Set CAN modulesKhouloud Touil1-0/+2
2018-07-02kernel: enable 4A-specific config option snd-aloopStephane Desneux2-0/+5
2018-05-30Fix kernel .config file configurationRonan Le Martret1-1/+1
2018-05-22Enable I2C-TINY-USB and LEDS-BLINKM drivers for AGL demonstratorYordan Dimitrov2-0/+6
2018-02-20Fixes for meta-agl-bsp for rockoJan-Simon Möller1-0/+6
2018-02-13Rename smack OVERRIDE to with-lsm-smackJosé Bollo2-2/+2
2018-02-13linux-yocto_4.4: Remove the bbappendChanghyeok Bae5-1223/+0
2017-12-14Add SCHED_DEBUG and PROC_EVENT config fragmentFrode Isaksen2-0/+3
2017-12-01meta-agl-bsp: move usbaudio.cfg to linux-agl.incMatt Porter2-0/+5
2017-11-30Fix Linux Kernel fragment for netbootKotaro Hashimoto1-1/+1
2017-11-22Rework Linux Kernel fragment applicationsTom Rini14-18/+157
2017-11-14Add Logicool G29 steering wheel kernel configYuichi Kusakabe1-0/+3
2017-10-28Add joystick.cfg for usb joystick and steering-wheel kernel configurezheng_wenlong2-0/+7
2017-10-11Support CANUSB deviceRomain Forlot1-0/+1
2017-10-11linux-intel: Pull in common configuration fragmentsScott Murray2-20/+21
2017-10-09enable vmware drm driversMartin Kelly1-3/+2
2017-09-28cleaning kernel config warnings under pyroDominig ar Foll (Intel Open Source)2-2/+3
2017-09-18Add uvc.cfg for usb video class kernel configurezheng_wenlong2-0/+5
2017-09-08Upgrade to pyroChanghyeok Bae3-907/+11
2017-08-30linux: kernel: add USB serial support and ACM classMatt Ranostay2-0/+4
2017-07-26Fix cve patch for kernel 4.4 on intel joule [master/dab]Jan-Simon Möller4-0/+1010
2017-07-21Only apply CVE-2017-1000364 to 4.8 kernel - 4.4 needs different patchsetJan-Simon Möller2-3/+4
2017-07-21Fix: can-bus not applied at kernel configurationRomain Forlot1-1/+1
2017-06-29Backport fix for CVE-2017-1000364 to linux-yocto-4.8Jan-Simon Möller2-0/+902
2017-06-28Add CAN drivers by default to AGL boardsRomain Forlot2-0/+44
2017-04-12add vmware driversMartin Kelly1-0/+13
2017-04-01qemux86-64: add Virtio GPU DRM driverMatt Porter1-0/+1
2017-02-24Fix the typo of sufix qemux86-64Phong Tran1-1/+1
2016-11-16Add support for CES 2017 demo hardwareScott Murray3-0/+16
2016-10-05Enable the DRM backend for Weston on QEMU-x86/x86-64Tadao Tanikawa2-0/+2
2016-09-01Changes for building with YP 2.1.1 'krogoth'Jan-Simon Möller1-3/+0
2016-07-19vmdk images need harddisk drivers built-inJan-Simon Möller2-0/+11
2016-01-21Update linux kernel for QEMUx86-64 and Minnowboard MAXTadao Tanikawa2-2/+4
2016-01-15Support MinnowBoard MAXTadao Tanikawa2-0/+2
/span>.cbOnError = nil g.cbOnExit = nil g.cbRead = nil g.cbInferiorRead = nil return nil } // Start sends a request to start remotely gdb within xds-server func (g *GdbXds) Start(inferiorTTY bool) (int, error) { var body []byte var err error // Enable workaround about inferior output with gdbserver connection // except if XDS_GDBSERVER_OUTPUT_NOFIX is defined _, gdbserverNoFix := os.LookupEnv("XDS_GDBSERVER_OUTPUT_NOFIX") args := apiv1.ExecArgs{ ID: g.prjID, SdkID: g.sdkID, Cmd: g.ccmd, Args: g.aargs, Env: g.eenv, RPath: g.rPath, TTY: inferiorTTY, TTYGdbserverFix: !gdbserverNoFix, CmdTimeout: -1, // no timeout, end when stdin close or command exited normally } body, err = json.Marshal(args) if err != nil { return int(syscallEBADE), err } g.log.Infof("POST %s/exec %v", g.uri, string(body)) var res *http.Response var found bool res, err = g.httpCli.HTTPPostWithRes("/exec", string(body)) if err != nil { return int(syscall.EAGAIN), err } dRes := make(map[string]interface{}) json.Unmarshal(g.httpCli.ResponseToBArray(res), &dRes) if _, found = dRes["cmdID"]; !found { return int(syscallEBADE), err } g.cmdID = dRes["cmdID"].(string) return 0, nil } // Cmd returns the command name func (g *GdbXds) Cmd() string { return g.ccmd } // Args returns the list of arguments func (g *GdbXds) Args() []string { return g.aargs } // Env returns the list of environment variables func (g *GdbXds) Env() []string { return g.eenv } // OnError is called on a WebSocket error func (g *GdbXds) OnError(f func(error)) { g.cbOnError = f } // OnDisconnect is called when WebSocket disconnection func (g *GdbXds) OnDisconnect(f func(error)) { g.cbOnDisconnect = f } // OnExit calls when exit event is received func (g *GdbXds) OnExit(f func(code int, err error)) { g.cbOnExit = f } // Read calls when a message/string event is received on stdout or stderr func (g *GdbXds) Read(f func(timestamp, stdout, stderr string)) { g.cbRead = f } // InferiorRead calls when a message/string event is received on stdout or stderr of the debugged program (IOW inferior) func (g *GdbXds) InferiorRead(f func(timestamp, stdout, stderr string)) { g.cbInferiorRead = f } // Write writes message/string into gdb stdin func (g *GdbXds) Write(args ...interface{}) error { return g.ioSock.Emit(apiv1.ExecInEvent, args...) } // SendSignal is used to send a signal to remote process/gdb func (g *GdbXds) SendSignal(sig os.Signal) error { var body []byte body, err := json.Marshal(apiv1.ExecSignalArgs{ CmdID: g.cmdID, Signal: sig.String(), }) if err != nil { g.log.Errorf(err.Error()) } g.log.Debugf("POST /signal %s", string(body)) return g.httpCli.HTTPPost("/signal", string(body)) } //***** Private functions ***** func getProjectsList(c *common.HTTPClient, log *logrus.Logger, prjData []byte) (int, error) { folders := []folder.FolderConfig{} errMar := json.Unmarshal(prjData, &folders) msg := "" if errMar == nil { msg += "List of existing projects (use: export XDS_PROJECT_ID=<< ID >>): \n" msg += " ID\t\t\t\t | Label" for _, f := range folders { msg += fmt.Sprintf("\n %s\t | %s", f.ID, f.Label) if f.DefaultSdk != "" { msg += fmt.Sprintf("\t(default SDK: %s)", f.DefaultSdk) } } msg += "\n" } var data []byte if err := c.HTTPGet("/sdks", &data); err != nil { return int(syscallEBADE), err } log.Infof("Result of /sdks: %v", string(data[:])) sdks := []crosssdk.SDK{} errMar = json.Unmarshal(data, &sdks) if errMar == nil { msg += "\nList of installed cross SDKs (use: export XDS_SDK_ID=<< ID >>): \n" msg += " ID\t\t\t\t\t | NAME\n" for _, s := range sdks { msg += fmt.Sprintf(" %s\t | %s\n", s.ID, s.Name) } } if len(folders) > 0 && len(sdks) > 0 { msg += fmt.Sprintf("\n") msg += fmt.Sprintf("For example: \n") msg += fmt.Sprintf(" XDS_PROJECT_ID=%q XDS_SDK_ID=%q %s -x myGdbConf.ini\n", folders[0].ID, sdks[0].ID, AppName) } return 0, fmt.Errorf(msg) }