Manually set MTD NAND oob (NAND oob geometry problem)
When mounting yaffs dmesg outputs:
yaffs: NAND geometry problems: chunk size 512, type is yaffs, inband_tags 1
Reading I found some useful clues:
This is caused by yaffs1 can not work with inband_tags flags.
Yaffs will select Yaffs1 for deives with 512 byte writing size.
Moreover, it will enable inband_tags automatically for devices with
small oob.
However, Yaffs1 can not work with inband_tags.
So move the oob size checking before auto selecting Yaffs1.
and
Yaffs is autoselecting yaffs1 because it thinks the devicen page size is too
small and that you are not using inband tags.
I believe I should look for where mtd_info is being set in the nand driver and change the oob; but, I'm not sure.
edit:
here is my terminal output:
/etc/rc.d # mount -t yaffs /dev/mtdblock4 /usr/local/
yaffs: dev is 32505860 name is "mtdblock4" rw
yaffs: passed flags ""
mount: Mounting /dev/mtdblock4 on /usr/local/ failed: Invalid argument
/etc/rc.d #
/etc/rc.d # dmesg -c
yaffs: dev is 32505860 name is "mtdblock4" rw
yaffs: passed flags ""
yaffs: yaffs: Attempting MTD mount of 31.4,"mtdblock4"
yaffs: NAND geometry problems: chunk size 512, type is yaffs, inband_tags 1
filesystems mount linux-kernel block-device
add a comment |
When mounting yaffs dmesg outputs:
yaffs: NAND geometry problems: chunk size 512, type is yaffs, inband_tags 1
Reading I found some useful clues:
This is caused by yaffs1 can not work with inband_tags flags.
Yaffs will select Yaffs1 for deives with 512 byte writing size.
Moreover, it will enable inband_tags automatically for devices with
small oob.
However, Yaffs1 can not work with inband_tags.
So move the oob size checking before auto selecting Yaffs1.
and
Yaffs is autoselecting yaffs1 because it thinks the devicen page size is too
small and that you are not using inband tags.
I believe I should look for where mtd_info is being set in the nand driver and change the oob; but, I'm not sure.
edit:
here is my terminal output:
/etc/rc.d # mount -t yaffs /dev/mtdblock4 /usr/local/
yaffs: dev is 32505860 name is "mtdblock4" rw
yaffs: passed flags ""
mount: Mounting /dev/mtdblock4 on /usr/local/ failed: Invalid argument
/etc/rc.d #
/etc/rc.d # dmesg -c
yaffs: dev is 32505860 name is "mtdblock4" rw
yaffs: passed flags ""
yaffs: yaffs: Attempting MTD mount of 31.4,"mtdblock4"
yaffs: NAND geometry problems: chunk size 512, type is yaffs, inband_tags 1
filesystems mount linux-kernel block-device
add a comment |
When mounting yaffs dmesg outputs:
yaffs: NAND geometry problems: chunk size 512, type is yaffs, inband_tags 1
Reading I found some useful clues:
This is caused by yaffs1 can not work with inband_tags flags.
Yaffs will select Yaffs1 for deives with 512 byte writing size.
Moreover, it will enable inband_tags automatically for devices with
small oob.
However, Yaffs1 can not work with inband_tags.
So move the oob size checking before auto selecting Yaffs1.
and
Yaffs is autoselecting yaffs1 because it thinks the devicen page size is too
small and that you are not using inband tags.
I believe I should look for where mtd_info is being set in the nand driver and change the oob; but, I'm not sure.
edit:
here is my terminal output:
/etc/rc.d # mount -t yaffs /dev/mtdblock4 /usr/local/
yaffs: dev is 32505860 name is "mtdblock4" rw
yaffs: passed flags ""
mount: Mounting /dev/mtdblock4 on /usr/local/ failed: Invalid argument
/etc/rc.d #
/etc/rc.d # dmesg -c
yaffs: dev is 32505860 name is "mtdblock4" rw
yaffs: passed flags ""
yaffs: yaffs: Attempting MTD mount of 31.4,"mtdblock4"
yaffs: NAND geometry problems: chunk size 512, type is yaffs, inband_tags 1
filesystems mount linux-kernel block-device
When mounting yaffs dmesg outputs:
yaffs: NAND geometry problems: chunk size 512, type is yaffs, inband_tags 1
Reading I found some useful clues:
This is caused by yaffs1 can not work with inband_tags flags.
Yaffs will select Yaffs1 for deives with 512 byte writing size.
Moreover, it will enable inband_tags automatically for devices with
small oob.
However, Yaffs1 can not work with inband_tags.
So move the oob size checking before auto selecting Yaffs1.
and
Yaffs is autoselecting yaffs1 because it thinks the devicen page size is too
small and that you are not using inband tags.
I believe I should look for where mtd_info is being set in the nand driver and change the oob; but, I'm not sure.
edit:
here is my terminal output:
/etc/rc.d # mount -t yaffs /dev/mtdblock4 /usr/local/
yaffs: dev is 32505860 name is "mtdblock4" rw
yaffs: passed flags ""
mount: Mounting /dev/mtdblock4 on /usr/local/ failed: Invalid argument
/etc/rc.d #
/etc/rc.d # dmesg -c
yaffs: dev is 32505860 name is "mtdblock4" rw
yaffs: passed flags ""
yaffs: yaffs: Attempting MTD mount of 31.4,"mtdblock4"
yaffs: NAND geometry problems: chunk size 512, type is yaffs, inband_tags 1
filesystems mount linux-kernel block-device
filesystems mount linux-kernel block-device
edited 52 mins ago
Luke
asked 1 hour ago
LukeLuke
135
135
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f501728%2fmanually-set-mtd-nand-oob-nand-oob-geometry-problem%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f501728%2fmanually-set-mtd-nand-oob-nand-oob-geometry-problem%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown