Giter Club home page Giter Club logo

Comments (3)

EddyBeaupre avatar EddyBeaupre commented on August 20, 2024

Hello,I'm out of town on vacation. I will answer when i come back. Envoyé de mon smartphone BlackBerry 10. De: antares2001Envoyé: jeudi 1 août 2013 09:07À: EddyBeaupre/armStrapRépondre à: EddyBeaupre/armStrapObjet: [armStrap] How to compile and integrate Kernel (#16)Hello Eddy,

thanks for your effort in this project. I'm just giving it another try.

One question: how can I compile the kernel myself and integrate it into the image?

When I call armstrap with K and I parameters, I get to menuconfig and a kernel is compiled, but no image is built for the SDCARD.

Cheers
-A

—Reply to this email directly or view it on GitHub.

from armstrap.

 avatar commented on August 20, 2024

Hello Eddy,

thanks for your reply. Have a nice holiday.

I have another issue, for when you return ;-)

[13/08/01 21:08:13 gitClone] Cloning sunxi-tools
Cloning into '/root/armStrap/src/cubieboard/sunxi-tools'...
[13/08/01 21:08:16 makeSTools] Compiling sunxi-tools for cubieboard
make: Entering directory /root/armStrap/src/cubieboard/sunxi-tools' make: Leaving directory/root/armStrap/src/cubieboard/sunxi-tools'
make: Entering directory /root/armStrap/src/cubieboard/sunxi-tools' gcc -g -O0 -Wall -Wextra -std=c99 -D_POSIX_C_SOURCE=200112L -Iinclude/ -o fexc fexc.c script.c script_uboot.c script_bin.c script_fex.c make: Leaving directory/root/armStrap/src/cubieboard/sunxi-tools'
[13/08/01 21:08:16 fex2bin] Compilling script.bin
/root/armStrap/src/cubieboard/sunxi-tools/fexc: from fex:/root/armStrap/mnt/boot/cubieboard.fex to bin:/root/armStrap/mnt/boot/script.bin
[13/08/01 21:08:16 ubootDDLoader] Installing /root/armStrap/mnt/boot/sunxi-spl.bin to /dev/loop0, block size 1024, seek 8
22+0 records in
22+0 records out
22528 bytes (23 kB) copied, 0,000421147 s, 53,5 MB/s
[13/08/01 21:08:16 ubootDDLoader] Installing /root/armStrap/mnt/boot/u-boot.bin to /dev/loop0, block size 1024, seek 32
237+1 records in
237+1 records out
243148 bytes (243 kB) copied, 0,00251689 s, 96,6 MB/s
[13/08/01 21:08:16 partSync] Flush file system buffers
[13/08/01 21:08:16 partSync] Inform the OS of partition table changes on /dev/loop0
[13/08/01 21:08:16 umountParts] Unmounting /root/armStrap/mnt/
[13/08/01 21:08:16 partSync] Flush file system buffers
[13/08/01 21:08:16 partSync] Inform the OS of partition table changes on /dev/loop0
[13/08/01 21:08:16 umapImg] UnMapping cubian_a10.img from loop device
loop deleted : /dev/loop0
read error, sector 0
llseek error
llseek error
llseek error
loop: can't delete device /dev/loop0: No such device or address
[13/08/01 21:08:20 partSync] Flush file system buffers
[13/08/01 21:08:20 partSync] Inform the OS of partition table changes on /dev/loop0

Warning: Error fsyncing/closing /dev/loop0: Input/output error

When I put this image via dd to the SDCARD, Cubiboard boots from NAND and cannot boot from SD. I also cannot mount the partition from the SDCARD on my computer.

from armstrap.

EddyBeaupre avatar EddyBeaupre commented on August 20, 2024

Right now, there's no way to integrate the kernel build with -K to the board automatically, it must be done manually. Basically, you need to copy the .deb to your running device and do a dpkg -i the kernel/modules/headers packages.

I will integrate a way to include a locally compiled kernel later once i've finish chasing bugs.

As for your other issue. I can't replicate it. Maybe your image size was too small.

from armstrap.

Related Issues (20)

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.