HI,
why don't you use boot.scr.

add below content in boot.cmd and create boot.scr using *mkimage -C none -A
arm -T script -d boot.cmd boot.scr*

setenv bootargs console=ttyS0 root=/dev/mmcblk0p2 rw rootwait panic=10
ext2load mmc 0 0x43000000 boot/script.bin
ext2load mmc 0 0x48000000 boot/uImage
bootm 0x48000000

It works.

On Fri, Jan 2, 2015 at 11:02 PM, Gerardo Di Iorio <[email protected]> wrote:

> hi,
> the problem is that not find
> the command for load script.bin with extlionux.conf
> this is my extlinux.conf
> http://sprunge.us/iRBG
> i have this error
> Ignoring unknown command:         fatload
> Ignoring unknown command: append
>
>
> 2015-01-01 13:25 GMT+01:00 Hans de Goede <[email protected]>:
>
>> Hi,
>>
>> On 31-12-14 18:16, Gerardo Di Iorio wrote:
>>
>>> hi,
>>>
>>> 2014-11-15 17:22 GMT+01:00 Iain Paton <[email protected]>:
>>>
>>>  On 15/11/14 13:18, Vishnu Patekar wrote:
>>>>
>>>>  Followed the steps mentioned at
>>>>>
>>>> http://linux-sunxi.org/Mainline_Kernel_Howto
>>>>
>>>>> I've enabled the DEBUG_LL, DEBUG_SUNXI_UART0 , still While booting it
>>>>> on
>>>>>
>>>> Olimex
>>>>
>>>>> A20-OLinuXino-Lime2 <http://linux-sunxi.org/Olimex_A20-OLinuXino-Lime2
>>>>> >
>>>>>
>>>> does
>>>>
>>>>> not go beyond "starting kernel..."
>>>>>
>>>>
>> If you want to use mainline u-boot with sunxi kernels (rather then the
>> mainline kernel) you need to enable the old kernel compatibility in
>> u-boot's .config and spl/.config as outlined in the thread titled:
>>
>> "linux-sunxi/u-boot-sunxi is no longer supported, time to switch to
>> upstream u-boot"
>>
>> And specifically this bit from the mail starting that thread:
>>
>> ###
>>
>> 2. How to build upstream u-boot for use with linux-sunxi sunxi-3.4 kernels
>> ============================================================
>> ==============
>>
>> Here are some example instructions on how to build upstream u-boot for
>> the Cubietruck:
>>
>> git clone git://git.denx.de/u-boot.git
>> cd u-boot
>> make -j4 CROSS_COMPILE=arm-linux-gnu- Cubietruck_defconfig
>> # If you want to use an upstream kernel the next steps can be skipped (*)
>> make -j4 CROSS_COMPILE=arm-linux-gnu- menuconfig
>> #  select "ARM architecture" -> "Enable workarounds for booting old
>> kernels"
>> #  exit & save
>> make -j4 CROSS_COMPILE=arm-linux-gnu- spl/menuconfig
>> #  select "ARM architecture" -> "Enable workarounds for booting old
>> kernels"
>> #  exit & save
>> # skip to here if you're using an upstream kernel
>> make -j4 CROSS_COMPILE=arm-linux-gnu-
>>
>> And now you will have a u-boot-sunxi-with-spl.bin to dd to your sdcard as
>> usual.
>>
>> If you look in the upstream configs directory you will already find
>> defconfig files for a lot of popular boards there, replace
>> Cubietruck_defconfig with the one for your board to build u-boot for your
>> board.
>>
>> ###
>>
>> Regards,
>>
>> Hans
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "linux-sunxi" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "linux-sunxi" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to