Re: Can I use the same .config file to compile 32-bit and 64-bit kernel?
On Thu, Jul 6, 2017 at 11:02 AM, Hao Lee wrote: > Hi, > > I'm currently configuring a custom kernel on Fedora x86_64. The first > option on the configuration menu is "64-bit kernel" which I think is > the only option controlling the architecture of kernel. Copying this > .config file to a 32-bit system directly and turning off this option, > can I compile a 32-bit kernel which doesn't have any hidden problems? > If this way is feasible, I think the only difference between these two > kernels is architecture. > > Regards, > Hao Lee > > ___ > Kernelnewbies mailing list > Kernelnewbies@kernelnewbies.org > https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies > Hi To the best I could recall, 32 vs 64 bit mainly affect vm split. in 32 bit, you have 3:1, in 64 bit, there is none and I am not sure that is automatically decided by Kconfig simply by selecting 32 or 64 bit arch. CMIIW -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: Eudyptula Challenge scripts not responding?
Thanks all. Yeah, I understand a judgement on a submission could take a while, but I wasn't getting an auto-response either. Looks like it was a mail routing issue on my side and I also got the subject format wrong. On Thu, 6 Jul 2017, 17:24 David Wittman, wrote: > That said, the autoresponder should reply pretty quickly after your > submission. > > On Thu, Jul 6, 2017 at 9:30 AM, Alexander Kapshuk < > alexander.kaps...@gmail.com> wrote: > >> On Thu, Jul 6, 2017 at 4:04 PM, Laurence Rochfort >> wrote: >> > Hi all, >> > >> > The Eudyptula Challenge scripts seem to not be responding these past few >> > days. >> > >> > if anybody here is involved behind the scenes, would you please take a >> look? >> > >> > Cheers, >> > Laurence. >> > >> > ___ >> > Kernelnewbies mailing list >> > Kernelnewbies@kernelnewbies.org >> > https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies >> > >> >> The response times vary between hearing from them the same day to up >> to a few weeks. >> >> They will get back to you eventually. >> >> ___ >> Kernelnewbies mailing list >> Kernelnewbies@kernelnewbies.org >> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies >> > > ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: How to alloc_pages from a given physical memory?
On 06.07.2017 15:43, kipade wrote: > Might be? I have no puzzle of CMem。 OK, I will continue go search solutions > for that. > And, if I got it, I will come back for sharing solutions here. > And, thank you, all Are you writing kernel module ? or you try to compile kernel with cmem module ? What hardware are you using ? How are you allocating shmem ? Can you give few code lines for what you try ? The more info you give, more help you receive. Well, it may be faster to go directly to some kernel list or vendor list with your questions. >> On 06.07.2017 12:20, kipade wrote: >> >>> [...] (I have a look at> the kerrnel source, every omap_bo_object [...] >> >>> [...] I use arm 32bit cpu, with kernel 3.14 >> >>> Here I want to allocate a block of shared memory from a given physical >>> address, such as 0x9000, 6M. [...] >> >> it is well beyond newbie, you may find help on vendor forum, >> i guess it is TI (Texas Instruments) Sitara SoC, >> google search gives first hit: >> >> http://processors.wiki.ti.com/index.php/CMEM_Overview -- Best regards, Kamil Konieczny Samsung R&D Institute Poland ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re:Re: How to alloc_pages from a given physical memory?
Might be? I have no puzzle of CMem。 OK, I will continue go search solutions for that. And, if I got it, I will come back for sharing solutions here. And, thank you, all At 2017-07-06 19:17:45, "Kamil Konieczny" wrote: > > >On 06.07.2017 12:20, kipade wrote: > >> [...] (I have a look at> the kerrnel source, every omap_bo_object [...] > >> [...] I use arm 32bit cpu, with kernel 3.14 > >> Here I want to allocate a block of shared memory from a given physical >> address, such as 0x9000, 6M. [...] > >it is well beyond newbie, you may find help on vendor forum, >i guess it is TI (Texas Instruments) Sitara SoC, >google search gives first hit: > >http://processors.wiki.ti.com/index.php/CMEM_Overview > >-- >Best regards, >Kamil Konieczny >Samsung R&D Institute Poland > > >___ >Kernelnewbies mailing list >Kernelnewbies@kernelnewbies.org >https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: Eudyptula Challenge scripts not responding?
On Thu, Jul 6, 2017 at 4:04 PM, Laurence Rochfort wrote: > Hi all, > > The Eudyptula Challenge scripts seem to not be responding these past few > days. > > if anybody here is involved behind the scenes, would you please take a look? > > Cheers, > Laurence. > > ___ > Kernelnewbies mailing list > Kernelnewbies@kernelnewbies.org > https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies > The response times vary between hearing from them the same day to up to a few weeks. They will get back to you eventually. ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Eudyptula Challenge scripts not responding?
Hi all, The Eudyptula Challenge scripts seem to not be responding these past few days. if anybody here is involved behind the scenes, would you please take a look? Cheers, Laurence. ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: How to alloc_pages from a given physical memory?
On 06.07.2017 12:20, kipade wrote: > [...] (I have a look at> the kerrnel source, every omap_bo_object [...] > [...] I use arm 32bit cpu, with kernel 3.14 > Here I want to allocate a block of shared memory from a given physical > address, such as 0x9000, 6M. [...] it is well beyond newbie, you may find help on vendor forum, i guess it is TI (Texas Instruments) Sitara SoC, google search gives first hit: http://processors.wiki.ti.com/index.php/CMEM_Overview -- Best regards, Kamil Konieczny Samsung R&D Institute Poland ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: How to alloc_pages from a given physical memory?
I reserved such memory as cma range, and Im sure it can be allocated via cma, such as dma_alloc_writecombine*. I want to hard code the physical address because I have to make sure such address can be access by another ipu cores of the soc platform. I think this can be reserved via a generic way: Just customize page allocation for a shm object. (I have a look at the kerrnel source, every omap_bo_object was bind a shm file, so, i only need allocate pages by my way will resolve all the further problem. otherwise, i would encounter many other unkown issues for me).* On 06.07.2017 18:01, Kamil Konieczny wrote: On 06.07.2017 11:43, kipade wrote: In fact, I want to allocate a continous of pages from a given physical address for a shm object in shmem_file_setup, might i should write a customized shmem_file_setup2 for this? I use arm 32bit cpu, with kernel 3.14 why do want this specific address 0x9000 ? can it be 0x4000 ? or 0x5000 ? or 0x6888 ? is this 0x9000 located in hardware registers ? some memory regions are not accessible directly for allocation, because they are used for communication with hardware SoC, and so they are used by kernel drivers or directly by kernel kernel driver may or may not expose that memory region for user space, but this is driver work maybe you should ask on platform forum, you did not answer my question on what platform you are working On 06.07.2017 05:08, kipade wrote: Here I want to allocate a block of shared memory from a given physical address, such as 0x9000, 6M. However, alloc_pages can't fit this point. I had reserved enugh pages via cmem, there also have enough continous pages for such allocation anywhere else. What should I do? ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: How to alloc_pages from a given physical memory?
On 06.07.2017 11:43, kipade wrote: > In fact, I want to allocate a continous of pages from a given physical > address for a shm object in > > shmem_file_setup, might i should write a customized shmem_file_setup2 > for this? > I use arm 32bit cpu, with kernel 3.14 why do want this specific address 0x9000 ? can it be 0x4000 ? or 0x5000 ? or 0x6888 ? is this 0x9000 located in hardware registers ? some memory regions are not accessible directly for allocation, because they are used for communication with hardware SoC, and so they are used by kernel drivers or directly by kernel kernel driver may or may not expose that memory region for user space, but this is driver work maybe you should ask on platform forum, you did not answer my question on what platform you are working On 06.07.2017 05:08, kipade wrote: > Here I want to allocate a block of shared memory from a given physical > address, such as 0x9000, 6M. However, alloc_pages can't fit this > point. I had reserved enugh pages via cmem, there also have enough > continous pages for such allocation anywhere else. What should I do? -- Best regards, Kamil Konieczny Samsung R&D Institute Poland ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: How to alloc_pages from a given physical memory?
In fact, I want to allocate a continous of pages from a given physical address for a shm object in shmem_file_setup, might i should write a customized shmem_file_setup2 for this? 在 2017年07月06日 17:30, Kamil Konieczny wrote: > > On 06.07.2017 11:04, kipade wrote: >> I use arm 32bit cpu, with kernel 3.14 > banana-pi ? nano-pi ? orange-pi ? odroid ? > > Is it memory region for system registers ? > >>> On 06.07.2017 05:08, kipade wrote: Here I want to allocate a block of shared memory from a given physical address, such as 0x9000, 6M. However, alloc_pages can't fit this point. I had reserved enugh pages via cmem, there also have enough continous pages for such allocation anywhere else. What should I do? ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: How to alloc_pages from a given physical memory?
cortex A15, omap5 platform 在 2017年07月06日 17:30, Kamil Konieczny wrote: > > On 06.07.2017 11:04, kipade wrote: >> I use arm 32bit cpu, with kernel 3.14 > banana-pi ? nano-pi ? orange-pi ? odroid ? > > Is it memory region for system registers ? > >>> On 06.07.2017 05:08, kipade wrote: Here I want to allocate a block of shared memory from a given physical address, such as 0x9000, 6M. However, alloc_pages can't fit this point. I had reserved enugh pages via cmem, there also have enough continous pages for such allocation anywhere else. What should I do? ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: How to alloc_pages from a given physical memory?
On 06.07.2017 11:04, kipade wrote: > I use arm 32bit cpu, with kernel 3.14 banana-pi ? nano-pi ? orange-pi ? odroid ? Is it memory region for system registers ? >> On 06.07.2017 05:08, kipade wrote: >>> Here I want to allocate a block of shared memory from a given physical >>> address, such as 0x9000, 6M. However, alloc_pages can't fit this >>> point. I had reserved enugh pages via cmem, there also have enough >>> continous pages for such allocation anywhere else. What should I do? -- Best regards, Kamil Konieczny Samsung R&D Institute Poland ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: How to alloc_pages from a given physical memory?
I use arm 32bit cpu, with kernel 3.14 在 2017年07月06日 16:53, Kamil Konieczny wrote: > > On 06.07.2017 05:08, kipade wrote: >> Here I want to allocate a block of shared memory from a given physical >> address, such as 0x9000, 6M. However, alloc_pages can't fit this >> point. I had reserved enugh pages via cmem, there also have enough >> continous pages for such allocation anywhere else. What should I do? > On what platform are you working ? > > I think this is platfrom depended. > ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: How to alloc_pages from a given physical memory?
On 06.07.2017 05:08, kipade wrote: > Here I want to allocate a block of shared memory from a given physical > address, such as 0x9000, 6M. However, alloc_pages can't fit this > point. I had reserved enugh pages via cmem, there also have enough > continous pages for such allocation anywhere else. What should I do? On what platform are you working ? I think this is platfrom depended. -- Best regards, Kamil Konieczny Samsung R&D Institute Poland ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies