Giter VIP home page Giter VIP logo

imx23-olinuxino's People

Contributors

koliqi avatar niii avatar softbts avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

imx23-olinuxino's Issues

Stripping build artifacts for diff patch purposes

Hello,

Not an issue with the code here, per se, but could use some feedback, would be helpful. Briefly, we are building a modified kernel for our embedded system, and I want to capture a diff patch for our local mods.

This would be a simple diff matter, however, I've discovered that our partner has been building and committing build artifacts to source control. I've already chastised them for this bad practice, the diff ends up being many megabytes, where we should only be concerned with perhaps several hundred kilobytes in a patch file. Just bad, bad, bad. Anyway...

Now I want to strip out the build artifacts from the process so that we're only diff patching what's actually been changed, and not the intermediate or final build outcome files.

Files like .o files are obvious, for instance. I am a newbie to the world of building kernels, so need some advice what else to exclude. Plausibly, I could also run a Beyond Compare analysis and do it that way, also with some informed decisions along the way.

Much appreciated.

Regards,

Michael Powell

Changing the default kernel commandline via menuconfig has no effect

Changing the default kernel commandline via menuconfig like written in the README (console=ttyAMA0,115200 root=/dev/mmcblk0p2 rw rootwait) has no effect becaus it gets overridden by the imx23_olinuxino_bootlets.patch patch, for example I had to modify this patch to use systemd as default init system:

[chris@thinkpad linux-stable]$ sed -i 's/root=\/dev\/mmcblk0p2/root=\/dev\/mmcblk0p2 init=\/usr\/lib\/systemd\/systemd/g' ../../boot/imx23_olinuxino_bootlets.patch
[chris@thinkpad boot]$ cd imx-bootlets-src-10.05.02/
[chris@thinkpad imx-bootlets-src-10.05.02]$ patch -p1 < ../imx23_olinuxino_bootlets.patch
patching file linux.db
patching file linux_prep/board/imx23_olinuxino_dev.c
patching file linux_prep/cmdlines/imx23_olinuxino_dev.txt
patching file linux_prep/core/setup.c
patching file linux_prep/include/mx23/platform.h
patching file linux_prep/Makefile
patching file Makefile
patching file uboot.db
[chris@thinkpad imx-bootlets-src-10.05.02]$ cat linux_prep/cmdlines/imx23_olinuxino_dev.txt
noinitrd console=ttyAMA0,115200 root=/dev/mmcblk0p2 init=/usr/lib/systemd/systemd rw rootwait ssp1=mmc
noinitrd console=ttyAMA0,115200 root=/dev/mmcblk0p2 init=/usr/lib/systemd/systemd rw rootwait ssp1=mmc
noinitrd console=ttyAMA0,115200 root=/dev/mmcblk0p2 init=/usr/lib/systemd/systemd rw rootwait ssp1=mmc
[chris@thinkpad imx-bootlets-src-10.05.02]$

An older Arch Linux image without systemd will also boot, just with a small error message that /usr/lib/systemd/systemd could not be found and switching back to default init.

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.