29 Sep, 2018
2 commits
-
cmd_ubifs_mount() function would be called directly instead of
involving whole command machinery for mounting ubifs in
generic firmware loader, so some checking codes need to be factored out
into cmd_ubifs_mount() without breaking original functionality design.Signed-off-by: Tien Fong Chee
Reviewed-by: Marek Vasut
Reviewed-by: Heiko Schocher -
cmd_ubifs_umount() function would be called directly instead of involving
whole command machinery in generic firmware loader, so checking on
ubifs_initialized status need to be done in cmd_ubifs_umount() without
breaking original functionality design.Signed-off-by: Tien Fong Chee
Reviewed-by: Marek Vasut
Reviewed-by: Heiko Schocher
[trini: Fix conflicting type error in cmd/ubi.c]
Signed-off-by: Tom Rini
27 Sep, 2016
1 commit
-
move the UBI config options into Kconfig.
Signed-off-by: Heiko Schocher
Reviewed-by: Simon Glass
Reviewed-by: Andrew F. Davis
Reviewed by: Evgeni Dobrev
24 Sep, 2016
1 commit
-
Now, arch/${ARCH}/include/asm/errno.h and include/linux/errno.h have
the same content. (both just wrap )Replace all include directives for with .
Signed-off-by: Masahiro Yamada
[trini: Fixup include/clk.]
Signed-off-by: Tom Rini
19 Nov, 2014
1 commit
-
The UBI layer will disable much of its error reporting when it is
compiled into the linux kernel to avoid stopping boot. We want this
error reporting in U-Boot since we don't initialize the UBI layer until
it is used and want the error reporting.We force this by telling the UBI layer we are building as a module.
Signed-off-by: Andrew Ruder
Cc: Wolfgang Denk
Cc: Heiko Schocher
Cc: Kyungmin Park
26 Aug, 2014
1 commit
-
- move linux specific defines from usb and video code
into linux/compat.h
- move common linux specific defines from include/ubi_uboot.h
to linux/compat.h
- add for new mtd/ubi/ubifs sync new needed linux specific
defines to linux/compat.hSigned-off-by: Heiko Schocher
Cc: Marek Vasut
Cc: Anatolij Gustschin
[trini: Add spin_lock_irqsave/spin_unlock_irqrestore dummies from
usb/lin_gadet_compat.h]
Signed-off-by: Tom Rini
12 Apr, 2013
1 commit
-
Part, Read, and Write functionality that will be used by env_ubi.
Signed-off-by: Joe Hershberger
28 Jul, 2011
1 commit
-
see discussion also here:
http://patchwork.ozlabs.org/patch/75309/Signed-off-by: Heiko Schocher
cc: Wolfgang Denk
cc: Holger Brunck
19 May, 2010
1 commit
-
"down_write_trylock" needs to return 1 instead of 0 for success.
Otherwise copying a block with a read error (e.g. bit-flip on read)
won't work correctly.Signed-off-by: Stefan Roese
05 Sep, 2009
1 commit
-
This is needed so that we could use this macro for non-UBI code.
Signed-off-by: Anton Vorontsov
21 Mar, 2009
1 commit
-
The U-Boot UBIFS implementation is largely a direct copy from the current
Linux version (2.6.29-rc6). As already done in the UBI version we have an
"abstraction layer" to redefine or remove some OS calls (e.g. mutex_lock()
...). This makes it possible to use the original Linux code with very
little changes. And by this we can better update to later Linux versions.I removed some of the Linux features that are not used in the U-Boot
version (e.g. garbage-collection, write support).Signed-off-by: Stefan Roese
CC: Artem Bityutskiy
CC: Adrian Hunter
16 Dec, 2008
1 commit
-
Signed-off-by: Wolfgang Denk
09 Dec, 2008
1 commit
-
With this patch now, the user can call "ubi part" multiple times to
re-connect the UBI device to another MTD partition.Signed-off-by: Stefan Roese
20 Nov, 2008
1 commit
-
This patch adds basic UBI (Unsorted Block Image) support to U-Boot.
It's based on the Linux UBI version and basically has a "OS"
translation wrapper that defines most Linux specific calls
(spin_lock() etc.) into no-ops. Some source code parts have been
uncommented by "#ifdef UBI_LINUX". This makes it easier to compare
this version with the Linux version and simplifies future UBI
ports/bug-fixes from the Linux version.Signed-off-by: Kyungmin Park
Signed-off-by: Stefan Roese