LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-27-2019, 04:39 AM   #1
jkeertir
Member
 
Registered: Mar 2008
Posts: 75

Rep: Reputation: 15
NAND partition


Hi,

I configured linux kernel to create partition on nand flash.
CONFIG_MTD=y
CONFIG_MTD_TESTS=m
CONFIG_MTD_CMDLINE_PARTS=y
CONFIG_MTD_AFS_PARTS=y
CONFIG_MTD_OF_PARTS=y
CONFIG_MTD_AR7_PARTS=y
CONFIG_MTD_BLKDEVS=y
CONFIG_MTD_BLOCK=y
CONFIG_MTD_MAP_BANK_WIDTH_1=y
CONFIG_MTD_MAP_BANK_WIDTH_2=y
CONFIG_MTD_MAP_BANK_WIDTH_4=y
CONFIG_MTD_CFI_I1=y
CONFIG_MTD_CFI_I2=y
CONFIG_MTD_M25P80=y
CONFIG_MTD_NAND_ECC=y
CONFIG_MTD_NAND=y
CONFIG_MTD_NAND_BCH=y
CONFIG_MTD_NAND_ECC_BCH=y
CONFIG_MTD_NAND_DENALI=y
CONFIG_MTD_NAND_DENALI_DT=y
CONFIG_MTD_NAND_OMAP2=y
CONFIG_MTD_NAND_IDS=y
CONFIG_MTD_NAND_CAFE=y
CONFIG_MTD_NAND_BRCMNAND=y
CONFIG_MTD_NAND_PLATFORM=y
CONFIG_MTD_NAND_HISI504=y
CONFIG_MTD_NAND_MTK=y
CONFIG_MTD_SPI_NOR=y
CONFIG_MTD_UBI=y
CONFIG_MTD_UBI_WL_THRESHOLD=4096
CONFIG_MTD_UBI_BEB_LIMIT=20
CONFIG_OMAP_GPMC=y

but cannot see the following partitions


[ 1.525197] 0x000000000000-0x000000020000 : "NAND.SPL"
[ 1.532213] 0x000000020000-0x000000040000 : "NAND.SPL.backup1"
[ 1.539446] 0x000000040000-0x000000060000 : "NAND.SPL.backup2"
[ 1.546619] 0x000000060000-0x000000080000 : "NAND.SPL.backup3"
[ 1.553698] 0x000000080000-0x0000000c0000 : "NAND.u-boot-spl-os"
[ 1.561118] 0x0000000c0000-0x0000001c0000 : "NAND.u-boot"
[ 1.568302] 0x0000001c0000-0x0000001e0000 : "NAND.u-boot-env"
[ 1.575411] 0x0000001e0000-0x000000200000 : "NAND.u-boot-env.backup1"
[ 1.583129] 0x000000200000-0x000000a00000 : "NAND.kernel"
[ 1.593577] 0x000000a00000-0x000010000000 : "NAND.file-system"
 
Old 11-28-2019, 08:35 AM   #2
bhaslinux
Member
 
Registered: Oct 2003
Location: UnitedKingdom
Distribution: Debian Bullseye
Posts: 357

Rep: Reputation: 49
I think there is a confusion here between partition map and partition table.
https://bootlin.com/blog/managing-fl...ge-with-linux/
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Read and write to the environment partition of NAND U-Boot. tan.n.vuong@gmail.com Linux - Kernel 0 10-11-2012 11:24 AM
LXer: Moving toward NAND and NOR convergence LXer Syndicated Linux News 0 08-30-2006 10:54 PM
REG. Large page NAND Flash(2112 bytes) chandu123 Programming 1 05-03-2006 11:09 PM
nand flash: need help jier Programming 0 05-03-2006 11:05 PM
Large page NAND Flash support chandu123 Linux User Groups (LUG) 3 09-24-2005 12:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration