To anyone concerned
Hello,
I'm using TMDSSK3358 board and trying to boot up Linux Kernel through USB port or ethernet only.
That means I have to put the rootfs on memory, using a ramdisk or the zImage.
I have two questions here, and first let me show what I tried.
Now I have the SDK ver.7.3. I tryed to follow the explanation on the URL shown below.(6.1.15. Program the eMMC on Beaglebone Black)
downloads.ti.com/.../Program_the_eMMC_on_Beaglebone_Black.html
But, it seems out of date and not matches my usecase exactly.
For example, there is no file named arago-tiny-image-am335x-evm.tar.xz in <Processor-SDK>/filesystem,
so I have to use tisdk-tiny-image-am335x-evm.tar.xz as the rootfs.
As setting menuconfig, though the html's image was different with that the SDK showed, I just tryed enable the Items mentioned.
Then I made zImage using the following command.
make ARCH=arm CROSS_COMPILE=<mypath>/arm-none-linux-gnueabihf- zImage.
I inputted an empty SD card into TMDSSK3358, connected the host with USB and ethernet, then switched the board on.
When u-boot is loaded, I stopped autoboot and typed the following script to start kernel.
=> run findfdt
=> run init_console
=> dhcp
=> run netloadfdt
=> setenv bootargs console=ttyO0,115200
=> bootz ${loadaddr} - ${fdtaddr}
The result is that the kernel was not started correctly.
The following is the console message.
-----------------------------------------------------------------------
=> bootz ${loadaddr} - ${fdtaddr}
## Flattened Device Tree blob at 88000000
Booting using the fdt blob at 0x88000000
Loading Device Tree to 8df22000, end 8df34d95 ... OK
Starting kernel ...
-----------------------------------------------------------------------
My first question is:
How can I do the same thing with what 6.1.15 said using a TMDSSK3358 board and the SDK ver.7.3 ?
My second question is:
If I want to start linux kernel with ramdisk (commands showed below),
what should I do with TMDSSK3358 board and the SDK ver.7.3?
Commands:
=> run findfdt
=> run init_console
=> dhcp
=> run netloadfdt
=> tftp ${rdaddr} ramdisk.gz
=> run ramargs
=> bootz ${loadaddr} ${rdaddr} ${fdtaddr}