Re: My effort to learn Linux kernel development

2021-07-21 Thread s.v.krishna reddy
you have to understand more from a design perspective, also have to understand what problem is kernel addressing and its design. Dwelling into code directly won't help, you may lose interest after some time. It's good to start with the process. memory and file management. One more thing, you have

Re: Interested in kernel development

2021-07-21 Thread Constantine Shulyupin
Hi, Welcome to learn and explore Linux with wikibook https://en.wikibooks.org/wiki/The_Linux_Kernel . Dear Kernelnewbies maintanter, would you like to add the link to https://kernelnewbies.org/Documents ? Regards, Costa On Thu, 22 Jul 2021 at 03:21, Amit Kumar wrote: > > Hi Athul, > I think

Re: My effort to learn Linux kernel development

2021-07-21 Thread Amit Kumar
Hi All, https://freeark1blog.blogspot.com/2021/07/the-minimal-c-program-continued.html On Wed, Jul 21, 2021 at 7:31 PM Amit Kumar wrote: > > Hi All, > > I am just here to inform that I am trying to learn Linux kernel > development. If someone wants to follow me, so that he may also learn > with

Re: Interested in kernel development

2021-07-21 Thread Amit Kumar
Hi Athul, I think people find learning kernel development difficult due to the following reasons, I) Lack of understanding about the underlying hardware. II) In the Linux kernel, some features are used which is specific to the GCC toolchain. III) There is also a good amount of assembly is being

Re: MTD: How to get actual image size from MTD partition

2021-07-21 Thread Richard Weinberger
- Ursprüngliche Mail - >> But let me advertise ubiblock a second time. > Sorry, I could not understand about the ubiblock request. Is it > possible to elaborate little more ? > We are already using squashfs on top of our UBI volumes (including > rootfs mounting). > This is the kernel

Re: Kernel 4.14: Using dm-verity with squashfs rootfs - mounting issue

2021-07-21 Thread Mikulas Patocka
On Wed, 21 Jul 2021, Pintu Agarwal wrote: > On Tue, 20 Jul 2021 at 17:12, Mikulas Patocka wrote: > > > > Hi > > > > Try to set up dm-verity with block size 512 bytes. > > > > I don't know what block size does squashfs use, but if the filesystem > > block size is smaller than dm-verity block

Re: Kernel 4.14: Using dm-verity with squashfs rootfs - mounting issue

2021-07-21 Thread Mikulas Patocka
Hi Try to set up dm-verity with block size 512 bytes. I don't know what block size does squashfs use, but if the filesystem block size is smaller than dm-verity block size, it doesn't work. Mikulas On Tue, 20 Jul 2021, Pintu Agarwal wrote: > Hi, > > Our ARM32 Linux embedded system

Re: Kernel 4.14: Using dm-verity with squashfs rootfs - mounting issue

2021-07-21 Thread Pintu Agarwal
On Wed, 21 Jul 2021 at 22:40, Mikulas Patocka wrote: > > > > > > Try to set up dm-verity with block size 512 bytes. > > > > > > I don't know what block size does squashfs use, but if the filesystem > > > block size is smaller than dm-verity block size, it doesn't work. > > > > > Okay thank you

Re: Kernel 4.14: Using dm-verity with squashfs rootfs - mounting issue

2021-07-21 Thread Pintu Agarwal
On Tue, 20 Jul 2021 at 17:12, Mikulas Patocka wrote: > > Hi > > Try to set up dm-verity with block size 512 bytes. > > I don't know what block size does squashfs use, but if the filesystem > block size is smaller than dm-verity block size, it doesn't work. > Okay thank you so much for this clue,

My effort to learn Linux kernel development

2021-07-21 Thread Amit Kumar
Hi All, I am just here to inform that I am trying to learn Linux kernel development. If someone wants to follow me, so that he may also learn with me. https://freeark1blog.blogspot.com/2021/07/my-aspiration-go-live.html https://freeark1blog.blogspot.com/2021/07/the-minimal-c-program.html