Does fixmap pages for fdt require 4MB memory?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello all,

 

I’m porting linux on an FPGA board which has only 8MB SRAM in place of DDR address range for now. (using linux-5.4.21)

So this means, seen from software, the DDR memory exists only for 0x80000000 ~ 0x807fffff.

I loaded kernel image (Image) at 0x80080000 and it takes space to 0x8061d008. For there is so scare space, I loaded the dtb at 0x807fd000.

Now the kernel stops during setup_machine_fdt in setup_arch. I guess maybe it’s because the kernel could not setup fixmap for fdt.

(I recently learned the kernel uses fixmap for the fdt and it requires 4MB separate pages)

I just started to look into early_fixmap_init function but can anyone tell me if this can be the real problem?

Isn’t it possible to use 8MB memory to run linux? (I’m doing this before the board is fully ready)

 

Thank you!

Chan Kim

 

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]

  Powered by Linux