Ник:
Пароль:

Контакты

E-mail: info@starterkit.ru
тел.: +7 922 680-21-73
тел.: +7 922 680-21-74
Телеграм: t.me/starterkit_ru
Партнеры:
otladka.com.ua - г.Киев

Способы оплаты

User Info


Добро пожаловать,
Guest

Регистрация или входРегистрация или вход
Потеряли пароль?Потеряли пароль?

Ник:
Пароль:

ПользователейПользователей:2
Поисковых ботовПоисковых ботов:3
ГостейГостей:1

ОбновитьПодробнееВсегоВсего:6
Форум » starterkit.ru » ARM
imx233 sd card boot linux uncompress problem
itmicro
Добавлено 21.10.2010 15:49 Сообщение: 11
itmicro
0

Пункты: 2274
Регистрация: 20.10.2010
Hello.

Thank you very much your great support. Where can I get your stable linux tree and configuration ?

I am using LTIB to build imx23EVK Linux BSP. How can your linux tree easly integrate into LTIB. Or should I compile using make inside linux tree ? What kind of development enviroment you are using. LTIB or anything else ? Thanks,


Цитата
Цитата

I have good news. I just checked all critical solders on the baord and it worked. I passed the memory check.


great news :-)

Цитата

May i know login and password for linux.sb ?


superuser root without a password

Цитата

Warning: unable to open an initial console.


No devices /dev/console found - it is not critical

Цитата

Kernel panic - not syncing: No init found. Try passing init= option to kernel.


my kernel is compiled with built-in root file system in the initramfs, the filesystem on the disk is either absent or not properly assembled
Спуститься к концу Подняться к началу
Персональная информация
sasamy
Добавлено 21.10.2010 16:22 Сообщение: 12
sasamy
4.70

Пункты: 77090
Регистрация: 14.08.2009
Цитата

Where can I get your stable linux tree and configuration ?


Our board has some differences from the original EVK - so we use the kernel freescale of the BSP but with some patches, you can find it here
http://sasamy.narod.ru/sk_mxs.patch

Цитата

What kind of development enviroment you are using. LTIB or anything else ?


To build the root file system I'm using buildroot
http://www.buildroot.org/
or openembedded
http://www.openembedded.org
Спуститься к концу Подняться к началу
Персональная информация
itmicro
Добавлено 21.10.2010 16:54 Сообщение: 13
itmicro
0

Пункты: 2274
Регистрация: 20.10.2010
I got it. Ok my friend. What about bootlets ? If you are not using LTIB, how can you get linux.sb file ? Would you explain briefly please ? Thanks.


Цитата
Цитата

Where can I get your stable linux tree and configuration ?


Our board has some differences from the original EVK - so we use the kernel freescale of the BSP but with some patches, you can find it here
http://sasamy.narod.ru/sk_mxs.patch

Цитата

What kind of development enviroment you are using. LTIB or anything else ?


To build the root file system I'm using buildroot
http://www.buildroot.org/
or openembedded
http://www.openembedded.org
Спуститься к концу Подняться к началу
Персональная информация
sasamy
Добавлено 21.10.2010 17:12 Редактировалось 21.10.2010 17:26 Сообщение: 14
sasamy
4.70

Пункты: 77090
Регистрация: 14.08.2009
Unpack the archive
http://sasamy.narod.ru/make_boot.tar.gz
to the root of the kernel source, edit make_kernel (required prefix = arm-unknown-linux-gnueabi- change for you toolchain ) and do
./make_kernel

.config_mmc and .config_nand - this is the configuration file for our board with the patch, it can not work on your board
Спуститься к концу Подняться к началу
Персональная информация
sasamy
Добавлено 21.10.2010 18:01 Редактировалось 21.10.2010 18:03 Сообщение: 15
sasamy
4.70

Пункты: 77090
Регистрация: 14.08.2009
simple way to integrate your own kernel in ltib - after changing the set location to your kernel source code directly

kernel (Linux 2.6.31-imx) ---> [*] Local Linux directory build
and in
(/usr/src/linux) Enter your Linux source directory (NEW)
specify the location of the source code
Спуститься к концу Подняться к началу
Персональная информация
itmicro
Добавлено 21.10.2010 18:22 Сообщение: 16
itmicro
0

Пункты: 2274
Регистрация: 20.10.2010
hi,

May I have your config files for mmc and nand to take a reference. How can I introduce your config file to LTIB as default config ? Thanks,



Цитата
simple way to integrate your own kernel in ltib - after changing the set location to your kernel source code directly

kernel (Linux 2.6.31-imx) ---> [*] Local Linux directory build
and in
(/usr/src/linux) Enter your Linux source directory (NEW)
specify the location of the source code
Спуститься к концу Подняться к началу
Персональная информация
sasamy
Добавлено 21.10.2010 19:51 Редактировалось 21.10.2010 19:55 Сообщение: 17
sasamy
4.70

Пункты: 77090
Регистрация: 14.08.2009
Hi. You wrote:
Цитата

I reload my own binary as imx233_linux.sb. There is a kernel panic as below :
.....
Waiting for root device /dev/mmcblk0p2...
mmc0: new high speed SD card at address 1234
mmcblk0: mmc0:1234 SA02G 1.83 GiB
mmcblk0: p1 p2
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem) on device 179:2.
Freeing init memory: 136K


This means that you board is the same as the i.MX23 Evaluation Kit - you do not fit our patches and kernel configuration file directly. Good start for you - the documentation for the evk-board and the original kernel in ltib.
http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=IMX23EVK&fpsp=1&tab=Documentation_Tab

My linux.sb with initramfs only for debugging - it is disabled mmc/sd, ethernet and I do not use ltib, root file system is collected in buildroot
Спуститься к концу Подняться к началу
Персональная информация
itmicro
Добавлено 22.10.2010 02:02 Сообщение: 18
itmicro
0

Пункты: 2274
Регистрация: 20.10.2010
Hi,

I tried to boot my device with rootfs.ext2 which is given by freescale documents. I get output below;


stmp3xxx-spdif stmp3xxx-spdif: STMP3XXX SPDIF Audio Transmitter 0.1
No device for codec stmp3xxx spdif
No device for DAI stmp3xxx spdif
No device for DAI stmp3xxx adc/dac
No device for DAI stmp3xxx spdif
asoc: stmp378x adc/dac <-> stmp3xxx adc/dac mapping ok
asoc: stmp3xxx spdif <-> stmp3xxx spdif mapping ok
stmp3xxx_request_pin: CONFLICT DETECTED pin 2:7 caller spdif owner stmp3xxx-rotdec
ALSA device list:
#0: STMP3780 Devb (stmp378x adc/dac)
#1: STMP3780 Devb (stmp3xxx spdif)
TCP cubic registered
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
stmp3xxx-rtc stmp3xxx-rtc: setting system clock to 1970-01-01 00:00:04 UTC (4)
Waiting for root device /dev/mmcblk0p2...

It waits forever at last step above (Waiting for root device /dev/mmcblk0p2...)
What is wrong with root device ? My board is already booting up on SD CARD. what may be a problem with rootfs.ext2 ? Thanks,



Цитата
Hi. You wrote:
Цитата

I reload my own binary as imx233_linux.sb. There is a kernel panic as below :
.....
Waiting for root device /dev/mmcblk0p2...
mmc0: new high speed SD card at address 1234
mmcblk0: mmc0:1234 SA02G 1.83 GiB
mmcblk0: p1 p2
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem) on device 179:2.
Freeing init memory: 136K


This means that you board is the same as the i.MX23 Evaluation Kit - you do not fit our patches and kernel configuration file directly. Good start for you - the documentation for the evk-board and the original kernel in ltib.
http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=IMX23EVK&fpsp=1&tab=Documentation_Tab

My linux.sb with initramfs only for debugging - it is disabled mmc/sd, ethernet and I do not use ltib, root file system is collected in buildroot
Спуститься к концу Подняться к началу
Персональная информация
itmicro
Добавлено 22.10.2010 10:02 Сообщение: 19
itmicro
0

Пункты: 2274
Регистрация: 20.10.2010
Hi,

Actually, my board and your board are quite similar except a few smal diffrences. Main diffrence is that I am using SSP1 for MMC and I choosed MMC booting option. So I will use ext2 file system as root file system.

I downloaded your kernel from your web site. I examined a little bit. It seems ok for me. Only I need an mmc_config for your kernel which is tailored according to mmc boot from ssp1 and ext2 filesystem which resides in mmcblkop2 in mmc. Other options could be the same. I also want to try SSD1963 LCD and KS8851 with my board. So related options could be the same with your board. No problem.

Thanks,

Цитата
Hi,

I tried to boot my device with rootfs.ext2 which is given by freescale documents. I get output below;


stmp3xxx-spdif stmp3xxx-spdif: STMP3XXX SPDIF Audio Transmitter 0.1
No device for codec stmp3xxx spdif
No device for DAI stmp3xxx spdif
No device for DAI stmp3xxx adc/dac
No device for DAI stmp3xxx spdif
asoc: stmp378x adc/dac <-> stmp3xxx adc/dac mapping ok
asoc: stmp3xxx spdif <-> stmp3xxx spdif mapping ok
stmp3xxx_request_pin: CONFLICT DETECTED pin 2:7 caller spdif owner stmp3xxx-rotdec
ALSA device list:
#0: STMP3780 Devb (stmp378x adc/dac)
#1: STMP3780 Devb (stmp3xxx spdif)
TCP cubic registered
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
stmp3xxx-rtc stmp3xxx-rtc: setting system clock to 1970-01-01 00:00:04 UTC (4)
Waiting for root device /dev/mmcblk0p2...

It waits forever at last step above (Waiting for root device /dev/mmcblk0p2...)
What is wrong with root device ? My board is already booting up on SD CARD. what may be a problem with rootfs.ext2 ? Thanks,



Цитата
Hi. You wrote:
Цитата

I reload my own binary as imx233_linux.sb. There is a kernel panic as below :
.....
Waiting for root device /dev/mmcblk0p2...
mmc0: new high speed SD card at address 1234
mmcblk0: mmc0:1234 SA02G 1.83 GiB
mmcblk0: p1 p2
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem) on device 179:2.
Freeing init memory: 136K


This means that you board is the same as the i.MX23 Evaluation Kit - you do not fit our patches and kernel configuration file directly. Good start for you - the documentation for the evk-board and the original kernel in ltib.
http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=IMX23EVK&fpsp=1&tab=Documentation_Tab

My linux.sb with initramfs only for debugging - it is disabled mmc/sd, ethernet and I do not use ltib, root file system is collected in buildroot
Спуститься к концу Подняться к началу
Персональная информация
itmicro
Добавлено 22.10.2010 13:10 Сообщение: 20
itmicro
0

Пункты: 2274
Регистрация: 20.10.2010
Hello,

As I mentioned below, if you give me a mmc_config fie inculing SSP1 MMC boot and ext2 rootfs support in for mmcblkop2 . it really could help me to get further steps. Thanks.


Цитата
Hi,

Actually, my board and your board are quite similar except a few smal diffrences. Main diffrence is that I am using SSP1 for MMC and I choosed MMC booting option. So I will use ext2 file system as root file system.

I downloaded your kernel from your web site. I examined a little bit. It seems ok for me. Only I need an mmc_config for your kernel which is tailored according to mmc boot from ssp1 and ext2 filesystem which resides in mmcblkop2 in mmc. Other options could be the same. I also want to try SSD1963 LCD and KS8851 with my board. So related options could be the same with your board. No problem.

Thanks,

Цитата
Hi,

I tried to boot my device with rootfs.ext2 which is given by freescale documents. I get output below;


stmp3xxx-spdif stmp3xxx-spdif: STMP3XXX SPDIF Audio Transmitter 0.1
No device for codec stmp3xxx spdif
No device for DAI stmp3xxx spdif
No device for DAI stmp3xxx adc/dac
No device for DAI stmp3xxx spdif
asoc: stmp378x adc/dac <-> stmp3xxx adc/dac mapping ok
asoc: stmp3xxx spdif <-> stmp3xxx spdif mapping ok
stmp3xxx_request_pin: CONFLICT DETECTED pin 2:7 caller spdif owner stmp3xxx-rotdec
ALSA device list:
#0: STMP3780 Devb (stmp378x adc/dac)
#1: STMP3780 Devb (stmp3xxx spdif)
TCP cubic registered
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
stmp3xxx-rtc stmp3xxx-rtc: setting system clock to 1970-01-01 00:00:04 UTC (4)
Waiting for root device /dev/mmcblk0p2...

It waits forever at last step above (Waiting for root device /dev/mmcblk0p2...)
What is wrong with root device ? My board is already booting up on SD CARD. what may be a problem with rootfs.ext2 ? Thanks,



Цитата
Hi. You wrote:
Цитата

I reload my own binary as imx233_linux.sb. There is a kernel panic as below :
.....
Waiting for root device /dev/mmcblk0p2...
mmc0: new high speed SD card at address 1234
mmcblk0: mmc0:1234 SA02G 1.83 GiB
mmcblk0: p1 p2
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem) on device 179:2.
Freeing init memory: 136K


This means that you board is the same as the i.MX23 Evaluation Kit - you do not fit our patches and kernel configuration file directly. Good start for you - the documentation for the evk-board and the original kernel in ltib.
http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=IMX23EVK&fpsp=1&tab=Documentation_Tab

My linux.sb with initramfs only for debugging - it is disabled mmc/sd, ethernet and I do not use ltib, root file system is collected in buildroot
Спуститься к концу Подняться к началу
Персональная информация
Форум » starterkit.ru » ARM