public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Przemyslaw Marczak <p.marczak@samsung.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v4 1/2] arm:goni: Update configuration for goni target
Date: Tue, 15 Oct 2013 21:04:38 +0200	[thread overview]
Message-ID: <525D91C6.9040009@samsung.com> (raw)
In-Reply-To: <1381769774-10975-1-git-send-email-m.zalega@samsung.com>

On 10/14/2013 06:56 PM, Mateusz Zalega wrote:
> From: Arkadiusz Wlodarczyk <a.wlodarczyk@samsung.com>
>
> Configuration file for GONI has been updated to support FAT file system,
> new mmc partitioning scheme and read linux kernel from eMMC instead of
> OneNAND.
>
> Signed-off-by: Arkadiusz Wlodarczyk <a.wlodarczyk@samsung.com>
> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
> Signed-off-by: Mateusz Zalega <m.zalega@samsung.com>
> Tested-by: Arkadiusz Wlodarczyk <a.wlodarczyk@samsung.com>
> Tested-by: Mateusz Zalega <m.zalega@gmail.com>
> Cc: Minkyu Kang <mk7.kang@samsung.com>
> ---
> Changes since v3:
> - added CMD_EXT4
> - made it conform with current, recently accepted USB patches
> ---
>   include/configs/s5p_goni.h | 18 ++++++++++++++----
>   1 file changed, 14 insertions(+), 4 deletions(-)
>
> diff --git a/include/configs/s5p_goni.h b/include/configs/s5p_goni.h
> index c303244..fd441c8 100644
> --- a/include/configs/s5p_goni.h
> +++ b/include/configs/s5p_goni.h
> @@ -94,7 +94,7 @@
>
>   #define NORMAL_MTDPARTS_DEFAULT MTDPARTS_DEFAULT
>
> -#define CONFIG_BOOTCOMMAND	"run ubifsboot"
> +#define CONFIG_BOOTCOMMAND	"run mmcboot"
>
>   #define CONFIG_DEFAULT_CONSOLE	"console=ttySAC2,115200n8\0"
>
> @@ -124,7 +124,7 @@
>   		"onenand erase 0x01560000 0x1eaa0000;" \
>   		"onenand write 0x32000000 0x1260000 0x8C0000\0" \
>   	"bootk=" \
> -		"onenand read 0x30007FC0 0xc00000 0x600000;" \
> +		"run loaduimage;" \
>   		"bootm 0x30007FC0\0" \
>   	"flashboot=" \
>   		"set bootargs root=/dev/mtdblock${bootblock} " \
> @@ -143,16 +143,21 @@
>   		"set bootargs " CONFIG_RAMDISK_BOOT \
>   		" initrd=0x33000000,8M ramdisk=8192\0" \
>   	"mmcboot=" \
> -		"set bootargs root=${mmcblk} rootfstype=${rootfstype}" \
> +		"set bootargs root=/dev/mmcblk${mmcdev}p${mmcrootpart} " \
> +		"rootfstype=${rootfstype}" \
>   		CONFIG_UBI_MTD " ${opts} ${lcdinfo} " \
>   		CONFIG_COMMON_BOOT "; run bootk\0" \
>   	"boottrace=setenv opts initcall_debug; run bootcmd\0" \
>   	"bootchart=set opts init=/sbin/bootchartd; run bootcmd\0" \
>   	"verify=n\0" \
> -	"rootfstype=cramfs\0" \
> +	"rootfstype=ext4\0" \
>   	"console=" CONFIG_DEFAULT_CONSOLE \
>   	"mtdparts=" MTDPARTS_DEFAULT \
>   	"meminfo=mem=80M mem=256M at 0x40000000 mem=128M at 0x50000000\0" \
> +	"loaduimage=fatload mmc ${mmcdev}:${mmcbootpart} 0x30007FC0 uImage\0" \
> +	"mmcdev=0\0" \
> +	"mmcbootpart=2\0" \
> +	"mmcrootpart=5\0" \
>   	"mmcblk=/dev/mmcblk1p1\0" \

"mmcblk" - is it used anywhere?

>   	"bootblock=9\0" \
>   	"ubiblock=8\0" \
> @@ -198,6 +203,11 @@
>
>   #define CONFIG_DOS_PARTITION		1
>
> +/* FAT */
> +#define CONFIG_CMD_FAT
> +#define CONFIG_CMD_EXT4
> +#define CONFIG_FAT_WRITE
> +

There is also separate write config for ext4.

>   #define CONFIG_SYS_INIT_SP_ADDR	(CONFIG_SYS_LOAD_ADDR - 0x1000000)
>
>   #define CONFIG_SYS_CACHELINE_SIZE       64
>


-- 
Przemyslaw Marczak
Samsung R&D Institute Poland
Samsung Electronics
p.marczak at samsung.com

      parent reply	other threads:[~2013-10-15 19:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-14 16:56 [U-Boot] [PATCH v4 1/2] arm:goni: Update configuration for goni target Mateusz Zalega
2013-10-14 16:56 ` [U-Boot] [PATCH v4 2/2] arm:goni:dfu Add support for DFU at GONI target Mateusz Zalega
2013-10-15 19:23   ` Przemyslaw Marczak
2013-10-15 19:04 ` Przemyslaw Marczak [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=525D91C6.9040009@samsung.com \
    --to=p.marczak@samsung.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox